]> git.pld-linux.org Git - packages/glibc.git/commitdiff
- repacked glibc*-man-pages.tar.gz to .tar.bz2
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 8 Oct 2001 13:18:01 +0000 (13:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added ldconfig.8 (old Source5) to glibc-man-pages.tar.bz2
- added English and Japanese shadow.3 to *man-pages.tar.bz2
  (taken from shadow package - but it's about glibc header and functions)
- removed old ChangeLog.8 from devel %doc

Changed files:
    glibc.spec -> 1.192

glibc.spec

index 9e084ab0cad989d8e20edc9de958a90cbf158d48..f270c0900b3aab19cca65b1e1a4a2a48674460c9 100644 (file)
@@ -17,9 +17,8 @@ Source1:      ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{vers
 Source2:       nscd.init
 Source3:       nscd.sysconfig
 Source4:       nscd.logrotate
-Source5:       ldconfig.8
-Source6:       %{name}-man-pages.tar.gz
-Source7:       %{name}-non-english-man-pages.tar.gz
+Source5:       %{name}-man-pages.tar.bz2
+Source6:       %{name}-non-english-man-pages.tar.bz2
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-versions.awk_fix.patch
 Patch2:                %{name}-pld.patch
@@ -435,9 +434,8 @@ install %{SOURCE4}          $RPM_BUILD_ROOT/etc/logrotate.d/nscd
 install nscd/nscd.conf         $RPM_BUILD_ROOT%{_sysconfdir}
 install nss/nsswitch.conf      $RPM_BUILD_ROOT%{_sysconfdir}
 
-install %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man8/
+tar xzvf %{SOURCE5} -C $RPM_BUILD_ROOT%{_mandir}/
 tar xzvf %{SOURCE6} -C $RPM_BUILD_ROOT%{_mandir}/
-tar xzvf %{SOURCE7} -C $RPM_BUILD_ROOT%{_mandir}/
 touch  $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.{cache,conf}
 
 :> $RPM_BUILD_ROOT/var/log/nscd
@@ -445,12 +443,12 @@ touch     $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.{cache,conf}
 rm -rf documentation
 install -d documentation
 
-cp linuxthreads/ChangeLog documentation/ChangeLog.threads
-cp linuxthreads/Changes documentation/Changes.threads
-cp linuxthreads/README documentation/README.threads
-cp crypt/README.ufc-crypt documentation/
+cp -f linuxthreads/ChangeLog documentation/ChangeLog.threads
+cp -f linuxthreads/Changes documentation/Changes.threads
+cp -f linuxthreads/README documentation/README.threads
+cp -f crypt/README.ufc-crypt documentation/
 
-cp ChangeLog ChangeLog.8 documentation
+cp -f ChangeLog documentation
 
 gzip -9nf README NEWS FAQ BUGS NOTES PROJECTS documentation/*
 
@@ -467,6 +465,9 @@ for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/*
        fi
 done
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post  -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
@@ -496,9 +497,6 @@ if [ "$1" = "0" ]; then
        /sbin/chkconfig --del nscd
 fi
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc {README,NEWS,FAQ,BUGS}.gz
This page took 0.821253 seconds and 4 git commands to generate.