[packages/perl-Convert-BinHex] Up to 1.125

arekm arekm at pld-linux.org
Thu Nov 19 13:26:01 CET 2026


commit ce600844eea7fb8e369fd3e1999675893a36abfe
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 19 00:18:36 2026 +0100

    Up to 1.125

 perl-Convert-BinHex.spec | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)
---
diff --git a/perl-Convert-BinHex.spec b/perl-Convert-BinHex.spec
index 68920d1..f5b1956 100644
--- a/perl-Convert-BinHex.spec
+++ b/perl-Convert-BinHex.spec
@@ -1,18 +1,26 @@
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
 %define	pdir	Convert
 %define	pnam	BinHex
 Summary:	Convert::BinHex Perl module - support for BinHex format used on Macs
 Summary(pl.UTF-8):	Moduł Perla Convert::PEM - obsługa formatu BinHex używanego na Macach
 Name:		perl-Convert-BinHex
-Version:	1.119
-Release:	3
+Version:	1.125
+Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/Convert/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	ba70ad1772abac6270078f28197a7961
+Source0:	https://www.cpan.org/modules/by-module/Convert/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	2f485e1283387ead5b92243e1aacff9d
 URL:		http://search.cpan.org/dist/Convert-BinHex/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-File-Slurp
+BuildRequires:	perl-Test-Most
+%endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -36,6 +44,8 @@ pozwalającą zamienić te strumienie danych z powrotem na pliki.
 	INSTALLDIRS=vendor
 %{__make}
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -47,6 +57,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README docs
+%doc Changes README
+%attr(755,root,root) %{_bindir}/binhex.pl
+%attr(755,root,root) %{_bindir}/debinhex.pl
 %{perl_vendorlib}/Convert/BinHex.pm
 %{_mandir}/man3/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Convert-BinHex.git/commitdiff/ce600844eea7fb8e369fd3e1999675893a36abfe



More information about the pld-cvs-commit mailing list