diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-10-11 15:52:02 -0700 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-02-02 16:44:16 -0800 |
commit | 86eabb34ce7285dfe7f55f3773c1e9938fb17e21 (patch) | |
tree | 9f4bd2e0047e6c9f3b9d12a85e6f65cda19ff321 /fileattrs | |
parent | 640d6449a6b242f2a915940fc4f3b39cb5268f96 (diff) | |
download | librpm-tizen-86eabb34ce7285dfe7f55f3773c1e9938fb17e21.tar.gz librpm-tizen-86eabb34ce7285dfe7f55f3773c1e9938fb17e21.tar.bz2 librpm-tizen-86eabb34ce7285dfe7f55f3773c1e9938fb17e21.zip |
File attributes
Diffstat (limited to 'fileattrs')
-rw-r--r-- | fileattrs/Makefile.am | 3 | ||||
-rw-r--r-- | fileattrs/debuginfo.attr | 2 | ||||
-rw-r--r-- | fileattrs/elf.attr | 3 | ||||
-rw-r--r-- | fileattrs/elflib.attr | 4 | ||||
-rw-r--r-- | fileattrs/firmware.attr | 2 | ||||
-rw-r--r-- | fileattrs/ksyms.attr | 4 | ||||
-rw-r--r-- | fileattrs/perl.attr | 3 | ||||
-rw-r--r-- | fileattrs/perllib.attr | 3 | ||||
-rw-r--r-- | fileattrs/sysvinit.attr | 2 |
9 files changed, 22 insertions, 4 deletions
diff --git a/fileattrs/Makefile.am b/fileattrs/Makefile.am index 0fd1435c2..3d1b7e712 100644 --- a/fileattrs/Makefile.am +++ b/fileattrs/Makefile.am @@ -6,6 +6,7 @@ fattrsdir = $(rpmconfigdir)/fileattrs fattrs_DATA = \ desktop.attr elf.attr font.attr libtool.attr perl.attr perllib.attr \ - pkgconfig.attr python.attr ocaml.attr script.attr mono.attr + pkgconfig.attr python.attr ocaml.attr script.attr mono.attr \ + debuginfo.attr elflib.attr firmware.attr ksyms.attr sysvinit.attr EXTRA_DIST = $(fattrs_DATA) diff --git a/fileattrs/debuginfo.attr b/fileattrs/debuginfo.attr new file mode 100644 index 000000000..91fd995f0 --- /dev/null +++ b/fileattrs/debuginfo.attr @@ -0,0 +1,2 @@ +%__debuginfo_provides %{_rpmconfigdir}/debuginfo.prov +%__debuginfo_path ^/usr/lib/debug/ diff --git a/fileattrs/elf.attr b/fileattrs/elf.attr index 595b33e09..49de06843 100644 --- a/fileattrs/elf.attr +++ b/fileattrs/elf.attr @@ -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/ diff --git a/fileattrs/elflib.attr b/fileattrs/elflib.attr new file mode 100644 index 000000000..a8aafa6f1 --- /dev/null +++ b/fileattrs/elflib.attr @@ -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/ diff --git a/fileattrs/firmware.attr b/fileattrs/firmware.attr new file mode 100644 index 000000000..2d577aa44 --- /dev/null +++ b/fileattrs/firmware.attr @@ -0,0 +1,2 @@ +%__firmware_provides %{_rpmconfigdir}/firmware.prov +%__firmware_path /lib/firmware/ diff --git a/fileattrs/ksyms.attr b/fileattrs/ksyms.attr new file mode 100644 index 000000000..8dbf16b6d --- /dev/null +++ b/fileattrs/ksyms.attr @@ -0,0 +1,4 @@ +%__ksyms_provides %{_rpmconfigdir}/find-provides.ksyms %name +%__ksyms_requires %{_rpmconfigdir}/find-requires.ksyms %name +%__ksyms_supplements %{_rpmconfigdir}/find-supplements.ksyms %name +%__ksyms_path (/lib/modules/.*\.ko(\.gz)?)|(/boot/vmlinu[xz].*)$ diff --git a/fileattrs/perl.attr b/fileattrs/perl.attr index 0daef58d5..89383c213 100644 --- a/fileattrs/perl.attr +++ b/fileattrs/perl.attr @@ -1,3 +1,4 @@ -%__perl_requires %{_rpmconfigdir}/perl.req +# disabled for now +#%__perl_requires %{_rpmconfigdir}/perl.req %__perl_magic ^.*[Pp]erl .*$ %__perl_flags exeonly diff --git a/fileattrs/perllib.attr b/fileattrs/perllib.attr index 4e5422518..99723546e 100644 --- a/fileattrs/perllib.attr +++ b/fileattrs/perllib.attr @@ -1,3 +1,4 @@ %__perllib_provides %{_rpmconfigdir}/perl.prov -%__perllib_requires %{_rpmconfigdir}/perl.req +#disabled for now +#%__perllib_requires %{_rpmconfigdir}/perl.req %__perllib_magic ^Perl[[:digit:]] module source.* diff --git a/fileattrs/sysvinit.attr b/fileattrs/sysvinit.attr new file mode 100644 index 000000000..81810e54b --- /dev/null +++ b/fileattrs/sysvinit.attr @@ -0,0 +1,2 @@ +%__sysvinit_provides %{_rpmconfigdir}/sysvinitdeps.sh --provides +%__sysvinit_path ^/etc/init\.d/ |