[perl-XML-SAX-Base] Update dependencies. Clean up spec.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 87acd8eb81dfa744c6f82a5926a795301bb97f2c
Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx>
Date:   Thu Nov 22 08:01:59 2012 +0100

    Update dependencies. Clean up spec.

 perl-XML-SAX-Base.spec |   26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)
---
diff --git a/perl-XML-SAX-Base.spec b/perl-XML-SAX-Base.spec
index c5ab086..7963b31 100644
--- a/perl-XML-SAX-Base.spec
+++ b/perl-XML-SAX-Base.spec
@@ -1,7 +1,7 @@
 Name:           perl-XML-SAX-Base
 Version:        1.08
-Release:        5%{?dist}
-Summary:        Base class SAX Drivers and Filters
+Release:        6%{?dist}
+Summary:        Base class SAX drivers and filters
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/XML-SAX-Base/
@@ -11,14 +11,12 @@ BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test)
-BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Pod) >= 1.41
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires:       perl(File::Spec)
+BuildRequires:  perl(Test::More) >= 0.88
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Conflicts:      perl-XML-SAX < 0.99-1
 
 %description
-This module has a very simple task - to be a base class for PerlSAX drivers
+This module has a very simple task - to be a base class for Perl SAX drivers
 and filters. It's default behaviour is to pass the input directly to the
 output unchanged. It can be useful to use this module as a base class so
 you don't have to, for example, implement the characters() callback.
@@ -27,14 +25,13 @@ you don't have to, for example, implement the characters() callback.
 %setup -q -n XML-SAX-Base-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-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 -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
@@ -45,11 +42,18 @@ mv $RPM_BUILD_ROOT/%{perl_vendorlib}/XML/SAX/BuildSAXBase.pl $RPM_BUILD_ROOT/%{_
 make test
 
 %files
-%doc Changes dist.ini META.json README BuildSAXBase.pl
+%doc Changes META.json README BuildSAXBase.pl
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Nov 22 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.08-6
+- Update dependencies
+- Replace PERL_INSTALL_ROOT with DESTDIR
+- Update description and summary
+- Remove deleting empty directories
+- Remove dist.ini from %%doc
+
 * Mon Aug 27 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.08-5
 - Specify all dependencies.
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux