[packages/perl-Pod-Parser] - restore original binary name (podselect) for perl 5.32+; release 2

qboosh qboosh at pld-linux.org
Mon May 17 22:08:48 CEST 2021


commit 2e52afa06c46a7941b34e77df43d46c1b3845b23
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon May 17 22:10:56 2021 +0200

    - restore original binary name (podselect) for perl 5.32+; release 2

 perl-Pod-Parser.spec | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/perl-Pod-Parser.spec b/perl-Pod-Parser.spec
index bf02227..391c01f 100644
--- a/perl-Pod-Parser.spec
+++ b/perl-Pod-Parser.spec
@@ -8,7 +8,7 @@ Summary:	Pod::Parser - base class for creating POD filters and translators
 Summary(pl.UTF-8):	Pod::Parser - klasa bazowa do tworzenia klas filtrujących i tłumaczących POD
 Name:		perl-Pod-Parser
 Version:	1.63
-Release:	1
+Release:	2
 Epoch:		1
 # I'm not sure how to interpret the README...
 License:	Artistic
@@ -23,6 +23,8 @@ BuildRequires:	rpmbuild(macros) >= 1.745
 %if %{with tests}
 BuildRequires:	perl-Test-Simple >= 0.60
 %endif
+# podselect used to be bundled in perl-tools-pod
+Conflicts:	perl-tools-pod < 1:5.32
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -74,24 +76,20 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-# resolve conflict with perl-tools
-%{__mv} $RPM_BUILD_ROOT%{_bindir}/podselect{,.cpan}
-%{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/podselect{,.cpan}.1p
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc CHANGES README TODO
-%attr(755,root,root) %{_bindir}/podselect.cpan
+%attr(755,root,root) %{_bindir}/podselect
 %{perl_vendorlib}/Pod/Find.pm
 %{perl_vendorlib}/Pod/InputObjects.pm
 %{perl_vendorlib}/Pod/ParseUtils.pm
 %{perl_vendorlib}/Pod/Parser.pm
 %{perl_vendorlib}/Pod/PlainText.pm
 %{perl_vendorlib}/Pod/Select.pm
-%{_mandir}/man1/podselect.cpan.1p*
+%{_mandir}/man1/podselect.1p*
 %{_mandir}/man3/Pod::Find.3pm*
 %{_mandir}/man3/Pod::InputObjects.3pm*
 %{_mandir}/man3/Pod::ParseUtils.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Pod-Parser.git/commitdiff/2e52afa06c46a7941b34e77df43d46c1b3845b23



More information about the pld-cvs-commit mailing list