[perl-EBook-EPUB] Update to 0.6 and clean up spec file

Emmanuel Seyman eseyman at fedoraproject.org
Fri Dec 23 10:29:59 UTC 2011


commit b826f70371df7e185262ddb75363ac209d7aee14
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Fri Dec 23 11:29:34 2011 +0100

    Update to 0.6 and clean up spec file

 .gitignore           |    1 +
 perl-EBook-EPUB.spec |   19 +++++++++----------
 sources              |    2 +-
 3 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 15782f6..3bf5182 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /EBook-EPUB-0.5.tar.gz
+/EBook-EPUB-0.6.tar.gz
diff --git a/perl-EBook-EPUB.spec b/perl-EBook-EPUB.spec
index 2cc6980..f65f3e5 100644
--- a/perl-EBook-EPUB.spec
+++ b/perl-EBook-EPUB.spec
@@ -1,12 +1,11 @@
 Name:           perl-EBook-EPUB
-Version:        0.5
-Release:        6%{?dist}
+Version:        0.6
+Release:        1%{?dist}
 Summary:        Perl module for generating EPUB documents
 License:        BSD
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/EBook-EPUB/
 Source0:        http://www.cpan.org/authors/id/O/OT/OTY/EBook-EPUB-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Archive::Zip)
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -17,6 +16,7 @@ BuildRequires:  perl(XML::Writer)
 BuildRequires:  perl(version)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
 %{?perl_default_subpackage_tests}
 
 %description
@@ -30,8 +30,6 @@ This module permits creating EPUB documents.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install DESTDIR=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -42,16 +40,17 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
-%doc Changes README
+%doc Changes README LICENSE
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Fri Dec 23 2011 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> - 0.6-1
+- Update to 0.6
+- Add perl default filter
+- Clean up spec file
+
 * Thu Jul 21 2011 Petr Sabata <contyk at redhat.com> - 0.5-6
 - Perl mass rebuild
 
diff --git a/sources b/sources
index 73c397b..569b2ad 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ed6a49cba2a173db3c479b229aec0cc2  EBook-EPUB-0.5.tar.gz
+bf16ca7c280f0fff88343f105c3ce121  EBook-EPUB-0.6.tar.gz


More information about the scm-commits mailing list