SPECS: lzma.spec - use proper rpm macros instead

glen glen at pld-linux.org
Sun Dec 30 15:06:43 CET 2007


Author: glen                         Date: Sun Dec 30 14:06:43 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use proper rpm macros instead

---- Files affected:
SPECS:
   lzma.spec (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: SPECS/lzma.spec
diff -u SPECS/lzma.spec:1.40 SPECS/lzma.spec:1.41
--- SPECS/lzma.spec:1.40	Sat Dec 29 20:14:30 2007
+++ SPECS/lzma.spec	Sun Dec 30 15:06:38 2007
@@ -17,6 +17,7 @@
 Source0:	http://tukaani.org/lzma/%{name}-%{version}%{snap}.tar.gz
 # Source0-md5:	5cef8b41aecee8ce1c6fbc681701fe61
 URL:		http://tukaani.org/lzma/
+BuildRequires:	rpmbuild(macros) >= 1.402
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -104,15 +105,6 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-# fix manuals
-cd $RPM_BUILD_ROOT%{_mandir}/man1
-rm -f lzcmp.1 lzegrep.1 lzfgrep.1 lzless.1
-echo ".so lzdiff.1" > lzcmp.1
-echo ".so lzgrep.1" > lzegrep.1
-echo ".so lzgrep.1" > lzfgrep.1
-echo ".so lzmore.1" > lzless.1
-cd -
-
 %find_lang %{name}
 
 %{?with_tests:%{__make} check}
@@ -154,6 +146,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41  2007-12-30 14:06:38  glen
+- use proper rpm macros instead
+
 Revision 1.40  2007-12-29 19:14:30  witekfl
 - fixed manuals (the .so macro used instead of symbolic links)
 - lzma is written in C, so libstdc++-devel is not required
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lzma.spec?r1=1.40&r2=1.41&f=u



More information about the pld-cvs-commit mailing list