diff --git a/perl-IPC-ShareLite.changes b/perl-IPC-ShareLite.changes index 78fbe8c..658eebc 100644 --- a/perl-IPC-ShareLite.changes +++ b/perl-IPC-ShareLite.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jun 12 18:23:56 UTC 2025 - Tina Müller + +- Normalize CPAN version + See https://github.com/openSUSE/cpanspec/issues/47 for details + ------------------------------------------------------------------- Fri Sep 19 05:29:17 UTC 2014 - coolo@suse.com diff --git a/perl-IPC-ShareLite.spec b/perl-IPC-ShareLite.spec index bd96770..5e2ba14 100644 --- a/perl-IPC-ShareLite.spec +++ b/perl-IPC-ShareLite.spec @@ -1,7 +1,7 @@ # # spec file for package perl-IPC-ShareLite # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,22 +12,27 @@ # 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-IPC-ShareLite -Version: 0.17 -Release: 0 %define cpan_name IPC-ShareLite +Name: perl-IPC-ShareLite +Version: 0.170.0 +Release: 0 +# 0.17 -> normalize -> 0.170.0 +%define cpan_version 0.17 +License: Artistic-1.0 OR GPL-1.0-or-later Summary: Lightweight interface to shared memory -License: Artistic-1.0 or GPL-1.0+ -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/IPC-ShareLite/ -Source: http://www.cpan.org/authors/id/A/AN/ANDYA/%{cpan_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/A/AN/ANDYA/%{cpan_name}-%{cpan_version}.tar.gz BuildRequires: perl BuildRequires: perl-macros +Provides: perl(Devel::CheckLib) = 0.300.0 +Provides: perl(IO::CaptureOutput) = 1.0801 +Provides: perl(IO::CaptureOutput::_proxy) +Provides: perl(IPC::ShareLite) = %{version} +%undefine __perllib_provides %{perl_requires} %description @@ -87,14 +92,14 @@ Release the lock by calling the unlock() method: $share->unlock; %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} -p1 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%make_build %check -%{__make} test +make test %install %perl_make_install @@ -102,7 +107,6 @@ Release the lock by calling the unlock() method: %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes README %changelog