8
0
Stephan Kulow
2014-07-20 07:27:49 +00:00
committed by Git OBS Bridge
parent dd3b0c3e72
commit cb28023d35
4 changed files with 30 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Module-Info (Version 0.32)
# spec file for package perl-Module-Info
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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,24 +15,21 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Module-Info
Version: 0.32
Release: 1
License: GPL+ or Artistic
Version: 0.35
Release: 0
%define cpan_name Module-Info
Summary: Information about Perl modules
Url: http://search.cpan.org/dist/Module-Info/
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/authors/id/M/MB/MBARBON/Module-Info-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
Patch0: fix_provides.diff
Url: http://search.cpan.org/dist/Module-Info/
Source: http://www.cpan.org/authors/id/M/MB/MBARBON/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl(Module::Build)
BuildRequires: perl-macros
BuildRequires: perl(File::Spec) >= 0.8
Requires: perl(File::Spec) >= 0.8
BuildRequires: perl(Module::Build) >= 0.40
%{perl_requires}
%description
@@ -42,7 +39,6 @@ on any perl code.
%prep
%setup -q -n %{cpan_name}-%{version}
%patch0 -p1
%build
%{__perl} Build.PL installdirs=vendor
@@ -55,11 +51,8 @@ on any perl code.
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%defattr(-,root,root,755)
%doc Changes
%changelog