diff --git a/.gitignore b/.gitignore index aebfced..0d3a320 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ XML-Twig-3.34.tar.gz +/XML-Twig-3.35.tar.gz diff --git a/perl-XML-Twig.spec b/perl-XML-Twig.spec index 4c3a40c..79e9383 100644 --- a/perl-XML-Twig.spec +++ b/perl-XML-Twig.spec @@ -1,14 +1,12 @@ Name: perl-XML-Twig -Version: 3.34 -Release: 2%{?dist} -Summary: A perl module for processing huge XML documents in tree mode - -Group: Development/Libraries +Version: 3.35 +Release: 1%{?dist} +Summary: Perl module for processing huge XML documents in tree mode License: GPL+ or Artistic +Group: Development/Libraries URL: http://search.cpan.org/dist/XML-Twig/ -Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIROD/XML-Twig-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/M/MI/MIROD/XML-Twig-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(XML::Parser) >= 2.23 @@ -48,9 +46,8 @@ twig_print_outside_roots options. %prep %setup -q -n XML-Twig-%{version} - %build -%{__perl} Makefile.PL -y INSTALLDIRS=vendor +%{__perl} Makefile.PL -y INSTALLDIRS=perl make %{?_smp_mflags} cp Changes Changes.orig @@ -58,9 +55,12 @@ iconv -f iso88591 -t utf8 < Changes.orig > Changes %install rm -rf $RPM_BUILD_ROOT + make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + %{_fixperms} $RPM_BUILD_ROOT/* %check @@ -69,19 +69,17 @@ make test %clean rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root,-) -%doc Changes README +%doc Changes README +%{perl_privlib}/* %{_bindir}/* -%{perl_vendorlib}/* -%{_mandir}/man1/*.1* -%{_mandir}/man3/*.3pm* - +%{_mandir}/man1/* +%{_mandir}/man3/* %changelog -* Fri May 07 2010 Marcela Maslanova - 3.34-2 -- Mass rebuild with perl-5.12.0 +* Tue Sep 21 2010 Marcela Mašláňová 3.35-1 +- update * Tue Jan 19 2010 Chris Weyl 3.34-1 - update prov/dep filtering to current guidelines diff --git a/sources b/sources index 5517d85..727fa08 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -88a24e3e09b2fc1e252f7662d1291f9a XML-Twig-3.34.tar.gz +867449a4c53c628dd16bdc8de49cfc88 XML-Twig-3.35.tar.gz