forked from pool/perl-String-RewritePrefix
Accepting request 767812 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/767812 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-String-RewritePrefix?expand=0&rev=10
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5cbbccd5636315a90ddec3610c718411b971ae4b74d5e9e2c9a0b3f976a0dda2
|
||||
size 13553
|
3
String-RewritePrefix-0.008.tar.gz
Normal file
3
String-RewritePrefix-0.008.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e45a31d6914e8f5fc722ef48d8819400dafc02105e0c61414aabbf01bce208eb
|
||||
size 16528
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#description: |-
|
||||
# override description from CPAN
|
||||
#summary: override summary from CPAN
|
||||
#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_build: |-
|
||||
# rm unused.files
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 26 03:10:47 UTC 2020 - <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.008
|
||||
see /usr/share/doc/packages/perl-String-RewritePrefix/Changes
|
||||
|
||||
0.008 2020-01-25 16:10:30-05:00 America/New_York
|
||||
more tests (thanks, Olivier Mengué!)
|
||||
warn when rewriting an empty list in scalar context (thanks, Olivier Mengué!)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 26 07:35:13 UTC 2013 - coolo@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-String-RewritePrefix
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,26 +12,26 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-String-RewritePrefix
|
||||
Version: 0.007
|
||||
Version: 0.008
|
||||
Release: 0
|
||||
%define cpan_name String-RewritePrefix
|
||||
Summary: rewrite strings based on a set of known prefixes
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Summary: Rewrite strings based on a set of known prefixes
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/String-RewritePrefix/
|
||||
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Sub::Exporter) >= 0.972
|
||||
BuildRequires: perl(Test::More) >= 0.96
|
||||
#BuildRequires: perl(String::RewritePrefix)
|
||||
Requires: perl(Sub::Exporter) >= 0.972
|
||||
%{perl_requires}
|
||||
|
||||
@@ -42,11 +42,11 @@ rewrite strings based on a set of known prefixes
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
@@ -55,6 +55,7 @@ rewrite strings based on a set of known prefixes
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE README
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user