Accepting request 1156166 from home:tinita:branches:d:l:p
- Use %autosetup instead of deprecated %patchN OBS-URL: https://build.opensuse.org/request/show/1156166 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Digest?expand=0&rev=19
This commit is contained in:
		@@ -1,3 +1,8 @@
 | 
				
			|||||||
 | 
					-------------------------------------------------------------------
 | 
				
			||||||
 | 
					Thu Mar  7 23:41:07 UTC 2024 - Tina Müller <tina.mueller@suse.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Use %autosetup instead of deprecated %patchN
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-------------------------------------------------------------------
 | 
					-------------------------------------------------------------------
 | 
				
			||||||
Tue Dec  5 00:09:47 UTC 2017 - stefan.bruens@rwth-aachen.de
 | 
					Tue Dec  5 00:09:47 UTC 2017 - stefan.bruens@rwth-aachen.de
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
#
 | 
					#
 | 
				
			||||||
# spec file for package perl-IO-Digest
 | 
					# spec file for package perl-IO-Digest
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 | 
					# Copyright (c) 2024 SUSE LLC
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# All modifications and additions to the file contributed by third parties
 | 
					# All modifications and additions to the file contributed by third parties
 | 
				
			||||||
# remain the property of their copyright owners, unless otherwise agreed
 | 
					# remain the property of their copyright owners, unless otherwise agreed
 | 
				
			||||||
@@ -12,7 +12,7 @@
 | 
				
			|||||||
# license that conforms to the Open Source Definition (Version 1.9)
 | 
					# license that conforms to the Open Source Definition (Version 1.9)
 | 
				
			||||||
# published by the Open Source Initiative.
 | 
					# 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/
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -21,9 +21,9 @@ Version:        0.11
 | 
				
			|||||||
Release:        0
 | 
					Release:        0
 | 
				
			||||||
%define cpan_name IO-Digest
 | 
					%define cpan_name IO-Digest
 | 
				
			||||||
Summary:        Calculate digests while reading or writing
 | 
					Summary:        Calculate digests while reading or writing
 | 
				
			||||||
License:        Artistic-1.0 or GPL-1.0+
 | 
					License:        Artistic-1.0 OR GPL-1.0-or-later
 | 
				
			||||||
Group:          Development/Libraries/Perl
 | 
					Group:          Development/Libraries/Perl
 | 
				
			||||||
Url:            http://search.cpan.org/dist/IO-Digest/
 | 
					URL:            http://search.cpan.org/dist/IO-Digest/
 | 
				
			||||||
Source:         http://www.cpan.org/authors/id/C/CL/CLKAO/%{cpan_name}-%{version}.tar.gz
 | 
					Source:         http://www.cpan.org/authors/id/C/CL/CLKAO/%{cpan_name}-%{version}.tar.gz
 | 
				
			||||||
# PATCH-FIX_OPENSUSE - fix build with Perl 5.26 and later - https://rt.cpan.org/Public/Bug/Display.html?id=121733
 | 
					# PATCH-FIX_OPENSUSE - fix build with Perl 5.26 and later - https://rt.cpan.org/Public/Bug/Display.html?id=121733
 | 
				
			||||||
Patch0:         IO-Digest_fix_perl_5_26_INC_without_cwd.patch
 | 
					Patch0:         IO-Digest_fix_perl_5_26_INC_without_cwd.patch
 | 
				
			||||||
@@ -49,8 +49,7 @@ from/to file handles. This avoids having to reread the same content
 | 
				
			|||||||
to compute the digests after having written a file.
 | 
					to compute the digests after having written a file.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%prep
 | 
					%prep
 | 
				
			||||||
%setup -q -n %{cpan_name}-%{version}
 | 
					%autosetup  -n %{cpan_name}-%{version} -p0
 | 
				
			||||||
%patch0 -p0
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
%build
 | 
					%build
 | 
				
			||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
 | 
					%{__perl} Makefile.PL INSTALLDIRS=vendor
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user