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
|
Mon Jun 20 08:54:44 UTC 2011 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-String-Truncate
|
# 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
|
# 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
|
||||||
@@ -16,15 +16,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-String-Truncate
|
Name: perl-String-Truncate
|
||||||
Version: 1.100600
|
Version: 1.100600
|
||||||
Release: 1
|
Release: 0
|
||||||
License: GPL+ or Artistic
|
|
||||||
%define cpan_name String-Truncate
|
%define cpan_name String-Truncate
|
||||||
Summary: a module for when strings are too long to be displayed in...
|
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
|
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
|
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@@ -40,37 +39,29 @@ Requires: perl(Sub::Exporter::Util)
|
|||||||
Requires: perl(Sub::Install) >= 0.03
|
Requires: perl(Sub::Install) >= 0.03
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
a module for when strings are too long to be displayed in...
|
a module for when strings are too long to be displayed in...
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
%{__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
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes LICENSE README
|
%doc Changes LICENSE README
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user