#12017 closed defect (fixed)
BUG: BASE - rpmpackage patch required for port RPM 4.4.7+
Reported by: | afb@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | High | Milestone: | MacPorts 1.5 |
Component: | base | Version: | |
Keywords: | Cc: | afb@…, markd@… | |
Port: |
Description
RPM versions later than 4.4.7 (current RPM version is 4.4.9) does not use BuildRoot: from the .spec file anymore. This causes "port rpmpackage" to not work, since it cannot find the destroot anymore.
Attachments (2)
Change History (15)
Changed 17 years ago by afb@…
Attachment: | patch-macports-rpmbuildroot.diff added |
---|
comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Milestone: | → MacPorts 1.4 |
---|
comment:2 Changed 17 years ago by markd@…
Milestone: | MacPorts 1.4 → Needs developer review |
---|---|
Summary: | port rpmpackage and RPM 4.4.7+ → BUG: base - port rpmpackage and RPM 4.4.7+ |
comment:3 Changed 17 years ago by markd@…
Summary: | BUG: base - port rpmpackage and RPM 4.4.7+ → BUG: BASE - port rpmpackage and RPM 4.4.7+ |
---|
comment:4 Changed 17 years ago by afb@…
A bug with this workaround is that making an rpmpackage will always delete work/destroot too (at least with RPM 4.4.9 it does an unconditional rm -rf %{buildroot} in the %clean phase of rpmbuild)
comment:5 Changed 17 years ago by markd@…
Cc: | afb@… markd@… added |
---|
The rpm port has been upgraded (r26315). Please test it and see if the issue is still present.
comment:6 Changed 17 years ago by afb@…
Actually it is the RPM upgrade that warrants this change in base ?
The way to test this Bug is to do a "port rpmpackage" and check...
comment:7 Changed 17 years ago by afb@…
For reference, tentative RPM patch to fix the issue mentioned above (destroot deleted after rpmbuild)
comment:8 Changed 17 years ago by markd@…
Summary: | BUG: BASE - port rpmpackage and RPM 4.4.7+ → BUG: BASE - rpmpackage patch required for port RPM 4.4.7+ |
---|
Sorry, I confused this ticket with another.
comment:9 Changed 17 years ago by afb@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version: | 1.4.42 → 1.5 |
This is fixed, RPM is now 4.4.9 and "port rpmpackage" is now "port rpm"
comment:10 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Milestone: | Needs developer review → MacPorts base bugs |
---|
Milestone Needs developer review deleted
comment:11 Changed 17 years ago by nox@…
Cc: | afb@users.sourceforge.net,markd@macports.org → afb@users.sourceforge.net, markd@macports.org |
---|---|
Priority: | Expected → High |
Version: | 1.5 |
comment:12 Changed 16 years ago by tobypeterson
Milestone: | MacPorts base bugs → MacPorts Future |
---|
Milestone MacPorts base bugs deleted
comment:13 Changed 15 years ago by jmroot (Joshua Root)
Milestone: | MacPorts Future → MacPorts 1.5 |
---|
patch-macports-rpmbuildroot.diff