[perl-URI-FromHash] Various cleanups
Emmanuel Seyman
eseyman at fedoraproject.org
Sun Dec 9 11:25:28 UTC 2012
commit 5e3e46f3deab18e5ef5812bbfc1a50079809dd6b
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date: Sun Dec 9 12:25:20 2012 +0100
Various cleanups
perl-URI-FromHash.spec | 34 +++++++++++++++-------------------
1 files changed, 15 insertions(+), 19 deletions(-)
---
diff --git a/perl-URI-FromHash.spec b/perl-URI-FromHash.spec
index d93361f..d647c84 100644
--- a/perl-URI-FromHash.spec
+++ b/perl-URI-FromHash.spec
@@ -1,23 +1,22 @@
-
-Name: perl-URI-FromHash
-Version: 0.03
-Release: 13%{?dist}
+Name: perl-URI-FromHash
+Version: 0.03
+Release: 14%{?dist}
+Summary: Build a URI from a set of named parameters
# see lib/URI/FromHash.pm
-License: GPL+ or Artistic
-Group: Development/Libraries
-Summary: Build a URI from a set of named parameters
-Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/URI-FromHash-%{version}.tar.gz
-Url: http://search.cpan.org/dist/URI-FromHash
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-BuildArch: noarch
+License: GPL+ or Artistic
+
+Url: http://search.cpan.org/dist/URI-FromHash
+Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/URI-FromHash-%{version}.tar.gz
+BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Module::Build::Compat)
BuildRequires: perl(Params::Validate)
BuildRequires: perl(Test::More)
BuildRequires: perl(URI) >= 1.22
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%{?perl_default_filter}
%description
This module provides a simple one-subroutine "named parameters" style
@@ -33,7 +32,6 @@ particularly ugly when done inside a templating system such as Mason or
TT2.
-
%prep
%setup -q -n URI-FromHash-%{version}
@@ -42,8 +40,6 @@ TT2.
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
@@ -53,16 +49,16 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%check
make test
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-,root,root,-)
%doc Changes README LICENSE t/
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
+* Sun Dec 09 2012 Emmanuel Seyman <emmanuel at seyman.fr> - 0.03-14
+- Add perl default filter
+- Remove no-longer-used macros
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.03-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list