[packages/autoconf2_13] - adjusted info patch: let direntry point to renamed info file - don't package old version of standa

qboosh qboosh at pld-linux.org
Mon Dec 2 20:53:36 CET 2019


commit c7c52d8f56e9703c5e2e33315610ecb2c2294406
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Dec 2 20:54:05 2019 +0100

    - adjusted info patch: let direntry point to renamed info file
    - don't package old version of standards.info
    - release 2

 autoconf2_13-info.patch |  2 +-
 autoconf2_13.spec       | 11 +++++------
 2 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/autoconf2_13.spec b/autoconf2_13.spec
index cde26bb..bdc1d05 100644
--- a/autoconf2_13.spec
+++ b/autoconf2_13.spec
@@ -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*
diff --git a/autoconf2_13-info.patch b/autoconf2_13-info.patch
index 9228600..0885933 100644
--- a/autoconf2_13-info.patch
+++ b/autoconf2_13-info.patch
@@ -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
  
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/autoconf2_13.git/commitdiff/c7c52d8f56e9703c5e2e33315610ecb2c2294406



More information about the pld-cvs-commit mailing list