]> git.pld-linux.org Git - packages/autoconf2_13.git/commitdiff
- avoid using sed because i can
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 1 Nov 2006 11:24:04 +0000 (11:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    autoconf2_13.spec -> 1.5

autoconf2_13.spec

index 7996da6bb9d9351eab62208121abc89f76ffdc11..478628c734780430ad6eb8e0f15e6bf7633d7911 100644 (file)
@@ -11,7 +11,7 @@ Summary(ru):  GNU autoconf - 
 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
@@ -179,16 +179,15 @@ install -d $RPM_BUILD_ROOT%{_mandir}/man1
 
 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
 
This page took 0.063432 seconds and 4 git commands to generate.