Stephan Kulow
2015-04-21 02:59:50 +00:00
committed by Git OBS Bridge
parent 8c59b82afb
commit 919db112d8
5 changed files with 45 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Module-CoreList
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,21 @@
Name: perl-Module-CoreList
Version: 2.57
Version: 5.20150420
Release: 0
%define cpan_name Module-CoreList
Summary: What modules shipped with versions of perl
License: GPL-1.0+ or Artistic-1.0
Summary: What Modules Shipped with Versions of Perl
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Module-CoreList/
Source: http://www.cpan.org/authors/id/B/BI/BINGOS/Module-CoreList-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildRequires: perl(version) >= 0.88
Requires: perl(version) >= 0.88
%{perl_requires}
%description
@@ -58,18 +61,17 @@ information.
%install
%perl_make_install
%perl_process_packlist
# MANUAL BEGIN
mv %{buildroot}%{_bindir}/corelist %{buildroot}%{_bindir}/corelist-%{name}
# the perl docu will do
mv %{buildroot}%{_mandir}/man1/{corelist,corelist-%{name}}.1
rm %{buildroot}%{_mandir}/man3/Module::CoreList.3pm
# MANUAL END
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(644,root,root,755)
%defattr(-,root,root,755)
%doc Changes corelist identify-dependencies README
%attr(0755,root,root) %{_bindir}/*
%changelog