[packages/perl-Attribute-Handlers] - refreshed spec, up to 1.03
qboosh
qboosh at pld-linux.org
Sun Sep 14 15:11:04 CEST 2025
commit b1a59b95b467b6539dbf5f3eaa1131f6710d01cc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Sep 14 15:14:01 2025 +0200
- refreshed spec, up to 1.03
perl-Attribute-Handlers.spec | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/perl-Attribute-Handlers.spec b/perl-Attribute-Handlers.spec
index 6ea3a99..3d52b91 100644
--- a/perl-Attribute-Handlers.spec
+++ b/perl-Attribute-Handlers.spec
@@ -1,22 +1,24 @@
#
# Conditional build:
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # unit tests
#
%define pdir Attribute
%define pnam Handlers
Summary: Attribute::Handlers - simpler definition of attribute handlers
Summary(pl.UTF-8): Attribute::Handlers - prostsze definiowanie programów obsługi atrybutów
Name: perl-Attribute-Handlers
-Version: 0.99
-Release: 1
+Version: 1.03
+# 1.03 in perl 5.38+
+Release: 0.1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/Attribute/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: a14829f106cc2d60cbf1043a439d148b
-URL: http://search.cpan.org/dist/Attribute-Handlers/
+Source0: https://www.cpan.org/modules/by-module/Attribute/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: c80a5168db4ffa4e263c7c28c4057542
+URL: https://metacpan.org/dist/Attribute-Handlers
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,6 +43,7 @@ fazy kompilacji (w bloku "CHECK").
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
+
%{__make}
%{?with_tests:%{__make} test}
@@ -56,6 +59,6 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc Changes README
+%doc Changes
%{perl_vendorlib}/Attribute/Handlers.pm
%{_mandir}/man3/Attribute::Handlers.3pm*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Attribute-Handlers.git/commitdiff/b1a59b95b467b6539dbf5f3eaa1131f6710d01cc
More information about the pld-cvs-commit
mailing list