From 583bd3d387f66965e48935dc927e0dfbec763c52 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 4 Sep 2018 02:37:24 +0200 Subject: Automatically emits requires on info-install for *.info files --- Makefile.am | 2 ++ NEWS | 2 ++ info-file.req | 5 +++++ info.attr | 2 ++ 4 files changed, 11 insertions(+) create mode 100755 info-file.req create mode 100644 info.attr 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.*$ -- cgit v1.2.1