Bug 515173 - -bb --short-circuit no longer works on rawhide
Summary: -bb --short-circuit no longer works on rawhide
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: shortrpm
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-03 05:54 UTC by Mamoru TASAKA
Modified: 2009-08-10 21:43 UTC (History)
1 user (show)

Fixed In Version: 1.2-1.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-04 13:51:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build log of rpmbuild -bb --short-circuit (2.37 KB, text/plain)
2009-08-03 05:54 UTC, Mamoru TASAKA
no flags Details

Description Mamoru TASAKA 2009-08-03 05:54:46 UTC
Created attachment 355955 [details]
build log of rpmbuild -bb --short-circuit

Description of problem:
After executing $ rpmbuild -bi ruby-RMagick.spec,
executing $ rpmbuild -bb --short-circuit ruby-RMagick no longer works
(see attached) on rawhide.

Version-Release number of selected component (if applicable):
rpm-4.7.1-2.fc11.i586
redhat-rpm-config-9.0.3-13.fc12.noarch
shortrpm-1.1-2.fc12.i686

How reproducible:
100% 

Steps to Reproduce:
1. Once execute $ rpmbuild -bi ruby-RMagick.spec
2. $ rpmbuild -bb --short-circuit ruby-RMagick.spec
3.
  
Actual results:
See attached

Expected results:
ruby-RMagick binary rpms are created.

Additional info:
I guess this is due to the change in redhat-rpm-config-9.0.3-10.fc12:
http://cvs.fedoraproject.org/viewvc/rpms/redhat-rpm-config/devel/redhat-rpm-config.spec?r1=1.65&r2=1.66
http://cvs.fedoraproject.org/viewvc/rpms/redhat-rpm-config/devel/redhat-rpm-config-9.0.3-always_delete_buildroot_at_install.patch?revision=1.1

i.e. On rawhide before %install section actually begins rpmbuild
     will always remove %buildroot, so installed files are always
     cleaned up.

Actually after $ rpmbuild -bi ruby-RMagick.spec,
$ rpmbuild -bb --short-circuit --define '__spec_install_pre %{___build_pre}' ruby-RMagick.spec
works on rawhide.

Comment 1 Lubomir Rintel 2009-08-03 06:23:02 UTC
Thanks for the report.

Just updated my Rawhide box at home today, will take at what can we do with this after $dayjob.

Comment 2 Lubomir Rintel 2009-08-04 13:51:36 UTC
Should be fixed in version 1.2, which should hit Rawhide soonish.
Please test (and eventually reopen if it doesn't fix the issue for you).

Comment 3 Fedora Update System 2009-08-09 14:13:03 UTC
shortrpm-1.2-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/shortrpm-1.2-1.fc11

Comment 4 Fedora Update System 2009-08-10 21:43:51 UTC
shortrpm-1.2-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.