SPECS: lzma.spec - fixed manuals (the .so macro used instead of sy...

witekfl witekfl at pld-linux.org
Sat Dec 29 20:14:36 CET 2007


Author: witekfl                      Date: Sat Dec 29 19:14:36 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed manuals (the .so macro used instead of symbolic links)
- lzma is written in C, so libstdc++-devel is not required
- rel .2

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

---- Diffs:

================================================================
Index: SPECS/lzma.spec
diff -u SPECS/lzma.spec:1.39 SPECS/lzma.spec:1.40
--- SPECS/lzma.spec:1.39	Sun Dec 16 18:43:46 2007
+++ SPECS/lzma.spec	Sat Dec 29 20:14:30 2007
@@ -10,15 +10,13 @@
 Summary(pl.UTF-8):	Koder/Dekoder LZMA
 Name:		lzma
 Version:	4.42.2
-Release:	0.%{snap}.1
+Release:	0.%{snap}.2
 Epoch:		1
 License:	LGPL v2.1+, helper scripts on GPL v2+
 Group:		Applications/Archiving
 Source0:	http://tukaani.org/lzma/%{name}-%{version}%{snap}.tar.gz
 # Source0-md5:	5cef8b41aecee8ce1c6fbc681701fe61
 URL:		http://tukaani.org/lzma/
-BuildRequires:	libstdc++-devel
-# does not need -libs, due apps being not linked with shared lib
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -106,6 +104,15 @@
 %{__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}
@@ -147,6 +154,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+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
+- rel .2
+
 Revision 1.39  2007-12-16 17:43:46  qboosh
 - License is basically LGPL v2.1+;
   the only GPL components packaged are lz* helper scripts (GPL v2+)
================================================================

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



More information about the pld-cvs-commit mailing list