- version 1.4.6, rel. 1
Changed files:
perl-Quota.spec -> 1.33
+#
+# Conditional build:
+# _with_tests - perform "make test"
+#
%include /usr/lib/rpm/macros.perl
%define pdir Quota
%define pnam Quota
Summary: Quota - Perl interface to file system quotas
Summary(pl): Quota - perlowy interfejs do quot systemów plików
Name: perl-Quota
-Version: 1.4.4
-Release: 4
+Version: 1.4.6
+Release: 1
License: GPL
Group: Development/Languages/Perl
Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
perl Makefile.PL
%{__make} OPTIMIZE="%{rpmcflags}"
+# test is interactive
+%{?_with_tests:%{__make} test}
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}