[packages/perl-Data-Compare] - updated to 1.25 (as 1.2500 to avoid epoch bumps)

qboosh qboosh at pld-linux.org
Mon Nov 7 20:33:59 CET 2016


commit b78b44bb93d6a7db289df22f7a7096761823cfb3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Nov 7 20:33:57 2016 +0100

    - updated to 1.25 (as 1.2500 to avoid epoch bumps)

 perl-Data-Compare.spec | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/perl-Data-Compare.spec b/perl-Data-Compare.spec
index eaf1769..4810a3d 100644
--- a/perl-Data-Compare.spec
+++ b/perl-Data-Compare.spec
@@ -8,14 +8,16 @@
 Summary:	Data::Compare - compare Perl data structures
 Summary(pl.UTF-8):	Data::Compare - porównywanie struktur danych w Perlu
 Name:		perl-Data-Compare
-Version:	1.2102
+# fill to four decimal digits to avoid epoch bumps after 1.2102
+%define	ver	1.25
+Version:	%{ver}00
 Release:	1
 Epoch:		1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/Data/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	6dd3b33dd05f0bb4443e2995c583fc0f
+Source0:	http://www.cpan.org/modules/by-module/Data/%{pdir}-%{pnam}-%{ver}.tar.gz
+# Source0-md5:	6a397ab5833237f3ca05ed7277b19a7a
 URL:		http://search.cpan.org/dist/Data-Compare/
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildRequires:	perl-devel >= 1:5.8.0
@@ -35,7 +37,7 @@ Moduł Data::Compare służy do rekurencyjnego porównywania dwóch
 struktur danych.
 
 %prep
-%setup -q -n %{pdir}-%{pnam}-%{version}
+%setup -q -n %{pdir}-%{pnam}-%{ver}
 
 %build
 %{__perl} Makefile.PL \
@@ -49,6 +51,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/Data/Compare/Plugins.pod
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -57,4 +61,5 @@ rm -rf $RPM_BUILD_ROOT
 %{perl_vendorlib}/Data/Compare.pm
 %dir %{perl_vendorlib}/Data/Compare
 %{perl_vendorlib}/Data/Compare/Plugins
-%{_mandir}/man3/*
+%{_mandir}/man3/Data::Compare.3pm*
+%{_mandir}/man3/Data::Compare::Plugins*.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Data-Compare.git/commitdiff/b78b44bb93d6a7db289df22f7a7096761823cfb3



More information about the pld-cvs-commit mailing list