How to change the %{dist} to el5 from fc11 on fedora 11 without unpack SRPM?

Steve Traylen steve.traylen at cern.ch
Thu Mar 25 08:02:18 UTC 2010


On Thu, Mar 25, 2010 at 3:28 AM, Eric Zhong <ericiszhongwenjia at gmail.com> wrote:
> I import el5 RPMs/SRPMs to koji which be installed on fedora 11.
> Release name include "fc11" of my built packages.
> How can i change it to "el5" without  unpack the SRPM?

You can't , it is necessary  to
rpm -Uvh foobar-.fc11.rpm
rpmbuild-md5 --define 'dist .el5' -bs foobar.spec
and import that.
Steve

>
> --
> buildsys mailing list
> buildsys at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/buildsys
>



-- 
Steve Traylen


More information about the buildsys mailing list