Heads up: Changes to %setup macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

There is an issue in the  behavior of the %setup macro. When combining
the -c and -b parameters the -b (drop file before changing into sub dir)
acts like -a (drop file after changing into sub dir). This is now fixed
in HEAD and will most likely be part of the next RPM release.

*Distributions are advised to look through their packages* for instances
that rely on this broken behavior (e.g. by using  something like grep
"%setup" */*.spec | grep -- -c | grep -- -b) and fix them (probably by
replacing the -b by -a).

We expect there to be very few packages being affected. For example we
found only 3 packages in the whole Fedora distribution.

See https://github.com/rpm-software-management/rpm/pull/21 for details.

Special thanks to Andreas Scherer for recognizing and fixing this.

Florian

-- 

Red Hat GmbH, http://www.de.redhat.com/ Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael
O'Neill, Charles Peters
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list



[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux