[perl-Template-Alloy] use perl_default_filter

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

 



commit a716f5ceb1e7dec0bdaf633e5b68c26c662a15ef
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Sun Dec 12 08:15:32 2010 +0100

    use perl_default_filter

 perl-Template-Alloy.spec |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/perl-Template-Alloy.spec b/perl-Template-Alloy.spec
index f6bf80d..0d3272e 100644
--- a/perl-Template-Alloy.spec
+++ b/perl-Template-Alloy.spec
@@ -1,13 +1,12 @@
 Name:           perl-Template-Alloy
 Version:        1.013
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Templating tool supporting multiple markup formats 
 # see lib/Template/Alloy.pod
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Template-Alloy/
 Source0:        http://www.cpan.org/authors/id/R/RH/RHANDOM/Template-Alloy-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -22,6 +21,7 @@ BuildRequires: perl(Template::View)
 BuildRequires: perl(Template::Stash)
 BuildRequires: perl(File::Path)
 
+%{?perl_default_filter}
 
 %description
 "An alloy is a homogeneous mixture of two or more elements"
@@ -47,8 +47,6 @@ find . -type f -exec chmod -c -x {} +
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
 
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
@@ -59,9 +57,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 # README is currently 0-length
@@ -70,6 +65,10 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 
 %changelog
+* Sun Dec 12 2010 Iain Arnell <iarnell@xxxxxxxxx> 1.013-6
+- use perl_default_filter
+- clean up spec for modern rpmbuild
+
 * Thu May 06 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 1.013-5
 - Mass rebuild with perl-5.12.0
 
--
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