8
0

Accepting request 227792 from home:mlin7442:branches:devel:languages:perl

update the license, per README the license is the same as Perl. re-run cpanspec.

OBS-URL: https://build.opensuse.org/request/show/227792
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Cache-Cache?expand=0&rev=12
This commit is contained in:
Stephan Kulow
2014-03-27 18:45:43 +00:00
committed by Git OBS Bridge
parent cdd1b99815
commit c3d1b9d24e
2 changed files with 28 additions and 26 deletions

View File

@@ -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 Wed Dec 1 06:55:32 UTC 2010 - coolo@novell.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Cache-Cache # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -15,22 +15,24 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: perl-Cache-Cache 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 Version: 1.06
Release: 1 Release: 0
Source: %{real_name}-%{version}.tar.gz %define cpan_name Cache-Cache
BuildRequires: perl-Digest-SHA1 perl-Error Summary: The Cache::Cache cache interface
BuildRequires: perl-macros License: GPL-1.0+ or Artistic-1.0
Requires: perl-Error perl-Digest-SHA1 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 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} %{perl_requires}
%description %description
@@ -47,27 +49,22 @@ remove, size, purge, and clear instance methods and their corresponding static
methods for persisting data across method calls. methods for persisting data across method calls.
%prep %prep
%setup -n %{real_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?jobs:-j%jobs} %{__make} %{?_smp_mflags}
%check %check
make test %{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%clean %files -f %{name}.files
rm -rf %{buildroot} %defattr(-,root,root,755)
%doc CHANGES README COPYING
%files
%defattr(-, root, root)
%doc CHANGES README MANIFEST COPYING DISCLAIMER
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Cache
%{perl_vendorarch}/auto/Cache
%changelog %changelog