[perl-Pod-Xhtml] Various cleanups

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

 



commit de50817bf4670c091b0fb9fc4907b843ba4228b6
Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx>
Date:   Sun Nov 18 12:24:36 2012 +0100

    Various cleanups

 perl-Pod-Xhtml.spec |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/perl-Pod-Xhtml.spec b/perl-Pod-Xhtml.spec
index 6fe2efd..ad23b52 100644
--- a/perl-Pod-Xhtml.spec
+++ b/perl-Pod-Xhtml.spec
@@ -1,12 +1,10 @@
 Name:           perl-Pod-Xhtml
 Version:        1.61
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Generate well-formed XHTML documents from POD format documentation
 License:        GPLv2+
-Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Pod-Xhtml/
 Source0:        http://www.cpan.org/authors/id/B/BB/BBC/Pod-Xhtml-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::Assertions::TestScript)
@@ -15,6 +13,8 @@ BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(URI::Escape)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 This module parses files containing POD content and generates well-formed
 XHTML documents from it.
@@ -27,8 +27,6 @@ XHTML documents from it.
 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 {} \;
@@ -39,11 +37,7 @@ 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 COPYING README
 %{perl_vendorlib}/*
 %{_bindir}/pod2xhtml
@@ -51,6 +45,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Sun Nov 18 2012 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 1.61-8
+- Remove no-longer-used macros
+- Add perl default filter
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.61-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
--
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