#
# 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 Crypt
%define pnam RIPEMD160
INSTALLDIRS=vendor
%{__make} OPTIMIZE="%{rpmcflags}"
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT