]> git.pld-linux.org Git - packages/perl-B-Hooks-EndOfScope.git/blobdiff - perl-B-Hooks-EndOfScope.spec
- macros for perl autodeps
[packages/perl-B-Hooks-EndOfScope.git] / perl-B-Hooks-EndOfScope.spec
index c30ea133d52f58d6f9e53c4cf71e8c442164bdb0..0f6ec5f99e5793830c6c4b0174c310057e32508a 100644 (file)
@@ -2,35 +2,45 @@
 # Conditional build:
 %bcond_without tests           # do not perform "make test"
 #
-%include       /usr/lib/rpm/macros.perl
 %define        pdir    B
 %define        pnam    Hooks-EndOfScope
 Summary:       B::Hooks::EndOfScope - Execute code after a scope finished compilation
-#Summary(pl.UTF-8):    
+Summary(pl.UTF-8):     B::Hooks::EndOfScope - wykonywanie kodu po skompilowaniu zakresu kodu
 Name:          perl-B-Hooks-EndOfScope
-Version:       0.09
+Version:       0.24
 Release:       1
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/B/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 83d941d374d6718cdd5c2721c40f660f
-URL:           http://search.cpan.org/dist/B-Hooks-EndOfScope/
-BuildRequires: perl-devel >= 1:5.8.0
+# Source0-md5: 99a48be0694dfd12b40482c6a495e10f
+URL:           https://metacpan.org/release/B-Hooks-EndOfScope
+BuildRequires: perl-ExtUtils-CBuilder >= 0.26
+BuildRequires: perl-ExtUtils-MakeMaker
+BuildRequires: perl-devel >= 1:5.8.1
 BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
 %if %{with tests}
-BuildRequires: perl(Variable::Magic) >= 0.27
-BuildRequires: perl-Sub-Exporter
+BuildRequires: perl-Module-Implementation >= 0.05
+BuildRequires: perl-Sub-Exporter-Progressive >= 0.001006
+BuildRequires: perl-Test-Simple >= 0.89
+BuildRequires: perl-Variable-Magic >= 0.48
 %endif
+Requires:      perl-Module-Implementation >= 0.05
+Requires:      perl-Module-Runtime >= 0.012
+Requires:      perl-Sub-Exporter-Progressive >= 0.001006
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _noautoreq_perl Tie::StdHash
+
 %description
-This module allows you to execute code when perl finished compiling
+This module allows you to execute code when Perl finished compiling
 the surrounding scope.
 
-# %description -l pl.UTF-8
-# TODO
+%description -l pl.UTF-8
+Ten moduł pozwala na wykonanie kodu po zakończeniu kompilacji
+otaczającego zakresu kodu przez interpreter Perla.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -54,6 +64,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Changes
-%{perl_vendorlib}/B/Hooks
-%{_mandir}/man3/*
+%doc Changes README
+%dir %{perl_vendorlib}/B/Hooks
+%{perl_vendorlib}/B/Hooks/EndOfScope.pm
+%{perl_vendorlib}/B/Hooks/EndOfScope
+%{_mandir}/man3/B::Hooks::EndOfScope*.3pm*
This page took 0.08273 seconds and 4 git commands to generate.