forked from pool/perl-IO-stringy
Accepting request 305560 from devel:languages:perl
- fix license to be perl's - updated to 2.111 see /usr/share/doc/packages/perl-IO-stringy/ OBS-URL: https://build.opensuse.org/request/show/305560 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-stringy?expand=0&rev=23
This commit is contained in:
commit
2cf6f04936
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7e3cf438b3938a2692cb502704c0bbfa2c5ec4a5071ab77906a2432126b004ee
|
|
||||||
size 40590
|
|
3
IO-stringy-2.111.tar.gz
Normal file
3
IO-stringy-2.111.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8c67fd6608c3c4e74f7324f1404a856c331dbf48d9deda6aaa8296ea41bf199d
|
||||||
|
size 41515
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
license: Perl License
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 6 11:11:29 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- fix license to be perl's
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 2 09:26:25 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 2.111
|
||||||
|
see /usr/share/doc/packages/perl-IO-stringy/
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 15 10:51:34 UTC 2013 - idonmez@suse.com
|
Mon Apr 15 10:51:34 UTC 2013 - idonmez@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-IO-stringy
|
# spec file for package perl-IO-stringy
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX 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,51 +17,43 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-IO-stringy
|
Name: perl-IO-stringy
|
||||||
%define cpan_name IO-stringy
|
Version: 2.111
|
||||||
Url: http://search.cpan.org/perldoc?IO::Stringy
|
|
||||||
Provides: p_iostrn
|
|
||||||
Obsoletes: p_iostrn
|
|
||||||
Summary: I/O on in-core objects like strings and arrays
|
|
||||||
License: Artistic-1.0
|
|
||||||
Group: Development/Libraries/Perl
|
|
||||||
Version: 2.110
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/D/DS/DSKOLL/%{cpan_name}-%{version}.tar.gz
|
#Upstream: CHECK(GPL-1.0+ or Artistic-1.0)
|
||||||
|
%define cpan_name IO-stringy
|
||||||
|
Summary: IO::stringy Perl module
|
||||||
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
Url: http://search.cpan.org/dist/IO-stringy/
|
||||||
|
Source0: http://www.cpan.org/authors/id/D/DS/DSKOLL/%{cpan_name}-%{version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
I/O on in-core objects like strings and arrays
|
IO::stringy Perl module
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Eryq <eryq@zeegee.com>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
find . -type f -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
%perl_make_install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,755)
|
||||||
%{perl_vendorlib}/IO
|
%doc COPYING examples README
|
||||||
%{perl_vendorarch}/auto/IO
|
|
||||||
%{perl_vendorarch}/auto/IO/Stringy
|
|
||||||
%doc %{_mandir}/man3/*.gz
|
|
||||||
%doc MANIFEST COPYING README*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user