Changed files:
perl-cdk.spec -> 1.20
#
# Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests # do not perform "make test"
#
%include /usr/lib/rpm/macros.perl
Summary: Perl extensions for CDK
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
-%{__make} OPTIMIZE="%{rpmcflags}"
+%{__make} \
+ OPTIMIZE="%{rpmcflags}"
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-
install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean