8
0
forked from pool/perl-Sub-Spec

Accepting request 105945 from devel:languages:perl

- updated to 1.0.7
    * Update NOTICE.
    * Mark deprecated.

OBS-URL: https://build.opensuse.org/request/show/105945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Sub-Spec?expand=0&rev=2
This commit is contained in:
Stephan Kulow
2012-02-20 15:16:26 +00:00
committed by Git OBS Bridge
4 changed files with 19 additions and 23 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1dc7dd08812bf65267778df5cb6fd0e68f21c9902c2155abab0e0ec32b605d44
size 26082

3
Sub-Spec-1.0.7.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:579529fd447becfa2665d78074c4570ab6d5ba073bdfc92d97b169169aa0939c
size 26371

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Feb 20 08:37:49 UTC 2012 - coolo@suse.com
- updated to 1.0.7
* Update NOTICE.
* Mark deprecated.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 19 13:10:38 UTC 2011 - coolo@suse.de Mon Dec 19 13:10:38 UTC 2011 - coolo@suse.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Sub-Spec # spec file for package perl-Sub-Spec
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -15,26 +15,26 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: perl-Sub-Spec Name: perl-Sub-Spec
Version: 1.0.5 Version: 1.0.7
Release: 0 Release: 0
%define cpan_name Sub-Spec %define cpan_name Sub-Spec
Summary: Subroutine metadata & wrapping framework Summary: Subroutine metadata specification
License: GPL-1.0+ or Artistic-1.0 License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Sub-Spec/ Url: http://search.cpan.org/dist/Sub-Spec/
#Source: http://www.cpan.org/authors/id/S/SH/SHARYANTO/Sub-Spec-%{version}.tar.gz Source: http://www.cpan.org/authors/id/S/SH/SHARYANTO/%{cpan_name}-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(File::Which) BuildRequires: perl(File::Which)
BuildRequires: perl(Log::Any) BuildRequires: perl(Log::Any)
BuildRequires: perl(Module::Build) BuildRequires: perl(Module::Build) >= 0.3601
BuildRequires: perl(Module::Build)
BuildRequires: perl(Probe::Perl) BuildRequires: perl(Probe::Perl)
BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::More) >= 0.96
#BuildRequires: perl(Sub::Spec::Util)
Requires: perl(File::Which) Requires: perl(File::Which)
Requires: perl(Log::Any) Requires: perl(Log::Any)
Requires: perl(Probe::Perl) Requires: perl(Probe::Perl)
@@ -42,15 +42,7 @@ Requires: perl(Test::More) >= 0.96
%{perl_requires} %{perl_requires}
%description %description
NOTE: This module is still very early in development. Most of the features Subroutine metadata specification
are not even implemented yet.
Subroutines are an excellent unit of reuse, in some ways they are even
superior to objects (simpler, map better to HTTP/network programming due to
being stateless, etc). Sub::Spec aims to make your subs much more useful,
reusable, powerful. All you have to do is provide some metadata (a spec)
for your sub. See the Sub::Spec::Manual::Spec manpage for more details
about sub spec.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
@@ -66,9 +58,6 @@ about sub spec.
./Build install destdir=%{buildroot} create_packlist=0 ./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist %perl_gen_filelist
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %defattr(-,root,root,755)
%doc Changes LICENSE README %doc Changes LICENSE README