]> git.pld-linux.org Git - packages/bzip2.git/commitdiff
- Substitution of %%{_bindir} in bzless script added to install section.
authormkochano <mkochano@pld-linux.org>
Sat, 15 Jul 2000 14:02:57 +0000 (14:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Release 4.

Changed files:
    bzip2.spec -> 1.45

bzip2.spec

index 3f7fb885c86de44fa503433c80b16234a722ddf4..4ad343b9a6aadf31b846b4e3354a95aa961446d8 100644 (file)
@@ -3,13 +3,14 @@ Summary(fr):  Utilitaire de compression de fichier extr
 Summary(pl):   Kompresor plików bzip2
 Name:          bzip2
 Version:       1.0.1
-Release:       3
+Release:       4
 License:       GPL
 Group:         Utilities/Archiving
 Group(fr):     Applications/Archivage
 Group(pl):     Narzêdzia/Archiwizacja
 Source0:       ftp://sourceware.cygnus.com/pub/bzip2/v100/%{name}-%{version}.tar.gz
 Patch0:                bzip2-libtoolizeautoconf.patch
+BuildRequires: tetex
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
@@ -86,6 +87,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
+# Substitute %{_bindir} in bzless.
+mv $RPM_BUILD_ROOT%{_bindir}/bzless{,.tmp}
+sed -e "s@%%{_bindir}@%{_bindir}@g" \
+       $RPM_BUILD_ROOT%{_bindir}/bzless.tmp > \
+       $RPM_BUILD_ROOT%{_bindir}/bzless
+rm $RPM_BUILD_ROOT%{_bindir}/bzless.tmp
+
 ( cd doc ; texi2html bzip2.texi )
 
 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
This page took 0.068221 seconds and 4 git commands to generate.