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

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
# 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)
# 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
Name: perl-%{modname}
Version: 0.31
Release: 1
Url: http://search.cpan.org/~tbusch/Text-Scan-0.30/Scan.pm
Release: 0
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
Requires: perl = %{perl_version} perl-libwww-perl
Requires: perl-TimeDate perl-Inline
BuildRequires: perl perl-Inline perl-TimeDate perl-libwww-perl perl-macros
Requires: perl-Inline
Requires: perl-TimeDate
BuildRequires: perl
BuildRequires: perl-Inline
BuildRequires: perl-TimeDate
BuildRequires: perl-libwww-perl
BuildRequires: perl-macros
License: GPL/Artistic
Group: Development/Libraries/Perl
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>
Jerome Eteve, <jerome.eteve@gmail.com>
%prep
%setup -q -n %{modname}-%{version}
%patch0 -p1
%autosetup -n %{modname}-%{version} -p1
%build
echo y | perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"