]> git.pld-linux.org Git - packages/autoconf2_13.git/commitdiff
- adjusted info patch: let direntry point to renamed info file master auto/th/autoconf2_13-2.13-2
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 2 Dec 2019 19:54:05 +0000 (20:54 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 2 Dec 2019 19:54:05 +0000 (20:54 +0100)
- don't package old version of standards.info
- release 2

autoconf2_13-info.patch
autoconf2_13.spec

index 922860066ff0b23b8dec37008e632906c6fb19c5..08859339d25e237db170010afeaa7183d2407171 100644 (file)
@@ -8,7 +8,7 @@ diff -Nru autoconf-2.12/autoconf.texi autoconf-2.12.new/autoconf.texi
 +INFO-DIR-SECTION Programming tools:
  START-INFO-DIR-ENTRY
 -* Autoconf: (autoconf).         Create source code configuration scripts.
-+* autoconf: (autoconf).                       Create source code configuration scripts
++* Autoconf 2.13: (autoconf2_13).      Create source code configuration scripts
  END-INFO-DIR-ENTRY
  @end format
  
index cde26bbab2a271c08d04ab8e076393d78abe972e..bdc1d05c2e403f67862ec3877e472757288fe0fa 100644 (file)
@@ -11,10 +11,10 @@ Summary(ru.UTF-8):  GNU autoconf 2.13 - автоконфигуратор исхо
 Summary(uk.UTF-8):     GNU autoconf 2.13 - автоконфігуратор вихідних текстів
 Name:          autoconf2_13
 Version:       2.13
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Development/Building
-Source0:       http://ftp.gnu.org/gnu/autoconf/%{_realname}-%{version}.tar.gz
+Source0:       https://ftp.gnu.org/gnu/autoconf/%{_realname}-%{version}.tar.gz
 # Source0-md5: 9de56d4a161a723228220b0f425dc711
 Patch0:                %{name}-tmprace.patch
 Patch1:                %{name}-info.patch
@@ -192,9 +192,9 @@ for a in {autoconf,autoheader,autoreconf,autoscan,autoupdate,ifnames}.1; do
 done
 
 # renaming for both autoconfs in one system
-for a in $RPM_BUILD_ROOT%{_infodir}/*.info; do
-       %{__mv} $a ${a%.info}2_13.info
-done
+%{__mv} $RPM_BUILD_ROOT%{_infodir}/autoconf.info $RPM_BUILD_ROOT%{_infodir}/autoconf2_13.info
+# keep just most recent version of "GNU Coding Standards"
+%{__rm} $RPM_BUILD_ROOT%{_infodir}/standards.info
 
 %post  -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
@@ -214,7 +214,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/autoupdate2_13
 %attr(755,root,root) %{_bindir}/ifnames2_13
 %{_infodir}/autoconf2_13.info*
-%{_infodir}/standards2_13.info*
 %{_libdir}/autoconf2_13
 %{_mandir}/man1/autoconf2_13.1*
 %{_mandir}/man1/autoheader2_13.1*
This page took 0.093219 seconds and 4 git commands to generate.