fix build for CentOS
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Business-ISBN?expand=0&rev=17
This commit is contained in:
parent
d09cb3852a
commit
f64427eae2
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 24 19:59:29 UTC 2011 - chris@computersalat.de
|
||||
|
||||
- fix build for CentOS
|
||||
* Unknown tag: Recommends:
|
||||
- cleanup spec
|
||||
* header
|
||||
* remove Author from desc
|
||||
* macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 13:30:49 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Business-ISBN (Version 2.05)
|
||||
# spec file for package perl-Business-ISBN
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,7 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%bcond_with pod
|
||||
%bcond_with opt
|
||||
@ -24,7 +23,7 @@ Name: perl-Business-ISBN
|
||||
%define cpan_name Business-ISBN
|
||||
Summary: Work with International Standard Book Numbers
|
||||
Version: 2.05
|
||||
Release: 9
|
||||
Release: 10
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Business-ISBN/
|
||||
@ -48,17 +47,15 @@ BuildRequires: perl(Test::More)
|
||||
## but not used
|
||||
#BuildRequires: perl(URI)
|
||||
Requires: perl(Business::ISBN::Data) >= 20081208
|
||||
%if 0%{?suse_version} > 1010
|
||||
Recommends: perl(GD::Barcode::EAN13)
|
||||
Recommends: perl(LWP::Simple)
|
||||
%endif
|
||||
|
||||
%description
|
||||
This modules handles International Standard Book Numbers, including ISBN-10
|
||||
and ISBN-13.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Brian d Foy <bdfoy@cpan.org>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
@ -71,11 +68,7 @@ Authors:
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
# do not perl_process_packlist (noarch)
|
||||
# remove .packlist file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||
# remove perllocal.pod file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
|
Loading…
x
Reference in New Issue
Block a user