]> git.pld-linux.org Git - packages/man-pages.git/commitdiff
- updated to man-pages-1.44, release 1 man-pages-1_44-1
authorankry <ankry@pld-linux.org>
Wed, 5 Dec 2001 11:55:17 +0000 (11:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- remove obsolete patches
- remove man section number from .so pointers even if they are not
  one-linner (comments, empty lines)

Changed files:
    man-pages.spec -> 1.67

man-pages.spec

index 281ec2fb5657ee7988f2f591b0cdde2c5e4a7f3a..1e137253278b68a986c27394c090dd38e8610b3d 100644 (file)
@@ -10,8 +10,8 @@ Summary(pt_BR):       P
 Summary(ru):   óÔÒÁÎÉÃÙ ÒÕËÏ×ÏÄÓÔ×Á ÉÚ ðÒÏÅËÔÁ äÏËÕÍÅÎÔÁÃÉÉ ÎÁ ìÉÎÕËÓ
 Summary(tr):   Linux Belgeleme Projesinin sistem kýlavuz sayfalarý
 Name:          man-pages
-Version:       1.43
-Release:       5
+Version:       1.44
+Release:       1
 License:       distributable
 Group:         Documentation
 Group(de):     Dokumentation
@@ -61,8 +61,8 @@ Source15:     ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/tr/%{name}-%{pt
 Source16:      http://alexm.here.ru/manpages-ru/download/manpages-ru-%{ru_version}.tar.gz
 #Source17:     http://www.cmpp.net/download/cman-%{zh_version}.tar.gz
 Source50:      %{name}-extra.tar.bz2
-Patch0:                %{name}-iconv.patch
-Patch1:                %{name}-ctype.patch
+#Patch0:               %{name}-iconv.patch
+#Patch1:               %{name}-ctype.patch
 Patch2:                %{name}-localtime.patch
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -212,8 +212,6 @@ kapsayan, geni
 
 %prep
 %setup -q -a1 -a3 -a4 -a5 -a6 -a7 -a10 -a11 -a13 -a14 -a15 -a16
-%patch0 -p1
-%patch1 -p1
 %patch2 -p1
 
 mkdir hu ko
@@ -238,7 +236,7 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,2,3,4,5,6,7,8}
 
 for n in man{1,2,3,4,5,6,7,8}/*; do
-       if [ `wc -l $n` = 1 ] ; then
+       if head -1 $n| grep '^\.so' >/dev/null 2>&1 ; then
                sed 's,\.so man./,.so ,' < $n > $n.
                mv $n. $n
        fi
@@ -309,7 +307,7 @@ bzip2 -dc %{SOURCE50} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
 for k in $RPM_BUILD_ROOT%{_mandir}/{cs,de,es,fi,fr,hu,it,ja,ko,nl,pl,pt,pt_BR,ru} ; do
        for n in $k/man{1,2,3,4,5,6,7,8}/*; do
-               if [ `wc -l $n` = 1 ] ; then
+               if head -1 $n| grep '^\.so' >/dev/null 2>&1 ; then
                        sed 's,\.so man./,.so ,' < $n > $n.
                        mv $n. $n
                fi
This page took 0.03479 seconds and 4 git commands to generate.