[packages/perl-URI-Find] Up to 20160806

arekm arekm at pld-linux.org
Thu Nov 19 13:06:38 CET 2026


commit 88263198f39df750557e42897bab6c1bc9735161
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 19 01:10:06 2026 +0100

    Up to 20160806

 perl-URI-Find.spec | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)
---
diff --git a/perl-URI-Find.spec b/perl-URI-Find.spec
index 6d986db..bf5face 100644
--- a/perl-URI-Find.spec
+++ b/perl-URI-Find.spec
@@ -7,18 +7,20 @@
 Summary:	URI::Find - Find URIs in arbitrary text
 Summary(pl.UTF-8):	URI::Find - znajdowanie URI w dowolnym tekście
 Name:		perl-URI-Find
-Version:	0.16
-Release:	2
+Version:	20160806
+Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-authors/id/R/RO/ROSCH/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	339279e268cf37e629f54c1091f99a13
+Source0:	http://www.cpan.org/modules/by-authors/id/M/MS/MSCHWERN/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	744411a9fe3865f8f580b1b5fea8c7e5
 URL:		http://search.cpan.org/dist/URI-Find/
-BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	perl-Module-Build >= 0.30
+BuildRequires:	perl-devel >= 1:5.8.8
 BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	perl-URI >= 1.60
 %if %{with tests}
-BuildRequires:	perl-URI >= 1.00
+BuildRequires:	perl-Test-Simple >= 0.88
 %endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -39,18 +41,20 @@ natomiast coś mniej ścisłego można znaleźć w URI::Find::Schemeless.
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
+%{__sed} -i -e '1s,#!.*/perl,#!%{__perl},' bin/urifind
+
 %build
-%{__perl} Makefile.PL \
-	INSTALLDIRS=vendor
-%{__make}
+%{__perl} Build.PL \
+	installdirs=vendor \
+	destdir=$RPM_BUILD_ROOT
+./Build
 
-%{?with_tests:%{__make} test}
+%{?with_tests:./Build test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+./Build install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -60,4 +64,5 @@ rm -rf $RPM_BUILD_ROOT
 %doc Changes README TODO
 %{perl_vendorlib}/URI/*.pm
 %{perl_vendorlib}/URI/Find
+%attr(755,root,root) %{_bindir}/urifind
 %{_mandir}/man3/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-URI-Find.git/commitdiff/88263198f39df750557e42897bab6c1bc9735161



More information about the pld-cvs-commit mailing list