|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: perl-Time-Piece-MySQL
|
|
|
|
Name: perl-Time-Piece-MySQL
|
|
|
|
Version: 0.05
|
|
|
|
Version: 0.05
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Summary: MySQL-specific methods for Time::Piece
|
|
|
|
Summary: MySQL-specific methods for Time::Piece
|
|
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
@ -22,8 +22,16 @@ Time::Piece to add MySQL-specific date-time methods to Time::Piece objects.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Time-Piece-MySQL-%{version}
|
|
|
|
%setup -q -n Time-Piece-MySQL-%{version}
|
|
|
|
perldoc -t perlartistic > Artistic
|
|
|
|
|
|
|
|
perldoc -t perlgpl > COPYING
|
|
|
|
# Filter unwanted Provides:
|
|
|
|
|
|
|
|
cat << \EOF > %{name}-prov
|
|
|
|
|
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
%{__perl_provides} $* |\
|
|
|
|
|
|
|
|
sed -e '/perl(Time::Piece)/d'
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%define __perl_provides %{_builddir}/Time-Piece-MySQL-%{version}/%{name}-prov
|
|
|
|
|
|
|
|
chmod +x %{__perl_provides}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -49,12 +57,16 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Artistic COPYING Changes README
|
|
|
|
%doc Changes README
|
|
|
|
%{perl_vendorlib}/Time/
|
|
|
|
%{perl_vendorlib}/Time/
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Aug 3 2007 Chris Grau <chris@chrisgrau.com> 0.05-4
|
|
|
|
|
|
|
|
- Remove generation of license texts.
|
|
|
|
|
|
|
|
- Prevent automatic provide of perl(Time::Piece) (#247253).
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Sep 14 2006 Chris Grau <chris@chrisgrau.com> 0.05-3
|
|
|
|
* Thu Sep 14 2006 Chris Grau <chris@chrisgrau.com> 0.05-3
|
|
|
|
- Rebuild for FC-6.
|
|
|
|
- Rebuild for FC-6.
|
|
|
|
|
|
|
|
|
|
|
|