]> git.pld-linux.org Git - packages/xz.git/commitdiff
- fixed manuals (the .so macro used instead of symbolic links)
authorwitekfl <witekfl@pld-linux.org>
Sat, 29 Dec 2007 19:14:30 +0000 (19:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- lzma is written in C, so libstdc++-devel is not required
- rel .2

Changed files:
    xz.spec -> 1.40

xz.spec

diff --git a/xz.spec b/xz.spec
index 3d205179ec02ee64c8929487b9a6092c831e8462..c2456857793fc4336c1cb5a75b58d0cd3467aba3 100644 (file)
--- a/xz.spec
+++ b/xz.spec
@@ -9,15 +9,13 @@ Summary:      LZMA Encoder/Decoder
 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
@@ -105,6 +103,15 @@ rm -rf $RPM_BUILD_ROOT
 %{__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}
This page took 0.098894 seconds and 4 git commands to generate.