SPECS: autoconf2_13.spec - avoid using sed because i can

glen glen at pld-linux.org
Wed Nov 1 12:24:09 CET 2006


Author: glen                         Date: Wed Nov  1 11:24:09 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- avoid using sed because i can

---- Files affected:
SPECS:
   autoconf2_13.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/autoconf2_13.spec
diff -u SPECS/autoconf2_13.spec:1.4 SPECS/autoconf2_13.spec:1.5
--- SPECS/autoconf2_13.spec:1.4	Wed Nov  1 12:14:04 2006
+++ SPECS/autoconf2_13.spec	Wed Nov  1 12:24:04 2006
@@ -12,7 +12,7 @@
 Summary(uk):	GNU autoconf - Á×ÔĎËĎÎĆŚÇŐŇÁÔĎŇ ×ÉČŚÄÎÉČ ÔĹËÓÔŚ×
 Name:		autoconf2_13
 Version:	2.13
-Release:	0.9
+Release:	0.10
 License:	GPL
 Group:		Development/Building
 Source0:	ftp://ftp.gnu.org/gnu/autoconf/%{_realname}-%{version}.tar.gz
@@ -180,16 +180,15 @@
 
 install install-sh $RPM_BUILD_ROOT%{_libdir}/autoconf2_13
 
-install {autoconf,autoheader,autoreconf,autoscan,autoupdate,ifnames}.1 \
-	$RPM_BUILD_ROOT%{_mandir}/man1
+for a in {autoconf,autoheader,autoreconf,autoscan,autoupdate,ifnames}.1; do
+	cp -a $a $RPM_BUILD_ROOT%{_mandir}/man1/${a%.1}2_13.1
+done
 
 # renaming for both autoconfs in one system
-cd $RPM_BUILD_ROOT
-for i in `find usr/{share/info,share/man/man1} -type f`; do
-	mv "$i" `echo "$i" | sed 's/\./2_13\./'`
+for a in $RPM_BUILD_ROOT%{_infodir}/*.info; do
+	mv $a ${a%.info}2_13.info
 done
 
-
 %post
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
@@ -207,13 +206,15 @@
 %{_libdir}/autoconf2_13
 %{_mandir}/man1/*
 
-
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2006/11/01 11:24:04  glen
+- avoid using sed because i can
+
 Revision 1.4  2006/11/01 11:14:04  czarny
 - fixed my log typos
 
@@ -227,9 +228,8 @@
 - rel 0.9
 
 Revision 1.1  2006/11/01 09:52:10  czarny
-- brought back to life for shitty projecst, taht don't want to port their big software to new autoconf (like mozilla, php)
+- brought back to life for shitty project, that don't want to port their big software to new autoconf (like mozilla, php)
 - adapted to new times
 - descriptions from HEAD autoconf.spec
 - brought from an unlucky autoconf-2_13-13 tag
 - I'll burn in hell for bringing back kloczeks work out of oblivion!
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/autoconf2_13.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list