diff --git a/.cvsignore b/.cvsignore index a3a2b11..542b178 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -man-pages-cs-0.16.tar.gz +man-pages-cs-0.17.20070905.tar.bz2 diff --git a/man-pages-cs-0.17-noMANDIR.patch b/man-pages-cs-0.17-noMANDIR.patch new file mode 100644 index 0000000..173c4a0 --- /dev/null +++ b/man-pages-cs-0.17-noMANDIR.patch @@ -0,0 +1,9 @@ +--- man-pages-cs-0.17.20070905/inst.sh.orig 2006-12-17 17:20:05.000000000 +0100 ++++ man-pages-cs-0.17.20070905/inst.sh 2007-11-21 11:42:00.000000000 +0100 +@@ -1,5 +1,5 @@ + #!/bin/sh +-MANDIR=/usr/share/man/cs ++[ -z "$MANDIR" ] && MANDIR=/usr/share/man/cs + echo $LANG + for i in latest/man? + do \ No newline at end of file diff --git a/man-pages-cs.spec b/man-pages-cs.spec index ade393e..3ef7748 100644 --- a/man-pages-cs.spec +++ b/man-pages-cs.spec @@ -1,10 +1,11 @@ Summary: Czech man pages from the Linux Documentation Project Name: man-pages-cs -Version: 0.16 -Release: 7%{?dist} +Version: 0.17.20070905 +Release: 1%{?dist} License: Distributable Group: Documentation -Source: ftp://ftp.linux.cz/pub/linux/localization/czman/man-pages-cs-%{version}.tar.gz +Source: ftp://ftp.linux.cz/pub/linux/localization/czman/man-pages-cs-%{version}.tar.bz2 +Patch1: man-pages-cs-0.17-noMANDIR.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -14,20 +15,14 @@ Czech. %prep %setup -q +%patch1 -p1 %build -# Part of shadow-utils -rm -fv man8/lastlog.8 -mv -fv man8/at.1 man1 - %install rm -fr $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_mandir} -LC_ALL=cs_CZ.UTF-8 make install MANDIR=$RPM_BUILD_ROOT/%{_mandir}/cs - -rm -f $RPM_BUILD_ROOT%{_mandir}/cs/man1/man.1* -rm -f $RPM_BUILD_ROOT%{_mandir}/cs/man5/shadow.5* +LC_ALL=cs_CZ.UTF-8 make all MANDIR=$RPM_BUILD_ROOT/%{_mandir}/cs %clean rm -fr $RPM_BUILD_ROOT @@ -39,6 +34,10 @@ rm -fr $RPM_BUILD_ROOT %{_mandir}/cs/* %changelog +* Thu Nov 22 2007 Ivana Varekova - 0.17.20070905-1 +- update to 0.17.20070905 +- patch to build in RPM_BUILD_ROOT (thanks Milan Kerslager) + * Fri Mar 2 2007 Ivana Varekova - 0.16-7 - Resolves: 226121 incorporate the package review feedback diff --git a/sources b/sources index e3194c4..fe03402 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e8036794c1762804f2e242cc5b52001e man-pages-cs-0.16.tar.gz +388f1e1a06acf2f843fbf217cc1e4d46 man-pages-cs-0.17.20070905.tar.bz2