forked from pool/perl-XML-Entities
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:
committed by
Git OBS Bridge
parent
6020b259b8
commit
3c721f6e6e
@@ -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\" \
|
||||
|
||||
Reference in New Issue
Block a user