forked from pool/perl-Data-Section-Simple
- updated to 0.05
- use MakeMaker - Do not throw exceptions when there's no template (tokuhirom) #2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Section-Simple?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
abb2a85b9c
commit
7fb6cc94ed
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Data-Section-Simple
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 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
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: perl-Data-Section-Simple
|
||||
Version: 0.03
|
||||
Version: 0.05
|
||||
Release: 0
|
||||
%define cpan_name Data-Section-Simple
|
||||
Summary: Read data from __DATA__
|
||||
@@ -34,13 +34,6 @@ BuildRequires: perl(Test::Requires)
|
||||
#BuildRequires: perl(DataInCode)
|
||||
#BuildRequires: perl(Data::Section::Simple)
|
||||
#BuildRequires: perl(Foo)
|
||||
#BuildRequires: perl(inc::Module::Install)
|
||||
#BuildRequires: perl(JSON)
|
||||
#BuildRequires: perl(LWP::Simple)
|
||||
#BuildRequires: perl(Module::Build)
|
||||
#BuildRequires: perl(Module::Install::Base)
|
||||
#BuildRequires: perl(Parse::CPAN::Meta)
|
||||
#BuildRequires: perl(YAML::Tiny)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -49,11 +42,6 @@ section of the file.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%if 0%{?suse_version} <= 1110
|
||||
for i in `find t -type f` ; do
|
||||
sed -i -e "s@^\s*use\s\s*Test::More@use lib '%{perl_vendorlib}';\nuse Test::More@" $i
|
||||
done
|
||||
%endif
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
@@ -69,6 +57,6 @@ done
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
%doc Changes cpanfile LICENSE README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user