2017-09-20 17:29:49 +02:00
|
|
|
---
|
|
|
|
fileattrs/Makefile.am | 3 ++-
|
|
|
|
fileattrs/debuginfo.attr | 2 ++
|
|
|
|
fileattrs/elf.attr | 3 ++-
|
|
|
|
fileattrs/elflib.attr | 4 ++++
|
|
|
|
fileattrs/firmware.attr | 2 ++
|
|
|
|
fileattrs/kernel.attr | 2 ++
|
|
|
|
fileattrs/kmp.attr | 4 ++++
|
|
|
|
fileattrs/perl.attr | 3 ++-
|
|
|
|
fileattrs/perllib.attr | 3 ++-
|
|
|
|
fileattrs/sysvinit.attr | 2 ++
|
|
|
|
10 files changed, 24 insertions(+), 4 deletions(-)
|
|
|
|
|
|
|
|
--- fileattrs/Makefile.am.orig
|
|
|
|
+++ fileattrs/Makefile.am
|
|
|
|
@@ -7,6 +7,7 @@ fattrsdir = $(rpmconfigdir)/fileattrs
|
2012-08-28 15:31:44 +02:00
|
|
|
fattrs_DATA = \
|
2014-02-20 14:18:41 +01:00
|
|
|
appdata.attr desktop.attr elf.attr font.attr libtool.attr perl.attr \
|
|
|
|
perllib.attr pkgconfig.attr python.attr ocaml.attr script.attr \
|
|
|
|
- mono.attr
|
2017-09-20 17:29:49 +02:00
|
|
|
+ mono.attr debuginfo.attr elflib.attr firmware.attr kernel.attr \
|
|
|
|
+ kmp.attr sysvinit.attr
|
2012-08-28 15:31:44 +02:00
|
|
|
|
|
|
|
EXTRA_DIST = $(fattrs_DATA)
|
2017-09-20 17:29:49 +02:00
|
|
|
--- /dev/null
|
|
|
|
+++ fileattrs/debuginfo.attr
|
2011-05-16 18:07:44 +02:00
|
|
|
@@ -0,0 +1,2 @@
|
|
|
|
+%__debuginfo_provides %{_rpmconfigdir}/debuginfo.prov
|
|
|
|
+%__debuginfo_path ^/usr/lib/debug/
|
2017-09-20 17:29:49 +02:00
|
|
|
--- fileattrs/elf.attr.orig
|
|
|
|
+++ fileattrs/elf.attr
|
2011-05-18 11:35:02 +02:00
|
|
|
@@ -1,4 +1,5 @@
|
|
|
|
%__elf_provides %{_rpmconfigdir}/elfdeps --provides %{?__filter_GLIBC_PRIVATE:--filter-private}
|
|
|
|
%__elf_requires %{_rpmconfigdir}/elfdeps --requires %{?__filter_GLIBC_PRIVATE:--filter-private}
|
2012-08-28 15:31:44 +02:00
|
|
|
-%__elf_magic ^(setuid )?(setgid )?(sticky )?ELF (32|64)-bit.*$
|
2011-07-19 15:04:21 +02:00
|
|
|
+%__elf_magic ^(setuid )?(setgid )?(sticky )?ELF (32|64)-bit.*executable
|
2011-05-18 11:35:02 +02:00
|
|
|
%__elf_flags exeonly
|
|
|
|
+%__elf_exclude_path ^/usr/lib/debug/
|
2017-09-20 17:29:49 +02:00
|
|
|
--- /dev/null
|
|
|
|
+++ fileattrs/elflib.attr
|
2011-05-18 11:35:02 +02:00
|
|
|
@@ -0,0 +1,4 @@
|
2011-06-03 15:20:15 +02:00
|
|
|
+%__elflib_provides %{_rpmconfigdir}/elfdeps --assume-exec --provides %{?__filter_GLIBC_PRIVATE:--filter-private}
|
|
|
|
+%__elflib_requires %{_rpmconfigdir}/elfdeps --assume-exec --requires %{?__filter_GLIBC_PRIVATE:--filter-private}
|
2011-07-19 15:04:21 +02:00
|
|
|
+%__elflib_magic ^(setuid )?(setgid )?(sticky )?ELF (32|64)-bit.*shared object
|
2011-05-18 11:35:02 +02:00
|
|
|
+%__elflib_exclude_path ^/usr/lib/debug/
|
2017-09-20 17:29:49 +02:00
|
|
|
--- /dev/null
|
|
|
|
+++ fileattrs/firmware.attr
|
2011-05-16 18:07:44 +02:00
|
|
|
@@ -0,0 +1,2 @@
|
|
|
|
+%__firmware_provides %{_rpmconfigdir}/firmware.prov
|
|
|
|
+%__firmware_path /lib/firmware/
|
2017-09-20 17:29:49 +02:00
|
|
|
--- /dev/null
|
|
|
|
+++ fileattrs/kernel.attr
|
|
|
|
@@ -0,0 +1,2 @@
|
|
|
|
+%__kernel_provides %{_rpmconfigdir}/find-provides.ksyms --opensuse 0%{?is_opensuse}
|
|
|
|
+%__kernel_path ^(/lib/modules/[^/]*/kernel/.*\.ko(\.gz)?|/boot/vmlinu[xz].*)$
|
|
|
|
--- /dev/null
|
|
|
|
+++ fileattrs/kmp.attr
|
2011-05-16 18:07:44 +02:00
|
|
|
@@ -0,0 +1,4 @@
|
2017-09-20 17:29:49 +02:00
|
|
|
+%__kmp_provides %{_rpmconfigdir}/find-provides.ksyms --opensuse 0%{?is_opensuse}
|
|
|
|
+%__kmp_requires %{_rpmconfigdir}/find-requires.ksyms --opensuse 0%{?is_opensuse}
|
|
|
|
+%__kmp_supplements %{_rpmconfigdir}/find-supplements.ksyms
|
|
|
|
+%__kmp_path ^/lib/modules/[^/]*/(updates|extra)/.*\.ko(\.gz)?
|
|
|
|
--- fileattrs/perl.attr.orig
|
|
|
|
+++ fileattrs/perl.attr
|
2011-05-16 18:07:44 +02:00
|
|
|
@@ -1,3 +1,4 @@
|
|
|
|
-%__perl_requires %{_rpmconfigdir}/perl.req
|
|
|
|
+# disabled for now
|
|
|
|
+#%__perl_requires %{_rpmconfigdir}/perl.req
|
2012-08-28 15:31:44 +02:00
|
|
|
%__perl_magic ^.*[Pp]erl .*$
|
2011-05-16 18:07:44 +02:00
|
|
|
%__perl_flags exeonly
|
2017-09-20 17:29:49 +02:00
|
|
|
--- fileattrs/perllib.attr.orig
|
|
|
|
+++ fileattrs/perllib.attr
|
2014-02-20 14:18:41 +01:00
|
|
|
@@ -1,5 +1,6 @@
|
2011-05-19 12:00:20 +02:00
|
|
|
%__perllib_provides %{_rpmconfigdir}/perl.prov
|
|
|
|
-%__perllib_requires %{_rpmconfigdir}/perl.req
|
|
|
|
+#disabled for now
|
|
|
|
+#%__perllib_requires %{_rpmconfigdir}/perl.req
|
|
|
|
%__perllib_magic ^Perl[[:digit:]] module source.*
|
2014-02-20 14:18:41 +01:00
|
|
|
%__perllib_path \\.pm$
|
|
|
|
%__perllib_flags magic_and_path
|
2017-09-20 17:29:49 +02:00
|
|
|
--- /dev/null
|
|
|
|
+++ fileattrs/sysvinit.attr
|
2011-05-16 18:07:44 +02:00
|
|
|
@@ -0,0 +1,2 @@
|
|
|
|
+%__sysvinit_provides %{_rpmconfigdir}/sysvinitdeps.sh --provides
|
|
|
|
+%__sysvinit_path ^/etc/init\.d/
|