From d07c7c9aebbe2ebee59253224bf89a42017cec06 Mon Sep 17 00:00:00 2001 From: corsepiu Date: Jan 13 2009 13:07:41 +0000 Subject: - Reset %release. - Add BuildRequires: perl(Test::More), BuildRequires: docbook-dtds. - Activate tests. - Fix Source0:-URL. - Spec file cosmetics. --- diff --git a/.cvsignore b/.cvsignore index 3bced9f..f52007b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -po4a-0.32.tar.gz +po4a-0.34.tar.gz diff --git a/po4a.spec b/po4a.spec index d2281d3..d55edf2 100644 --- a/po4a.spec +++ b/po4a.spec @@ -1,12 +1,12 @@ Name: po4a Version: 0.34 -Release: 9%{?dist} +Release: 1%{?dist} Summary: A tool maintaining translations anywhere Group: Applications/System # Nothing in the source tree specifies a version of the GPL. License: GPL+ URL: http://alioth.debian.org/projects/po4a/ -Source0: http://alioth.debian.org/download.php/1798/%{name}-%{version}.tar.gz +Source0: http://alioth.debian.org/download.php/2518/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: perl(Module::Build) @@ -15,6 +15,10 @@ BuildRequires: perl(SGMLS) >= 1.03ii BuildRequires: perl(Locale::gettext) >= 1.01, gettext BuildRequires: perl(Term::ReadKey) +# Required by the tests. +BuildRequires: perl(Test::More) +BuildRequires: docbook-dtds + Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: gettext @@ -35,8 +39,9 @@ rm -rf %{buildroot} make install DESTDIR=%{buildroot} find %{buildroot} -type f \( -name .packlist -or -name perllocal.pod \ -or \( -name '*.bs' -a -empty \) \) -exec rm -f {} \; -find %{buildroot} -depth -type d -exec rmdir {} \; -chmod -R u+w %{buildroot} +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot} %find_lang %{name} @@ -47,8 +52,8 @@ for file in %{buildroot}%{_mandir}/*/man*/*.gz; do done %check -# check is currently broken due to absence of data-23/fonts -#./Build test verbose=1 +# The tests are unclean +./Build test ||: %clean rm -rf %{buildroot} @@ -71,7 +76,14 @@ rm -rf %{buildroot} %changelog -* Sun Aug 24 2008 Axel Thimm - 0.34-9 +* Tue Jan 13 2009 Ralf Corsépius - 0.34-1 +- Reset %%release. +- Add BuildRequires: perl(Test::More), BuildRequires: docbook-dtds. +- Activate tests. +- Fix Source0:-URL. +- Spec file cosmetics. + +* Sun Aug 24 2008 Axel Thimm - Update to 0.34. * Sun Jun 01 2008 Ralf Corsépius - 0.32-8 diff --git a/sources b/sources index 124574b..e9b1c74 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d026b224965b50afd9924b61d0df2a06 po4a-0.32.tar.gz +883b616e8c2ec6dc5bab53118afd270a po4a-0.34.tar.gz