[packages/perl-DateTime-Format-Natural] force unversioned perl interpreter; verbose files

glen glen at pld-linux.org
Wed Jan 15 17:55:53 CET 2014


commit 06cbce34c5554a75e83940a058a3bfba83b485a4
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jan 15 18:55:51 2014 +0200

    force unversioned perl interpreter; verbose files

 perl-DateTime-Format-Natural.spec | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/perl-DateTime-Format-Natural.spec b/perl-DateTime-Format-Natural.spec
index 63a8b71..37c7047 100644
--- a/perl-DateTime-Format-Natural.spec
+++ b/perl-DateTime-Format-Natural.spec
@@ -2,14 +2,14 @@
 # Conditional build:
 %bcond_with	tests		# perform "make test"
 
-%include	/usr/lib/rpm/macros.perl
 %define	pdir	DateTime
 %define	pnam	Format-Natural
+%include	/usr/lib/rpm/macros.perl
 Summary:	DateTime::Format::Natural - Create machine readable date/time with natural parsing logic
 Summary(pl.UTF-8):	DateTime::Format::Natural - Tworzy datę/czas dogodny dla maszyn
 Name:		perl-DateTime-Format-Natural
 Version:	1.02
-Release:	1
+Release:	2
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-authors/id/S/SC/SCHUBIGER/%{pdir}-%{pnam}-%{version}.tar.gz
@@ -43,7 +43,7 @@ dogodny dla maszyn.
 
 %build
 %{__perl} Build.PL \
-	destdir=$RPM_BUILD_ROOT \
+	perl=%{__perl} \
 	installdirs=vendor
 ./Build
 
@@ -51,8 +51,8 @@ dogodny dla maszyn.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-./Build install
+./Build install \
+	destdir=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -60,7 +60,8 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc Changes
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/dateparse
 %{perl_vendorlib}/DateTime/Format/*.pm
 %{perl_vendorlib}/DateTime/Format/Natural
-%{_mandir}/man?/*
+%{_mandir}/man1/dateparse.1p*
+%{_mandir}/man3/DateTime::Format::Natural*.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-DateTime-Format-Natural.git/commitdiff/06cbce34c5554a75e83940a058a3bfba83b485a4



More information about the pld-cvs-commit mailing list