8
0
2025-06-12 18:24:03 +00:00
committed by Git OBS Bridge
parent fa4543c93a
commit 8ade9462c9
2 changed files with 25 additions and 15 deletions

View File

@@ -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