[perl-Business-CreditCard] 0.31 bump
Petr Pisar
ppisar at fedoraproject.org
Tue Aug 16 14:25:03 UTC 2011
commit 97c1b997168c793ee93f70e214c020fefe1be482
Author: Petr Písař <ppisar at redhat.com>
Date: Tue Aug 16 16:23:58 2011 +0200
0.31 bump
.gitignore | 1 +
perl-Business-CreditCard.spec | 31 ++++++++++++++++++-------------
sources | 2 +-
3 files changed, 20 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a4aed5f..dda30c1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Business-CreditCard-0.30.tar.gz
+/Business-CreditCard-0.31.tar.gz
diff --git a/perl-Business-CreditCard.spec b/perl-Business-CreditCard.spec
index 1b97ad3..2139ee1 100644
--- a/perl-Business-CreditCard.spec
+++ b/perl-Business-CreditCard.spec
@@ -1,51 +1,56 @@
Name: perl-Business-CreditCard
-Version: 0.30
-Release: 8%{?dist}
-Summary: Validate/generate credit card checksums/names
+Version: 0.31
+Release: 1%{?dist}
+Summary: Validate/generate credit card check-sums/names
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Business-CreditCard/
Source0: http://www.cpan.org/modules/by-module/Business/Business-CreditCard-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
+# Tests only:
+BuildRequires: perl(Exporter)
+BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
These subroutines tell you whether a credit card number is self-consistent
--- whether the last digit of the number is a valid checksum for the
+-- whether the last digit of the number is a valid check-sum for the
preceding digits.
%prep
%setup -q -n Business-CreditCard-%{version}
+for F in BINS; do
+ iconv -f iso-8859-1 -t utf-8 <"$F" >"${F}.utf8"
+ touch -r "$F"{,.utf8}
+ mv "$F"{.utf8,}
+done
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc BINS Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Mon Aug 15 2011 Petr Pisar <ppisar at redhat.com> - 0.31-1
+- 0.31 bump
+- Remove BuildRoot and defattr spec code
+- Correct orthography in package description
+- Convert documentation to UTF-8
+
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.30-8
- Perl mass rebuild
diff --git a/sources b/sources
index 2326e13..f3a3e7e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2d532583fbd58561f7f46f914cdf4510 Business-CreditCard-0.30.tar.gz
+d074980f40c5790e76de4374aeee4d3c Business-CreditCard-0.31.tar.gz
More information about the scm-commits
mailing list