aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.*$