Stephan Kulow
2015-04-23 05:27:42 +00:00
committed by Git OBS Bridge
parent 5b8a61de23
commit 0219e8c970
5 changed files with 85 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Module-ExtractUse
#
# 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,27 +17,25 @@
Name: perl-Module-ExtractUse
Version: 0.27
Version: 0.33
Release: 0
%define cpan_name Module-ExtractUse
Summary: Find out what modules are used
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Module-ExtractUse/
Source: http://www.cpan.org/authors/id/D/DO/DOMM/%{cpan_name}-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/D/DO/DOMM/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build) >= 0.3601
BuildRequires: perl(Module::Build) >= 0.360100
BuildRequires: perl(Parse::RecDescent) >= 1.967009
BuildRequires: perl(Pod::Strip)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::NoWarnings)
BuildRequires: perl(version)
#BuildRequires: perl(CPANPLUS::Backend)
#BuildRequires: perl(Module::ExtractUse)
#BuildRequires: perl(Module::ExtractUse::Grammar)
Requires: perl(Parse::RecDescent) >= 1.967009
Requires: perl(Pod::Strip)
Requires: perl(version)
@@ -62,10 +60,13 @@ from CPAN) used by the parsed code.
%install
./Build install destdir=%{buildroot} create_packlist=0
# MANUAL BEGIN
: > _build/runtime_params
# MANUAL END
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes example grammar LICENSE README xt
%doc _build Changes example grammar LICENSE README
%changelog