# 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): B::Hooks::EndOfScope - wykonywanie kodu po skompilowaniu zakresu kodu
Name: perl-B-Hooks-EndOfScope
-Version: 0.21
+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: df9dacbf55a01d7a444b1ebc616435ae
-URL: http://search.cpan.org/dist/B-Hooks-EndOfScope/
+# 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.663
+BuildRequires: rpmbuild(macros) >= 1.745
%if %{with tests}
BuildRequires: perl-Module-Implementation >= 0.05
BuildRequires: perl-Sub-Exporter-Progressive >= 0.001006