Bugzilla – Bug 1140327
Outdated rpmrc.diff
Last modified: 2019-07-08 12:28:50 UTC
I noticed we have a patch that modifies rpmrc.in: https://github.com/rpm-software-management/rpm/blob/master/rpmrc.in The patch: https://build.opensuse.org/package/view_file/Base:System/rpm/rpmrc.diff?expand=1 Note that the patch is outdated with what we have in openSUSE:Factory and will probably differ even more. Can we just remove the diff, why do we have it?
We have it because we need it for our SUSE distribution.
(In reply to Michael Schröder from comment #1) > We have it because we need it for our SUSE distribution. Can you please explain scenarios where it is used?
What do you mean? The patch basically sets the build flags we use for SUSE and does a couple of architecture tweaks requested by the arch team. So it's used in every SUSE build.
(The opt flags are actually coming from OBS in our distro builds, this is about the customer getting the same flags if he runs rpmbuild on the command line.)
(Redhat does this in their redhat-rpm-config package, I prefer to have it in the main rpm package for now)
(In reply to Michael Schröder from comment #4) > (The opt flags are actually coming from OBS in our distro builds, this is > about the customer getting the same flags if he runs rpmbuild on the command > line.) And is that scenario supported? I thought builds out of OBS are not supported by us?
Why wouldn't the customer be allowed to create a package? There's no support from us for the specific package, of course, but it's not forbidden to create and install packages.
(In reply to Michael Schröder from comment #7) > Why wouldn't the customer be allowed to create a package? There's no support > from us for the specific package, of course, but it's not forbidden to > create and install packages. I'm fine with that. I'm only saying that we have outdated rpmrc.diff and we have no automatic mechanism on how to update it automatically.