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

- Use %autosetup instead of deprecated %patchN

OBS-URL: https://build.opensuse.org/request/show/1156201
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Scan?expand=0&rev=11
This commit is contained in:
2024-03-08 10:14:10 +00:00
committed by Git OBS Bridge
parent c2b579a711
commit 8038ccb2b7
2 changed files with 19 additions and 12 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 8 00:19:45 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- Use %autosetup instead of deprecated %patchN
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 29 18:31:20 UTC 2010 - coolo@novell.com Mon Nov 29 18:31:20 UTC 2010 - coolo@novell.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Text-Scan # spec file
# #
# Copyright (c) 2011 SUSE LINUX Products 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,21 +12,25 @@
# 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/
# #
# norootforbuild
%define modname Text-Scan %define modname Text-Scan
Name: perl-%{modname} Name: perl-%{modname}
Version: 0.31 Version: 0.31
Release: 1 Release: 0
Url: http://search.cpan.org/~tbusch/Text-Scan-0.30/Scan.pm URL: http://search.cpan.org/~tbusch/Text-Scan-0.30/Scan.pm
Summary: Fast search for very large numbers of keys in a body of text Summary: Fast search for very large numbers of keys in a body of text
Requires: perl = %{perl_version} perl-libwww-perl Requires: perl = %{perl_version} perl-libwww-perl
Requires: perl-TimeDate perl-Inline Requires: perl-Inline
BuildRequires: perl perl-Inline perl-TimeDate perl-libwww-perl perl-macros Requires: perl-TimeDate
BuildRequires: perl
BuildRequires: perl-Inline
BuildRequires: perl-TimeDate
BuildRequires: perl-libwww-perl
BuildRequires: perl-macros
License: GPL/Artistic License: GPL/Artistic
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Source: http://search.cpan.org/CPAN/authors/id/T/TB/TBUSCH/%{modname}-%{version}.tar.gz Source: http://search.cpan.org/CPAN/authors/id/T/TB/TBUSCH/%{modname}-%{version}.tar.gz
@@ -44,10 +48,8 @@ Authors:
Thomas Busch, <tbusch@cpan.org> Thomas Busch, <tbusch@cpan.org>
Jerome Eteve, <jerome.eteve@gmail.com> Jerome Eteve, <jerome.eteve@gmail.com>
%prep %prep
%setup -q -n %{modname}-%{version} %autosetup -n %{modname}-%{version} -p1
%patch0 -p1
%build %build
echo y | perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" echo y | perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"