8
0

Accepting request 1154871 from home:pgajdos:p

- Use %autosetup macro. Allows to eliminate the usage of deprecated
  %patchN

OBS-URL: https://build.opensuse.org/request/show/1154871
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Entities?expand=0&rev=12
This commit is contained in:
Greg Freemyer
2024-03-05 23:44:01 +00:00
committed by Git OBS Bridge
parent 6020b259b8
commit 3c721f6e6e
2 changed files with 7 additions and 2 deletions

View File

@@ -60,10 +60,9 @@ BuildRequires: perl-macros
This module deals with decoding of strings with XML character entities.
%prep
%setup -q -n "XML-Entities"
%autosetup -p0 -n "XML-Entities"
%__sed -i '/^auto_install/d' Makefile.PL
%__cp bin/download-entities.pl bin/download-entities.pl.orig
%patch1
%__cp -v "%{SOURCE10}" .
%__grep -E 'href.*=.*/.*\.ent.*Entity Declarations' "%{SOURCE10}" | cut -f2 -d\" \