Accepting request 1156178 from home:tinita:branches:d:l:p

- Use %autosetup instead of deprecated %patchN

OBS-URL: https://build.opensuse.org/request/show/1156178
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SystemPerl?expand=0&rev=6
This commit is contained in:
2024-03-08 10:07:19 +00:00
committed by Git OBS Bridge
parent e8eb6912bd
commit 5e486fb082
2 changed files with 9 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-SystemPerl
#
# Copyright (c) 2018 SUSE LINUX 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
@@ -23,7 +23,7 @@ Release: 0
Summary: SystemPerl Language Extension to SystemC
License: Artistic-2.0 OR LGPL-3.0-only
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/WSNYDER/%{cpan_name}-%{version}
URL: https://metacpan.org/release/WSNYDER/%{cpan_name}-%{version}
Source0: https://cpan.metacpan.org/authors/id/W/WS/WSNYDER/%{cpan_name}-%{version}.tar.gz
Patch1: SystemPerl-1.344_compilefix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -59,8 +59,8 @@ The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q -n %{cpan_name}-%{version}
%patch1 -p1
%autosetup -n %{cpan_name}-%{version} -p1
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%check