8
0

Accepting request 1156056 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/1156056
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Perl-Version?expand=0&rev=10
This commit is contained in:
2024-03-08 17:08:47 +00:00
committed by Git OBS Bridge
4 changed files with 30 additions and 22 deletions

View File

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

View File

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

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jan 6 03:08:10 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 1.016
see /usr/share/doc/packages/perl-Perl-Version/Changes
-------------------------------------------------------------------
Mon Mar 17 08:29:25 UTC 2014 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Perl-Version
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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
@@ -12,25 +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-Perl-Version
Version: 1.013
Release: 0
%define cpan_name Perl-Version
Name: perl-Perl-Version
Version: 1.16.0
Release: 0
%define cpan_version 1.016
License: Artistic-2.0
Summary: Parse and manipulate Perl version strings
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Perl-Version/
Source: http://www.cpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(File::Slurp::Tiny)
Requires: perl(File::Slurp::Tiny)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64
BuildRequires: perl(Test::More) >= 1
Provides: perl(Perl::Version) = %{version}
%define __perllib_provides /bin/true
%{perl_requires}
%description
@@ -91,15 +92,16 @@ case if either of them starts with a zero they will be zero padded to the
same length when stringifying the version.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
%autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
@@ -107,7 +109,7 @@ find . -type f -print0 | xargs -0 chmod 644
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes examples Notes.txt README
%doc Changes examples Notes.txt
%license LICENSE
%changelog