forked from pool/perl-IPC-System-Simple
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
8c1da565a0 | |||
7da88fe68d |
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 20 13:05:23 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Normalize CPAN version
|
||||
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 24 03:10:53 UTC 2020 - <timueller+perl@suse.de>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-IPC-System-Simple
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LINUX 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
|
||||
@@ -16,20 +16,22 @@
|
||||
#
|
||||
|
||||
|
||||
Name: perl-IPC-System-Simple
|
||||
Version: 1.30
|
||||
Release: 0
|
||||
%define cpan_name IPC-System-Simple
|
||||
Summary: Run commands simply, with detailed diagnostics
|
||||
Name: perl-IPC-System-Simple
|
||||
Version: 1.300.0
|
||||
Release: 0
|
||||
# 1.30 -> normalize -> 1.300.0
|
||||
%define cpan_version 1.30
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/%{cpan_name}-%{version}.tar.gz
|
||||
Summary: Run commands simply, with detailed diagnostics
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
Provides: perl(IPC::System::Simple) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -65,12 +67,13 @@ specify which exit values are acceptable, trap errors, or process
|
||||
diagnostics, then read on!
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
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}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
@@ -81,7 +84,6 @@ make test
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes examples README
|
||||
%license LICENSE
|
||||
|
||||
|
Reference in New Issue
Block a user