[perl-App-Cache] Clean up the spec file
Emmanuel Seyman
eseyman at fedoraproject.org
Sun Feb 24 10:28:17 UTC 2013
commit 53a3868356179366a8c8fbe193b8e6d9dfd774a7
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Sun Feb 24 11:28:11 2013 +0100
Clean up the spec file
perl-App-Cache.spec | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/perl-App-Cache.spec b/perl-App-Cache.spec
index 47c41e2..7110844 100644
--- a/perl-App-Cache.spec
+++ b/perl-App-Cache.spec
@@ -1,12 +1,12 @@
Name: perl-App-Cache
Summary: Easy application-level caching
Version: 0.37
-Release: 9%{?dist}
+Release: 10%{?dist}
License: GPL+ or Artistic
-Group: Development/Libraries
+
Source0: http://search.cpan.org/CPAN/authors/id/L/LB/LBROCARD/App-Cache-%{version}.tar.gz
URL: http://search.cpan.org/dist/App-Cache
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
@@ -46,7 +46,7 @@ uses App::Cache to cache both the file download and data structures,
providing much faster use when the data is cached. This module stores data
in the home directory of the user, in a dot directory. For example, the
Parse::BACKPAN::Packages cache is actually stored underneath
-"~/.parse_backpan_packages/cache/". This is so that permisssions are not a
+"~/.parse_backpan_packages/cache/". This is so that permissions are not a
problem -- it is a per-user, per-application cache.
%prep
@@ -57,8 +57,6 @@ problem -- it is a per-user, per-application cache.
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
@@ -68,16 +66,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
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
+* Sun Feb 24 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 0.37-10
+- Remove no-longer-needed macros
+- Fix a spelling mistake in the package description
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.37-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the perl-devel
mailing list