[packages/perl-Exception-Class-DBI] Up to 1.04

arekm arekm at pld-linux.org
Thu Nov 19 13:17:54 CET 2026


commit 76f9bdef24a717baaab0ba0b31abb40cbb5d0c7f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 19 00:25:52 2026 +0100

    Up to 1.04

 perl-Exception-Class-DBI.spec | 29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)
---
diff --git a/perl-Exception-Class-DBI.spec b/perl-Exception-Class-DBI.spec
index a2412e4..03b1529 100644
--- a/perl-Exception-Class-DBI.spec
+++ b/perl-Exception-Class-DBI.spec
@@ -1,26 +1,26 @@
 #
 # Conditional build:
-%bcond_with	tests	# perform "make test"
+%bcond_without	tests	# do not perform "make test"
 #
 %define		pdir	Exception
 %define		pnam	Class-DBI
 Summary:	Exception::Class::DBI - DBI exception objects
 Summary(pl.UTF-8):	Exception::Class::DBI - obiekty wyjątków DBI
 Name:		perl-Exception-Class-DBI
-Version:	1.01
-Release:	2
+Version:	1.04
+Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/Exception/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	370f8ff528971102a760496866bea0d0
-URL:		http://search.cpan.org/dist/Exception-Class-DBI/
+Source0:	https://www.cpan.org/modules/by-authors/id/P/PL/PLICEASE/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	ca0713c4f581036b35f637522d346c71
+URL:		https://metacpan.org/dist/Exception-Class-DBI
 BuildRequires:	perl-devel >= 1:5.8.0
-BuildRequires:	perl-Module-Build >= 0.20
+BuildRequires:	perl-ExtUtils-MakeMaker >= 6.64
 %if %{with tests}
 BuildRequires:	perl-DBI >= 1.28
 BuildRequires:	perl-Exception-Class >= 1.02
-BuildRequires:	perl-Test-Simple >= 0.40
+BuildRequires:	perl-Test-Simple >= 0.17
 %endif
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildArch:	noarch
@@ -44,25 +44,26 @@ HandleError.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
-%{__perl} -pi -e 's/^(use 5.005)(00;)$/$1_$2/' ./lib/Exception/Class/DBI.pm
 
 %build
-%{__perl} Build.PL \
-	installdirs=vendor \
-	destdir=$RPM_BUILD_ROOT
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
 
-%{?with_tests:./Build test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-./Build install
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc Changes README.md
 %dir %{perl_vendorlib}/Exception/Class
 %{perl_vendorlib}/Exception/Class/*.pm
 %{_mandir}/man3/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Exception-Class-DBI.git/commitdiff/76f9bdef24a717baaab0ba0b31abb40cbb5d0c7f



More information about the pld-cvs-commit mailing list