public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Robin Norwood <rnorwood@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Business-ISBN] epel9: New package: perl-Business-ISBN
Date: Tue, 18 Aug 2026 10:50:36 GMT	[thread overview]
Message-ID: <178705023618.1.3697470096572510178.rpms-perl-Business-ISBN-5948d4f00270@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-Business-ISBN
Branch : epel9
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=epel9

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

                 reply	other threads:[~2026-08-18 10:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178705023618.1.3697470096572510178.rpms-perl-Business-ISBN-5948d4f00270@fedoraproject.org \
    --to=rnorwood@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox