aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-09-08 17:21:35 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-09-12 22:26:14 +0200
commit986531bbeb989ec830b07bd661ffd29ba844e736 (patch)
tree3ee2652cbc0be982d6d5e52773bb3a3becb3ba73 /Makefile.am
parentc16f6a7e4bcb99c172f46c292bad94e6edcff039 (diff)
downloadrpm-setup-986531bbeb989ec830b07bd661ffd29ba844e736.tar
rpm-setup-986531bbeb989ec830b07bd661ffd29ba844e736.tar.gz
rpm-setup-986531bbeb989ec830b07bd661ffd29ba844e736.tar.bz2
rpm-setup-986531bbeb989ec830b07bd661ffd29ba844e736.tar.xz
rpm-setup-986531bbeb989ec830b07bd661ffd29ba844e736.zip
convert perl-base to internal generator
we also patch rpm's script.req for outputing perl-base instead of /usr/bin/perl
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index c9ae590..aba0c4e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,6 +35,7 @@ pkg_scripts = \
magic.prov \
magic.req \
kmod.prov \
+ perl_base.req \
perl.prov \
perl.req \
perl.req-from-meta \
@@ -50,6 +51,9 @@ pkg_gscripts = \
pkg_scripts_in = $(pkg_gscripts:=.in)
+pkg_attr_defs = \
+ perl_base.attr
+
BUILT_SOURCES = macros-perarch make_arch_macrosfiles.sh rpmgenplatform
foobar_pkglibdir = @RPMVENDORDIR@
@@ -78,6 +82,7 @@ foobar_pkglib_SCRIPTS = \
EXTRA_DIST = \
$(pkg_data_in) \
$(pkg_sysconf_macros_in) \
+ $(pkg_attr_defs) \
$(pkg_scripts) \
$(pkg_scripts_in) \
macros-perarch.in make_arch_macrosfiles.sh.in \
@@ -124,6 +129,9 @@ endif
for i in $(pkg_sysconf_macros); do \
$(install_sh_DATA) $${i} $(DESTDIR)$(RPMSYSCONFDIR)/macros.d/$${i}; \
done
+ for i in $(pkg_attr_defs); do \
+ $(install_sh_DATA) $${i} $(DESTDIR)$(RPMLIBDIR)/fileattrs/$${i}; \
+ done
if RPMPLATFORM
for i in $(pkg_gconfig); do \
$(install_sh_DATA) $${i} $(DESTDIR)$(RPMSYSCONFDIR)/$${i}; \