- updated to 0.09
* Improve distribution metadata. OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-B-Hooks-EndOfScope?expand=0&rev=5
This commit is contained in:
parent
72e0b3269f
commit
724b0adf6b
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0fb83fac77a1fad4cadfa4f0bda73db132cdef5a034fcd327717656c0673eb1d
|
||||
size 16790
|
3
B-Hooks-EndOfScope-0.09.tar.gz
Normal file
3
B-Hooks-EndOfScope-0.09.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6b1d5683a75ac35d8414e3e84edda60e6b686fd46892f4c596d00f25304aa994
|
||||
size 10841
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 6 07:29:39 UTC 2011 - coolo@novell.com
|
||||
|
||||
- updated to 0.09
|
||||
* Improve distribution metadata.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 13:30:45 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@ -1,54 +1,64 @@
|
||||
#
|
||||
# spec file for package perl-B-Hooks-EndOfScope (Version 0.09)
|
||||
#
|
||||
# Copyright (c) 2011 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.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: perl-B-Hooks-EndOfScope
|
||||
Version: 0.08
|
||||
Release: 1%{?dist}
|
||||
Summary: Execute code after a scope finished compilation
|
||||
Version: 0.09
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
%define cpan_name B-Hooks-EndOfScope
|
||||
Summary: Execute code after a scope finished compilation
|
||||
Url: http://search.cpan.org/dist/B-Hooks-EndOfScope/
|
||||
Group: Development/Libraries/Perl
|
||||
URL: http://search.cpan.org/dist/B-Hooks-EndOfScope/
|
||||
Source0: http://www.cpan.org/modules/by-module/B/B-Hooks-EndOfScope-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
%{perl_requires}
|
||||
Source: http://www.cpan.org/authors/id/F/FL/FLORA/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl >= 5.8.0
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
|
||||
BuildRequires: perl(Sub::Exporter)
|
||||
BuildRequires: perl(Variable::Magic) >= 0.34
|
||||
Requires: perl(Sub::Exporter)
|
||||
Requires: perl(Variable::Magic) >= 0.34
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
This module allows you to execute code when perl finished compiling the
|
||||
surrounding scope.
|
||||
|
||||
%prep
|
||||
%setup -q -n B-Hooks-EndOfScope-%{version}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make test
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE README
|
||||
|
||||
%changelog
|
||||
* Tue Jan 12 2010 Stefan Seifert <nine@detonation.org> 0.08-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
|
Loading…
Reference in New Issue
Block a user