public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Business-ISBN] epel10.2: New package: perl-Business-ISBN
@ 2026-08-18 10:41 Robin Norwood
0 siblings, 0 replies; only message in thread
From: Robin Norwood @ 2026-08-18 10:41 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/perl-Business-ISBN
Branch : epel10.2
Commit : 5948d4f00270fd904824116d5cb339ca05f6a621
Author : Robin Norwood <rnorwood@fedoraproject.org>
Date : 2007-10-29T18:38:42+00:00
Stats : +85/-0 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Business-ISBN/c/5948d4f00270fd904824116d5cb339ca05f6a621?branch=epel10.2
Log:
New package: perl-Business-ISBN
---
diff --git a/.cvsignore b/.cvsignore
index e69de29..2210852 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+Business-ISBN-2.03.tar.gz
diff --git a/perl-Business-ISBN-2.03-fix-barcode-test.patch b/perl-Business-ISBN-2.03-fix-barcode-test.patch
new file mode 100644
index 0000000..1f1b12a
--- /dev/null
+++ b/perl-Business-ISBN-2.03-fix-barcode-test.patch
@@ -0,0 +1,13 @@
+--- Business-ISBN-2.03/t/png_barcode.t Wed Mar 14 03:21:08 2007
++++ Business-ISBN-2.03/t/png_barcode.t Fri Oct 26 14:58:15 2007
+@@ -17,8 +17,8 @@
+ ok( $isbn->is_valid, "Valid ISBN" );
+
+ SKIP: {
+- skip "Need GD::Barcode::EAN13", 2,
+- unless eval "use GD::Barcode::EAN13";
++ skip "Need GD::Barcode::EAN13", 2
++ unless eval "require GD::Barcode::EAN13";
+
+ my $png = eval { $isbn->png_barcode };
+ ok( defined $png, "PNG defined" );
diff --git a/perl-Business-ISBN.spec b/perl-Business-ISBN.spec
new file mode 100644
index 0000000..edf03a1
--- /dev/null
+++ b/perl-Business-ISBN.spec
@@ -0,0 +1,70 @@
+Name: perl-Business-ISBN
+Version: 2.03
+Release: 3%{?dist}
+Summary: Perl module to work with International Standard Book Numbers
+
+Group: Development/Libraries
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/Business-ISBN/
+Source0: http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Business-ISBN-2.03.tar.gz
+Patch0: perl-Business-ISBN-2.03-fix-barcode-test.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::Pod::Coverage)
+BuildRequires: perl(GD::Barcode::EAN13)
+BuildRequires: perl(LWP::Simple)
+BuildRequires: perl(Business::ISBN::Data)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+
+%description
+This modules handles International Standard Book Numbers, including
+ISBN-10 and ISBN-13.
+
+
+%prep
+%setup -q -n Business-ISBN-%{version}
+%patch0 -p1
+
+%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 ';'
+chmod -R u+w $RPM_BUILD_ROOT/*
+
+
+%check
+make test
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README LICENSE examples/
+%{perl_vendorlib}/*
+%{_mandir}/man3/*.3*
+
+
+%changelog
+* Fri Oct 26 2007 Robin Norwood <rnorwood@redhat.com> - 2.03-3
+- Apply patch to fix barcode test
+
+* Thu Oct 25 2007 Robin Norwood <rnorwood@redhat.com> - 2.03-2
+- Fix buildrequires and doc list
+
+* Thu Oct 25 2007 Robin Norwood <rnorwood@redhat.com> - 2.03-1
+- Initial build
diff --git a/sources b/sources
index e69de29..b8ca29d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+507f90ec2e8f53e138222895444cef4c Business-ISBN-2.03.tar.gz
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-18 10:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-18 10:41 [rpms/perl-Business-ISBN] epel10.2: New package: perl-Business-ISBN Robin Norwood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox