forked from pool/perl-Cache-Cache
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:
committed by
Git OBS Bridge
parent
cdd1b99815
commit
c3d1b9d24e
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user