[perl-Date-Pcalc] 6.1 bump, buildroot cleanup, moving towards XS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 801646ba6c502f85be2bfa479b6d0df340627725
Author: Petr Sabata <psabata@xxxxxxxxxx>
Date:   Tue Apr 5 15:02:37 2011 +0200

    6.1 bump, buildroot cleanup, moving towards XS

 .gitignore           |    1 +
 perl-Date-Pcalc.spec |   27 +++++++++++++++------------
 sources              |    2 +-
 3 files changed, 17 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5871db8..2740392 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Date-Pcalc-1.2.tar.gz
+/Date-Pcalc-6.1.tar.gz
diff --git a/perl-Date-Pcalc.spec b/perl-Date-Pcalc.spec
index eb2fc0a..597485d 100644
--- a/perl-Date-Pcalc.spec
+++ b/perl-Date-Pcalc.spec
@@ -1,17 +1,17 @@
 Name: 		perl-Date-Pcalc
-Version:	1.2
-Release:	11%{?dist}
+Version:	6.1
+Release:	1%{?dist}
 Summary:	Gregorian calendar date calculations
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 URL: 		http://search.cpan.org/dist/Date-Pcalc/
 Source0: 	http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/Date-Pcalc-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-Requires:  	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-BuildArch: 	noarch
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildRequires:  %{_bindir}/iconv
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Bit::Vector) >= 7.1
+BuildRequires:  perl(Carp::Clan) >= 5.3
 
 %description
 This package consists of a Perl module for all kinds of date calculations based
@@ -27,28 +27,31 @@ DIN 1355 and, to some extent, ISO 8601 (where applicable).
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 %{_bindir}/iconv --from-code=ISO-8859-1 --to-code=UTF-8 blib/man3/Date::Pcalc.3pm -o blib/man3/Date::Pcalc.3pm-utf8
-mv  blib/man3/Date::Pcalc.3pm-utf8 blib/man3/Date::Pcalc.3pm 
+mv blib/man3/Date::Pcalc.3pm-utf8 blib/man3/Date::Pcalc.3pm 
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %check
 make test
 
+# Interactive build, prompts if binary of PP version should be built
+# Defaults to binary if gcc is found (default Fedora buildroot contains gcc)
+# There's No option available to specify explicitly
 %files
 %defattr(-,root,root,-)
 %doc CHANGES.txt README.txt EXAMPLES.txt CREDITS.txt GNU_GPL.txt Artistic.txt
-%{perl_vendorlib}/Date
+%{perl_vendorarch}/auto/Date
+%{perl_vendorarch}/Date
 %{_mandir}/man3/*
 
 %changelog
+* Tue Apr 05 2011 Petr Sabata <psabata@xxxxxxxxxx> - 6.1-1
+- 6.1 bump
+- Removing obsolete Buildroot stuff
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.2-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 33c172e..e80507c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1c09a09337c7d2e18a17898ca577c644  Date-Pcalc-1.2.tar.gz
+6a719d8fe10ac673be5d09e003130aa8  Date-Pcalc-6.1.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux