[packages/perl-Apache-Test] - refreshed spec, up to 1.43

qboosh qboosh at pld-linux.org
Sun Sep 14 15:31:49 CEST 2025


commit f3d962a3fd4d445c94d9da0081f7a39a7db8ac9b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 14 15:34:45 2025 +0200

    - refreshed spec, up to 1.43

 perl-Apache-Test.spec | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/perl-Apache-Test.spec b/perl-Apache-Test.spec
index 52e8836..010f1ad 100644
--- a/perl-Apache-Test.spec
+++ b/perl-Apache-Test.spec
@@ -1,22 +1,24 @@
 #
 # Conditional build:
-%bcond_with	tests		# perform "make test" (requires configured test server)
+%bcond_with	tests	# test suite
 #
 %define		pdir	Apache
 %define		pnam	Test
 Summary:	Apache::Test - Test.pm wrapper with helpers for testing Apache
 Summary(pl.UTF-8):	Apache::Test - wrapper na Test.pm z funkcjami do testowania Apache
 Name:		perl-Apache-Test
-Version:	1.37
-Release:	2
+# note: 1.43 contained in mod_perl 2.0.12+
+Version:	1.43
+Release:	0.1
 Epoch:		1
-License:	Apache Software License 2.0
+License:	Apache v2.0
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	179f247fc5c7d11387b9c73ae3fa6f71
-URL:		http://search.cpan.org/dist/Apache-Test/
+Source0:	https://www.cpan.org/modules/by-module/Apache/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	1778e4b2ed4a083cbbca840780b67c72
+URL:		https://metacpan.org/dist/Apache-Test
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
 %if %{with tests}
 BuildRequires:	apache-mod_env
 %endif
@@ -40,27 +42,25 @@ pomocniczymi do testowania serwera Apache.
 %build
 %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
+
 %{__make}
 
 %{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-rm -f .mypacklist # contains list of files - install will try to remove them
+
 %{__make} pure_install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/Bundle/ApacheTest.pm
-rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/Apache/TestConfigData.pm
-rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Apache/Test/.packlist
-
-#mans make conflict with identical mans from perl-mod_perl
-rm -rf $RPM_BUILD_ROOT%{_mandir}
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/Bundle/ApacheTest.pm \
+	$RPM_BUILD_ROOT%{_mandir}/man3/Bundle::ApacheTest.3pm
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Changes LICENSE README SUPPORT ToDo
+%doc CONTRIBUTORS Changes README SUPPORT ToDo
 %{perl_vendorlib}/Apache/Test*.pm
+%{_mandir}/man3/Apache::Test*.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Apache-Test.git/commitdiff/f3d962a3fd4d445c94d9da0081f7a39a7db8ac9b



More information about the pld-cvs-commit mailing list