Bug 1140327 - Outdated rpmrc.diff
Summary: Outdated rpmrc.diff
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Michael Schröder
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-04 07:18 UTC by Martin Liška
Modified: 2019-07-08 12:28 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Liška 2019-07-04 07:18:27 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?
Comment 1 Michael Schröder 2019-07-04 09:07:04 UTC
We have it because we need it for our SUSE distribution.
Comment 2 Martin Liška 2019-07-04 09:26:12 UTC
(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?
Comment 3 Michael Schröder 2019-07-04 09:31:12 UTC
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.
Comment 4 Michael Schröder 2019-07-04 09:33:28 UTC
(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.)
Comment 5 Michael Schröder 2019-07-04 09:34:46 UTC
(Redhat does this in their redhat-rpm-config package, I prefer to have it in the main rpm package for now)
Comment 6 Martin Liška 2019-07-04 15:35:02 UTC
(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?
Comment 7 Michael Schröder 2019-07-05 09:22:19 UTC
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.
Comment 8 Martin Liška 2019-07-08 12:28:50 UTC
(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.