#
# Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests # do not perform "make test"
#
%include /usr/lib/rpm/macros.perl
%define pdir PGP
Name: perl-PGP-Sign
Version: 0.17
Release: 2
-License: GPL
+# same as perl
+License: GPLv1 or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: caab81561eeae34735d20dc308ea6428
PGP=%{_bindir}/gpg \
PGPSTYLE=GPG
%{__make}
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT