|
|
|
@ -12,7 +12,7 @@
|
|
|
|
|
|
|
|
|
|
Name: perl-DateTime-Format-MySQL
|
|
|
|
|
Version: 0.04
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: Parse and format MySQL dates and times
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -24,8 +24,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl(Module::Build), perl(DateTime)
|
|
|
|
|
BuildRequires: perl(DateTime::Format::Builder) >= 0.60
|
|
|
|
|
BuildRequires: perl(DateTime::Format::Builder)
|
|
|
|
|
|
|
|
|
|
# not picked up explicitly, for whatever reason...
|
|
|
|
|
Requires: perl(DateTime::Format::Builder)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
# for signature checking
|
|
|
|
@ -53,10 +55,12 @@ make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
chmod -R u+w %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -75,6 +79,10 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Sep 08 2006 Chris Weyl <cweyl@alumni.drew.edu>
|
|
|
|
|
- add missing explicit requires on perl(DateTime::Format::Builder)
|
|
|
|
|
- misc spec tweaks
|
|
|
|
|
\
|
|
|
|
|
* Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.04-3
|
|
|
|
|
- bump for mass rebuild
|
|
|
|
|
|
|
|
|
|