aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2018-09-04 02:37:24 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2018-09-04 02:51:21 +0200
commit583bd3d387f66965e48935dc927e0dfbec763c52 (patch)
tree0d7a0ab01e71ecb758fa815f411c38596e3e467f
parent9351605401a39a81e0eae189aa87ac3bc47e5c6a (diff)
downloadrpm-setup-583bd3d387f66965e48935dc927e0dfbec763c52.tar
rpm-setup-583bd3d387f66965e48935dc927e0dfbec763c52.tar.gz
rpm-setup-583bd3d387f66965e48935dc927e0dfbec763c52.tar.bz2
rpm-setup-583bd3d387f66965e48935dc927e0dfbec763c52.tar.xz
rpm-setup-583bd3d387f66965e48935dc927e0dfbec763c52.zip
Automatically emits requires on info-install for *.info files
-rw-r--r--Makefile.am2
-rw-r--r--NEWS2
-rwxr-xr-xinfo-file.req5
-rw-r--r--info.attr2
4 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 13c8219..3b349d6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,6 +32,7 @@ pkg_scripts = \
git-repository--after-tarball \
git-repository--apply-patch \
http.req \
+ info-file.req \
multiarch.req \
perl_base.req \
perl.prov \
@@ -48,6 +49,7 @@ pkg_scripts_in = $(pkg_gscripts:=.in)
pkg_attr_defs = \
devel.attr \
+ info.attr \
multiarch.attr \
perl_base.attr \
perl_from_meta.attr \
diff --git a/NEWS b/NEWS
index ce9845e..a6c99f9 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- automatically emits requires on info-install for *.info files
+
Version 2.31 - 9 August 2018, by Thierry Vignaud
- emit perl-base requires for new 32bit perl path
diff --git a/info-file.req b/info-file.req
new file mode 100755
index 0000000..857a65e
--- /dev/null
+++ b/info-file.req
@@ -0,0 +1,5 @@
+#!/bin/sh
+#
+# Automatically emits requires on info-install for *.info files
+#
+echo info-install
diff --git a/info.attr b/info.attr
new file mode 100644
index 0000000..fe5a8a9
--- /dev/null
+++ b/info.attr
@@ -0,0 +1,2 @@
+%__info_provides %{_rpmconfigdir}/mageia/info-file.req
+%__info_path ^%{_datadir}/info/.*\\.info.*$