#
# Conditional build:
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # unit tests
#
%define pdir Date
%define pnam Manip
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Date/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: f9fe372c7abaf90e9da2ee7c3a4d32ff
-URL: http://search.cpan.org/dist/Date-Manip/
+URL: https://metacpan.org/dist/Date-Manip
BuildRequires: perl-ExtUtils-MakeMaker >= 6.30
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
%if %{with tests}
BuildRequires: perl-Test-Inter
BuildRequires: perl-YAML-Syck