11
0

3 Commits

5 changed files with 37 additions and 15 deletions

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-String-Util/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-String-Util)

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:319ce8cd665341e56521fa155d962a19328e90d9f7036765925ccde26725c469
size 22176

3
String-Util-1.35.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Sep 5 05:32:20 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 1.350.0 (1.35)
see /usr/share/doc/packages/perl-String-Util/Changes
-------------------------------------------------------------------
Thu Feb 2 03:09:37 UTC 2023 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-String-Util
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +18,21 @@
%define cpan_name String-Util
Name: perl-String-Util
Version: 1.34
Version: 1.350.0
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
# 1.35 -> normalize -> 1.350.0
%define cpan_version 1.35
License: MIT
Summary: String processing utility functions
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/B/BA/BAKERSCOT/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/B/BA/BAKERSCOT/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build::Tiny) >= 0.034
BuildRequires: perl(Test::More) >= 0.88
Provides: perl(String::Util) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -37,21 +40,22 @@ BuildRequires: perl(Test::More) >= 0.88
processing strings in various ways.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
./Build test
make test
%install
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes docs README
%doc Changes README.md
%license LICENSE
%changelog