3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Set::Crontab - Expand crontab(5)-style integer lists
12 License: (enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: e2895d83550a16cb54570a1ce0090e67
16 BuildRequires: perl-devel >= 1:5.8.0
17 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Set::Crontab parses crontab-style lists of integers and defines
23 some utility functions to make it easier to deal with them.
26 %setup -q -n %{pdir}-%{pnam}-%{version}
29 %{__perl} Makefile.PL \
34 %{?with_tests:%{__make} test}
37 rm -rf $RPM_BUILD_ROOT
40 DESTDIR=$RPM_BUILD_ROOT
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
48 %{perl_vendorlib}/Set/Crontab.pm