#
# Conditional build:
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # unit tests
#
-%include /usr/lib/rpm/macros.perl
%define pdir Date
%define pnam Manip
Summary: Date::Manip - date manipulation routines
Summary(pl.UTF-8): Date::Manip - procedury do operowania na datach
Name: perl-Date-Manip
-Version: 6.76
+Version: 6.89
Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Date/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: a539820a8725e79c67826158a6b940a1
-URL: http://search.cpan.org/dist/Date-Manip/
+# Source0-md5: f9fe372c7abaf90e9da2ee7c3a4d32ff
+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