Description of problem: On IRC (#fedora-devel) or in package reviews, it is always advised to remove the "rm -rf $RPM_BUILD_ROOT" line of the `rpmdev-newspec -t minimal` output. Would it be possible to remove this line from the tool? If it's really not necessary since the build (mock) will already do this. Version-Release number of selected component (if applicable): rpmdevtools-8.10-3.fc27.noarch Steps to Reproduce: 1. Run `rpmdev-newspec -t minimal` 2. Check line 26: rm -rf $RPM_BUILD_ROOT
Yeah, I can look into making this conditional on the rpm version it targets.
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'.
This message is a reminder that Fedora 28 is nearing its end of life. On 2019-May-28 Fedora will stop maintaining and issuing updates for Fedora 28. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '28'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 28 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Any update there? -- There are new folks, learning rpm, trying to become Fedora packages. All of them look at this artifact. And they are asking what's that. It's important to have the tools synced with the current status, documentation and guidelines.
(In reply to Michal Schorm from comment #4) > Any update there? > > -- > > There are new folks, learning rpm, trying to become Fedora packages. > All of them look at this artifact. And they are asking what's that. > > It's important to have the tools synced with the current status, > documentation and guidelines. I can't remove it. It's not wrong if you're targeting distros that haven't overridden the behavior (and there are some!) The behavior in Fedora comes from this snippet: https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/macros#_126-134 If there's a plan to upstream it, then I'll remove it from the spec templates.
I've proposed the necessary change to RPM that would permit me to drop this from the templates: https://github.com/rpm-software-management/rpm/pull/1039 The ball is in RPM's court now.
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32.
This message is a reminder that Fedora 32 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '32'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 32 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
The upstream rpm pull request has been merged, so this is unblocked. I verified that this behavior is still present in rawhide with rpmdevtools-9.3-5.fc35.
Working on this, will try to have a release this weekend for it.
Awesome! Glad to hear that this issue is moving towards resolution
FEDORA-2022-e105d54f20 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-e105d54f20
FEDORA-2022-a152466830 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-a152466830
FEDORA-2022-e105d54f20 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-a152466830 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-a152466830` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-a152466830 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-a152466830 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.