8
0
Stephan Kulow
2013-11-25 10:12:41 +00:00
committed by Git OBS Bridge
parent eff5553bac
commit a66673a7c3
4 changed files with 18 additions and 22 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93d787dd8f13832a3683d219e086eaf4eb6c5391e396bfcc364c414423b0051a
size 17608

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83354112fd0c66df1e12e022df75efbf30ebdb43581c00897c86ec1c33a89c56
size 20981

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Nov 25 07:38:07 UTC 2013 - coolo@suse.com
- updated to 0.102084
- typo fixes
- update repo and bugtracker links
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 9 14:17:38 UTC 2012 - cfarrell@suse.com Mon Jan 9 14:17:38 UTC 2012 - cfarrell@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-String-Formatter # spec file for package perl-String-Formatter
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 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
@@ -17,24 +17,22 @@
Name: perl-String-Formatter Name: perl-String-Formatter
Version: 0.102082 Version: 0.102084
Release: 0 Release: 0
%define cpan_name String-Formatter %define cpan_name String-Formatter
Summary: Build sprintf-like functions of your own Summary: build sprintf-like functions of your own
License: GPL-2.0 License: GPL-2.0
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/String-Formatter/ Url: http://search.cpan.org/dist/String-Formatter/
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/String-Formatter-%{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
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
%if 0%{?suse_version} >= 1120
BuildRequires: perl(Test::More) >= 0.88
%endif
BuildRequires: perl(Params::Util) BuildRequires: perl(Params::Util)
BuildRequires: perl(Sub::Exporter) BuildRequires: perl(Sub::Exporter)
BuildRequires: perl(Test::More) >= 0.96
#BuildRequires: perl(String::Formatter)
Requires: perl(Params::Util) Requires: perl(Params::Util)
Requires: perl(Sub::Exporter) Requires: perl(Sub::Exporter)
%{perl_requires} %{perl_requires}
@@ -93,12 +91,6 @@ ways to put String::Formatter to use.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
%if 0%{?suse_version} < 1120 || 0%{?rhel_version} || 0%{?centos_version}
%{__perl} -p -i -e 's|6.31|6.30|' Makefile.PL
%{__perl} -p -i\
-e 's|(use Test::More).*;|\1 qw(no_plan);|,s|(done_testing.*)|#\1|' t/stringf.t
%endif
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -112,11 +104,8 @@ find . -type f -print0 | xargs -0 chmod 644
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist %perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files %files -f %{name}.files
%defattr(644,root,root,755) %defattr(-,root,root,755)
%doc Changes dist.ini LICENSE README %doc Changes LICENSE README
%changelog %changelog