Browse Source

simplify installation procedure

Ralf S. Engelschall 21 years ago
parent
commit
d50daa0443
1 changed files with 4 additions and 4 deletions
  1. 4 4
      zlib/zlib.spec

+ 4 - 4
zlib/zlib.spec

@@ -34,7 +34,7 @@ Class:        CORE
 Group:        Compression
 License:      BSD
 Version:      1.2.2
-Release:      20041206
+Release:      20050219
 
 #   list of sources
 Source0:      http://www.zlib.net/zlib-%{version}.tar.gz
@@ -79,9 +79,9 @@ AutoReqProv:  no
 %install
     rm -rf $RPM_BUILD_ROOT
     %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}
-    %{l_make} %{l_mflags} install prefix=$RPM_BUILD_ROOT%{l_prefix}
-    %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/man/man3
-    %{l_shtool} install -c -m 644 zlib.3 $RPM_BUILD_ROOT%{l_prefix}/man/man3/
+    %{l_make} %{l_mflags} install \
+        prefix=$RPM_BUILD_ROOT%{l_prefix} \
+        mandir=$RPM_BUILD_ROOT%{l_prefix}/man
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
 
 %files -f files