forked from pool/perl-String-Truncate
Accepting request 104452 from devel:openSUSE:Factory:patch-license
patch license to follow spdx.org standard OBS-URL: https://build.opensuse.org/request/show/104452 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-String-Truncate?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
3700842230
commit
58d03efd22
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 13 10:52:19 UTC 2012 - coolo@suse.com
|
||||
|
||||
- patch license to follow spdx.org standard
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 20 08:54:44 UTC 2011 - coolo@novell.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-String-Truncate
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 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
|
||||
@@ -16,15 +16,14 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: perl-String-Truncate
|
||||
Version: 1.100600
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
Release: 0
|
||||
%define cpan_name String-Truncate
|
||||
Summary: a module for when strings are too long to be displayed in...
|
||||
Url: http://search.cpan.org/dist/String-Truncate/
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/String-Truncate/
|
||||
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -40,37 +39,29 @@ Requires: perl(Sub::Exporter::Util)
|
||||
Requires: perl(Sub::Install) >= 0.03
|
||||
%{perl_requires}
|
||||
|
||||
|
||||
%description
|
||||
a module for when strings are too long to be displayed in...
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE README
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user