diff --git a/perl-Cache-Cache.changes b/perl-Cache-Cache.changes index c69975e..325c243 100644 --- a/perl-Cache-Cache.changes +++ b/perl-Cache-Cache.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 27 11:44:38 UTC 2014 - mlin@suse.com + +- update the license and polish the specfile + ------------------------------------------------------------------- Wed Dec 1 06:55:32 UTC 2010 - coolo@novell.com diff --git a/perl-Cache-Cache.spec b/perl-Cache-Cache.spec index c31be3b..09991f6 100644 --- a/perl-Cache-Cache.spec +++ b/perl-Cache-Cache.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Cache-Cache # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,22 +15,24 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: perl-Cache-Cache -%define real_name Cache-Cache -Summary: Comma-separated values manipulation routines -Url: http://search.cpan.org/perldoc?Cache::Cache -Group: Development/Libraries/Perl -License: Artistic License .. Version: 1.06 -Release: 1 -Source: %{real_name}-%{version}.tar.gz -BuildRequires: perl-Digest-SHA1 perl-Error -BuildRequires: perl-macros -Requires: perl-Error perl-Digest-SHA1 +Release: 0 +%define cpan_name Cache-Cache +Summary: The Cache::Cache cache interface +License: GPL-1.0+ or Artistic-1.0 +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Cache-Cache/ +Source: http://www.cpan.org/authors/id/J/JS/JSWARTZ/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl(Digest::SHA1) +BuildRequires: perl(Error) +BuildRequires: perl-macros +Requires: perl(Digest::SHA1) +Requires: perl(Error) %{perl_requires} %description @@ -47,27 +49,22 @@ remove, size, purge, and clear instance methods and their corresponding static methods for persisting data across method calls. %prep -%setup -n %{real_name}-%{version} +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL -make %{?jobs:-j%jobs} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} %check -make test +%{__make} test %install %perl_make_install %perl_process_packlist +%perl_gen_filelist -%clean -rm -rf %{buildroot} - -%files -%defattr(-, root, root) -%doc CHANGES README MANIFEST COPYING DISCLAIMER -%doc %{_mandir}/man?/* -%{perl_vendorlib}/Cache -%{perl_vendorarch}/auto/Cache +%files -f %{name}.files +%defattr(-,root,root,755) +%doc CHANGES README COPYING %changelog