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
|
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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,7 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
%bcond_with pod
|
%bcond_with pod
|
||||||
%bcond_with opt
|
%bcond_with opt
|
||||||
@ -24,7 +23,7 @@ Name: perl-Business-ISBN
|
|||||||
%define cpan_name Business-ISBN
|
%define cpan_name Business-ISBN
|
||||||
Summary: Work with International Standard Book Numbers
|
Summary: Work with International Standard Book Numbers
|
||||||
Version: 2.05
|
Version: 2.05
|
||||||
Release: 9
|
Release: 10
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/Business-ISBN/
|
Url: http://search.cpan.org/dist/Business-ISBN/
|
||||||
@ -48,17 +47,15 @@ BuildRequires: perl(Test::More)
|
|||||||
## but not used
|
## but not used
|
||||||
#BuildRequires: perl(URI)
|
#BuildRequires: perl(URI)
|
||||||
Requires: perl(Business::ISBN::Data) >= 20081208
|
Requires: perl(Business::ISBN::Data) >= 20081208
|
||||||
|
%if 0%{?suse_version} > 1010
|
||||||
Recommends: perl(GD::Barcode::EAN13)
|
Recommends: perl(GD::Barcode::EAN13)
|
||||||
Recommends: perl(LWP::Simple)
|
Recommends: perl(LWP::Simple)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This modules handles International Standard Book Numbers, including ISBN-10
|
This modules handles International Standard Book Numbers, including ISBN-10
|
||||||
and ISBN-13.
|
and ISBN-13.
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Brian d Foy <bdfoy@cpan.org>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
@ -71,11 +68,7 @@ Authors:
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
# do not perl_process_packlist (noarch)
|
%perl_process_packlist
|
||||||
# remove .packlist file
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
|
||||||
# remove perllocal.pod file
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user