Michael Schröder
317af7f805
- openSUSE releases also preserve kabi (boo#1095148). OBS-URL: https://build.opensuse.org/request/show/613118 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=467
67 lines
3.4 KiB
Diff
67 lines
3.4 KiB
Diff
--- ./fileattrs/Makefile.am.orig 2017-12-01 15:46:21.021741182 +0000
|
|
+++ ./fileattrs/Makefile.am 2017-12-01 15:48:54.108298271 +0000
|
|
@@ -8,6 +8,6 @@ fattrsdir = $(rpmconfigdir)/fileattrs
|
|
fattrs_DATA = \
|
|
debuginfo.attr desktop.attr elf.attr font.attr libtool.attr metainfo.attr \
|
|
perl.attr perllib.attr pkgconfig.attr python.attr ocaml.attr script.attr \
|
|
- mono.attr
|
|
+ mono.attr elflib.attr firmware.attr kernel.attr kmp.attr sysvinit.attr
|
|
|
|
EXTRA_DIST = $(fattrs_DATA)
|
|
--- ./fileattrs/elf.attr.orig 2017-12-01 15:46:28.171720501 +0000
|
|
+++ ./fileattrs/elf.attr 2017-12-01 15:47:49.339485678 +0000
|
|
@@ -1,4 +1,5 @@
|
|
%__elf_provides %{_rpmconfigdir}/elfdeps --provides %{?__filter_GLIBC_PRIVATE:--filter-private}
|
|
%__elf_requires %{_rpmconfigdir}/elfdeps --requires %{?__filter_GLIBC_PRIVATE:--filter-private}
|
|
-%__elf_magic ^(setuid,? )?(setgid,? )?(sticky )?ELF (32|64)-bit.*$
|
|
+%__elf_magic ^(setuid,? )?(setgid,? )?(sticky )?ELF (32|64)-bit.*executable
|
|
%__elf_flags exeonly
|
|
+%__elf_exclude_path ^/usr/lib/debug/
|
|
--- ./fileattrs/elflib.attr.orig 2017-12-01 15:46:28.171720501 +0000
|
|
+++ ./fileattrs/elflib.attr 2017-12-01 15:46:28.171720501 +0000
|
|
@@ -0,0 +1,4 @@
|
|
+%__elflib_provides %{_rpmconfigdir}/elfdeps --assume-exec --provides %{?__filter_GLIBC_PRIVATE:--filter-private}
|
|
+%__elflib_requires %{_rpmconfigdir}/elfdeps --assume-exec --requires %{?__filter_GLIBC_PRIVATE:--filter-private}
|
|
+%__elflib_magic ^(setuid )?(setgid )?(sticky )?ELF (32|64)-bit.*shared object
|
|
+%__elflib_exclude_path ^/usr/lib/debug/
|
|
--- ./fileattrs/firmware.attr.orig 2017-12-01 15:46:28.171720501 +0000
|
|
+++ ./fileattrs/firmware.attr 2017-12-01 15:46:28.171720501 +0000
|
|
@@ -0,0 +1,2 @@
|
|
+%__firmware_provides %{_rpmconfigdir}/firmware.prov
|
|
+%__firmware_path /lib/firmware/
|
|
--- ./fileattrs/kernel.attr.orig 2017-12-01 15:46:28.172720497 +0000
|
|
+++ ./fileattrs/kernel.attr 2017-12-01 15:46:28.172720497 +0000
|
|
@@ -0,0 +1,2 @@
|
|
+%__kernel_provides %{_rpmconfigdir}/find-provides.ksyms --opensuse 0%{?is_opensuse}
|
|
+%__kernel_path ^(/lib/modules/[^/]*/kernel/.*\.ko(\.gz)?|/boot/vmlinu[xz].*)$
|
|
--- ./fileattrs/kmp.attr.orig 2017-12-01 15:46:28.172720497 +0000
|
|
+++ ./fileattrs/kmp.attr 2017-12-01 15:46:28.172720497 +0000
|
|
@@ -0,0 +1,4 @@
|
|
+%__kmp_provides %{_rpmconfigdir}/find-provides.ksyms --opensuse 0%{?is_opensuse}
|
|
+%__kmp_requires %{_rpmconfigdir}/find-requires.ksyms --suse-release 0%{?sle_version}
|
|
+%__kmp_supplements %{_rpmconfigdir}/find-supplements.ksyms
|
|
+%__kmp_path ^/lib/modules/[^/]*/(updates|extra)/.*\.ko(\.gz)?
|
|
--- ./fileattrs/perl.attr.orig 2017-08-10 08:08:07.113108701 +0000
|
|
+++ ./fileattrs/perl.attr 2017-12-01 15:46:28.172720497 +0000
|
|
@@ -1,3 +1,4 @@
|
|
-%__perl_requires %{_rpmconfigdir}/perl.req
|
|
+# disabled for now
|
|
+#%__perl_requires %{_rpmconfigdir}/perl.req
|
|
%__perl_magic ^.*[Pp]erl .*$
|
|
%__perl_flags exeonly
|
|
--- ./fileattrs/perllib.attr.orig 2017-08-10 08:08:07.113108701 +0000
|
|
+++ ./fileattrs/perllib.attr 2017-12-01 15:46:28.172720497 +0000
|
|
@@ -1,5 +1,6 @@
|
|
%__perllib_provides %{_rpmconfigdir}/perl.prov
|
|
-%__perllib_requires %{_rpmconfigdir}/perl.req
|
|
+#disabled for now
|
|
+#%__perllib_requires %{_rpmconfigdir}/perl.req
|
|
%__perllib_magic ^Perl[[:digit:]] module source.*
|
|
%__perllib_path \\.pm$
|
|
%__perllib_flags magic_and_path
|
|
--- ./fileattrs/sysvinit.attr.orig 2017-12-01 15:46:28.172720497 +0000
|
|
+++ ./fileattrs/sysvinit.attr 2017-12-01 15:46:28.172720497 +0000
|
|
@@ -0,0 +1,2 @@
|
|
+%__sysvinit_provides %{_rpmconfigdir}/sysvinitdeps.sh --provides
|
|
+%__sysvinit_path ^/etc/init\.d/
|