On Tue, Aug 28, 2018 at 1:50 PM Stefan Seyfried <stefan.seyfried@googlemail.com> wrote:
Am 28.08.2018 um 14:33 schrieb Neal Gompa:
On Tue, Aug 28, 2018 at 4:32 AM Michal Kubecek <mkubecek@suse.cz> wrote:
On Monday, 27 August 2018 18:09 Brüns, Stefan wrote:
On Montag, 27. August 2018 17:39:16 CEST Stefan Seyfried wrote:
... which kills building an unmodified package on an old distribution (SLES11) by the way...
Exactly. I don't say we should go to extremes to keep everything building against older distributions but deliberately breaking the build just to save one line per %file section (%defattr) or even one line per specfile (BuildRoot) doesn't make any sense to me.
Its desecration, not killing - you can not kill a dead one ;-)
SLE11 is not dead, far from it. Actually, SLE11 SP4 is still under regular maintenance, not even LTSS yet (until 2019-03-31), i.e. more alive than e.g. SLE12 up to SP2.
Its may be an issue for maintenance projects, but for most devel projects its pointless
No, it is not pointless. People do build and use latest snapshot on older systems for various reasons.
IMHO having SLE11 in e.g. science is just a waste of resources:
Quite the contrary, actually. Removing the old build targets from devel projects or even needlessly breaking build in the name of more modern specfile style results in people linking the package to their own projects so that in the end, the same package is built more times and more binaries are kept in the repositories. In other words, you end up wasting more resources this way.
Then you guys at SUSE should do what we did in Fedora: add a package that backports semantics from newer versions of RPM so that spec files can follow modern guidelines without issue.
But epel-rpm-macros has nothing in it for
BuildRoot:
Look at macros.zzz-epel in epel-rpm-macros 5-7: https://kojipkgs.fedoraproject.org//packages/epel-rpm-macros/5/7/src/epel-rp... In the future, you can always find every build of every package that was ever released through Koji: https://koji.fedoraproject.org/koji/ For this package in particular, this is where I got it from: https://koji.fedoraproject.org/koji/packageinfo?packageID=20323 And the sources Koji builds from is at: https://src.fedoraproject.org/ The Git sources for the package is: https://src.fedoraproject.org/rpms/epel-rpm-macros/tree/el5 There's an obs-service-fedpkg source service floating around somewhere that you can use with Fedora Dist-Git to fetch and build packages in OBS using Fedora package sources. :)
%defattr
RPM 4.4.2 does not require %defattr and sets a default one of "%defattr(-,root,root,-)" when it's not set in the spec file.
(or I was too stupid to find it...)
You're not stupid, it's just you don't know what to look for. :) Also, part of this squarely is SUSE's fault, since their rpmlint policies are out of sync with rpm itself. The rpmlint policy for SUSE distributions was never updated to account for these changes after SLE 10 went fully EOL. -- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org