switch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Capture-Tiny?expand=0&rev=5
This commit is contained in:
parent
8ce11b7ca6
commit
00097709ec
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 1 15:42:27 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
- switch to perl_requires macro
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 29 18:29:25 UTC 2010 - coolo@novell.com
|
Mon Nov 29 18:29:25 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,27 +1,37 @@
|
|||||||
# norootforbuild
|
#
|
||||||
|
# spec file for package
|
||||||
|
#
|
||||||
|
# Copyright (c) 2010 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
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
Name: perl-Capture-Tiny
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
Version: 0.08
|
#
|
||||||
Release: 0
|
|
||||||
Summary: Capture STDOUT and STDERR
|
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Capture-Tiny-%{version}.tar.gz
|
Name: perl-Capture-Tiny
|
||||||
URL: http://search.cpan.org/dist/Capture-Tiny/
|
Version: 0.08
|
||||||
Group: Development/Libraries/Perl
|
Release: 0
|
||||||
License: Perl License
|
License: Perl License
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
Summary: Capture STDOUT and STDERR
|
||||||
Requires: perl = %{perl_version}
|
Url: http://search.cpan.org/dist/Capture-Tiny/
|
||||||
BuildRequires: make perl
|
Group: Development/Libraries/Perl
|
||||||
|
Source: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Capture-Tiny-%{version}.tar.gz
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: perl
|
||||||
|
%{perl_requires}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Capture STDOUT and STDERR from Perl, XS or external programs.
|
Capture STDOUT and STDERR from Perl, XS or external programs.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
David A. Golden
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "Capture-Tiny-%{version}"
|
%setup -q -n "Capture-Tiny-%{version}"
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
%__sed -i '/^auto_install/d' Makefile.PL
|
||||||
@ -38,7 +48,7 @@ Authors:
|
|||||||
%__make test
|
%__make test
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%__rm -rf "%{buildroot}"
|
%__rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -52,8 +62,3 @@ Authors:
|
|||||||
%doc %{perl_man3dir}/Capture::Tiny.%{perl_man3ext}%{ext_man}
|
%doc %{perl_man3dir}/Capture::Tiny.%{perl_man3ext}%{ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
# vim: set sw=3 ts=3 noet:
|
|
||||||
# Local Variables:
|
|
||||||
# mode: rpm-spec
|
|
||||||
# tab-width: 3
|
|
||||||
# End:
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user