From ba0b7e2a9a2ce730ccefad770331b3b9a9c59838 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 4 Feb 2021 08:40:23 -0500 Subject: [PATCH] Install the m4 script for Autoconf as part of the -devel package --- libIDL.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libIDL.spec b/libIDL.spec index 2b2783e..47f0a4a 100644 --- a/libIDL.spec +++ b/libIDL.spec @@ -99,8 +99,7 @@ rm %{name}2.info %make_install rm '%{buildroot}%{_libdir}/%{name}-2.la' rm '%{buildroot}%{_infodir}/dir' -install -d '%{buildroot}%{_pkgdocdir}' -install -t '%{buildroot}%{_pkgdocdir}' -p -m 0644 \ +install -t '%{buildroot}%{_pkgdocdir}' -D -p -m 0644 \ AUTHORS \ BUGS \ ChangeLog \ @@ -110,6 +109,8 @@ install -t '%{buildroot}%{_pkgdocdir}' -p -m 0644 \ README \ %{name}2.pdf cp -rp '%{name}2.html' '%{buildroot}%{_pkgdocdir}/html' +install -t '%{buildroot}%{_datadir}/aclocal/%{name}.m4' -D -p -m 0644 \ + %{name}.m4 %files @@ -125,6 +126,8 @@ cp -rp '%{name}2.html' '%{buildroot}%{_pkgdocdir}/html' %{_includedir}/%{name}-2.0/ %{_libdir}/pkgconfig/%{name}-2.0.pc +# Note the aclocal directory is provided by the “filesystem” package +%{_datadir}/aclocal/%{name}.m4 %{_bindir}/%{name}-config-2 @@ -152,6 +155,7 @@ cp -rp '%{name}2.html' '%{buildroot}%{_pkgdocdir}/html' it all to a -doc subpackage with the text file documentation (README, etc.) - Properly install the license (COPYING) file - Patch references to the old libIDL-config, which went away in the year 2002 +- Install the m4 script for Autoconf as part of the -devel package * Tue Jan 26 2021 Fedora Release Engineering - 0.8.14-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild