From fb4bc9b7d758798ccca698a52f650cdeea7c7ff5 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 5 Oct 2010 09:35:45 +0300 Subject: Replace __foo_exeonly attribute with a more generic mechanism - Use a list of text keyword tokens to allow for more flags without requiring adding special processing for every new flag we make --- fileattrs/elf | 2 +- fileattrs/perl | 2 +- fileattrs/script | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'fileattrs') diff --git a/fileattrs/elf b/fileattrs/elf index c924dbb7d..fba180bca 100644 --- a/fileattrs/elf +++ b/fileattrs/elf @@ -1,4 +1,4 @@ %__elf_provides %{_rpmconfigdir}/elfdeps --provides %{?__filter_GLIBC_PRIVATE:--filter-private} %__elf_requires %{_rpmconfigdir}/elfdeps --requires %{?__filter_GLIBC_PRIVATE:--filter-private} %__elf_magic ^ELF (32|64)-bit.*$ -%__elf_exeonly 1 +%__elf_flags exeonly diff --git a/fileattrs/perl b/fileattrs/perl index 6cb57d17e..23b873fbe 100644 --- a/fileattrs/perl +++ b/fileattrs/perl @@ -1,3 +1,3 @@ %__perl_requires %{_rpmconfigdir}/perl.req %__perl_magic ^.*perl .*$ -%__perl_exeonly 1 +%__perl_flags exeonly diff --git a/fileattrs/script b/fileattrs/script index 950113391..13b8ba0b6 100644 --- a/fileattrs/script +++ b/fileattrs/script @@ -1,3 +1,3 @@ %__script_requires %{_rpmconfigdir}/script.req %__script_magic ^.* script text.*$ -%__script_exeonly 1 +%__script_flags exeonly -- cgit v1.2.3