[packages/perl-Text-Trac] Up to 0.24

arekm arekm at pld-linux.org
Thu Nov 19 13:02:45 CET 2026


commit 4f066943429b65036debabdd46dbd72219af4088
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 19 01:10:58 2026 +0100

    Up to 0.24

 perl-Text-Trac.spec | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/perl-Text-Trac.spec b/perl-Text-Trac.spec
index 86af38d..0c689ee 100644
--- a/perl-Text-Trac.spec
+++ b/perl-Text-Trac.spec
@@ -6,17 +6,24 @@
 %define		pnam	Trac
 Summary:	Text::Trac - extension for formatting text with Trac Wiki Style
 Name:		perl-Text-Trac
-Version:	0.15
-Release:	2
+Version:	0.24
+Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	57757c5e9c742232b811af33b224357a
+Source0:	https://www.cpan.org/authors/id/M/MA/MANWAR/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	e241d0ee3a9b2e9b6360de97e15adbd5
 URL:		http://search.cpan.org/dist/Text-Trac/
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
+BuildRequires:	perl-Class-Accessor
+BuildRequires:	perl-Class-Data-Inheritable
+BuildRequires:	perl-HTML-Parser
+BuildRequires:	perl-List-MoreUtils
+BuildRequires:	perl-Path-Tiny
 BuildRequires:	perl-Test-Base
+BuildRequires:	perl-Tie-IxHash
+BuildRequires:	perl-UNIVERSAL-require
 %endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -28,6 +35,8 @@ format.
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
+%{__sed} -i -e '1s,^#!.*/env perl,#!%{__perl},' script/trac2html
+
 %build
 %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
@@ -46,7 +55,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README
+%doc Changes README.md
+%attr(755,root,root) %{_bindir}/trac2html
 %{perl_vendorlib}/Text/Trac.pm
 %{perl_vendorlib}/Text/Trac
 %{_mandir}/man3/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Text-Trac.git/commitdiff/4f066943429b65036debabdd46dbd72219af4088



More information about the pld-cvs-commit mailing list