From 95dc4a66ab4824eeb09d2fbdd766d13d780b4cd0 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Oct 22 2013 18:29:47 +0000 Subject: Update to 1.01 - New upstream release 1.01 - Updated the upstream URL to http://www.adelton.com/perl/TeX-Hyphen/ - Specify all dependencies - Use %{_fixperms} macro rather than our own chmod incantation - Don't need to remove empty directories from the buildroot - Use DESTDIR rather than PERL_INSTALL_ROOT - Drop %defattr, redundant since rpm 4.4 - Make %files list more explicit - Don't use macros for commands --- diff --git a/.gitignore b/.gitignore index 5b351e8..177ad85 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -TeX-Hyphen-0.140.tar.gz +/TeX-Hyphen-[0-9.]*.tar.gz diff --git a/perl-TeX-Hyphen.spec b/perl-TeX-Hyphen.spec index 2aa6c7a..46b5fd5 100644 --- a/perl-TeX-Hyphen.spec +++ b/perl-TeX-Hyphen.spec @@ -1,17 +1,19 @@ Name: perl-TeX-Hyphen -Version: 0.140 -Release: 20%{?dist} +Version: 1.01 +Release: 1%{?dist} Summary: Hyphenate words using TeX's patterns - Group: Development/Libraries License: GPL+ or Artistic -URL: http://search.cpan.org/dist/TeX-Hyphen/ +URL: http://www.adelton.com/perl/TeX-Hyphen/ Source0: http://www.cpan.org/authors/id/J/JA/JANPAZ/TeX-Hyphen-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch +BuildRequires: perl(Benchmark) BuildRequires: perl(ExtUtils::MakeMaker) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + %description %{summary}. @@ -22,16 +24,15 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* +%{_fixperms} $RPM_BUILD_ROOT %check @@ -43,13 +44,25 @@ rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/TeX/ -%{_mandir}/man3/*.3pm* +%{_mandir}/man3/TeX::Hyphen.3pm* +%{_mandir}/man3/TeX::Hyphen::czech.3pm* +%{_mandir}/man3/TeX::Hyphen::german.3pm* %changelog +* Tue Oct 22 2013 Paul Howarth - 1.01-1 +- Update to 1.01 + - Updated the upstream URL to http://www.adelton.com/perl/TeX-Hyphen/ +- Specify all dependencies +- Use %%{_fixperms} macro rather than our own chmod incantation +- Don't need to remove empty directories from the buildroot +- Use DESTDIR rather than PERL_INSTALL_ROOT +- Drop %%defattr, redundant since rpm 4.4 +- Make %%files list more explicit +- Don't use macros for commands + * Sun Aug 04 2013 Fedora Release Engineering - 0.140-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild @@ -75,7 +88,7 @@ rm -rf $RPM_BUILD_ROOT - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 22 2010 Marcela Maslanova - 0.140-12 -- 661697 rebuild for fixing problems with vendorach/lib +- Rebuild to fix problems with vendorarch/lib (#661697) * Fri May 07 2010 Marcela Maslanova - 0.140-11 - Mass rebuild with perl-5.12.0 @@ -108,7 +121,7 @@ rm -rf $RPM_BUILD_ROOT * Thu Dec 29 2005 Jose Pedro Oliveira - 0.140-3 - Dist tag. -* Fri Apr 7 2005 Michael Schwendt - 0.140-2 +* Wed Apr 6 2005 Michael Schwendt - 0.140-2 - rebuilt * Fri Jun 11 2004 Jose Pedro Oliveira - 0:0.140-0.fdr.1 diff --git a/sources b/sources index a018e15..d822049 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0ee75a22525461e72ceab8e82377d617 TeX-Hyphen-0.140.tar.gz +8b185cc681e1352334acc9c7b1cabbca TeX-Hyphen-1.01.tar.gz