Author: corsepiu Update of /cvs/pkgs/rpms/rt3/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27357 Modified Files: rt3.spec Log Message: * Mon Sep 23 2008 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - Don't package %{_sysconfdir}/rt3/upgrade/*.in - Cleanup Requires, __perl_requires, __perl_provides. Index: rt3.spec =================================================================== RCS file: /cvs/pkgs/rpms/rt3/devel/rt3.spec,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- rt3.spec 23 Sep 2008 04:12:51 -0000 1.27 +++ rt3.spec 23 Sep 2008 06:44:50 -0000 1.28 @@ -161,21 +161,15 @@ # rpm doesn't catch these: Requires: perl(Apache::Session) Requires: perl(Calendar::Simple) -# Requires: perl(CSS::Squish) -# Requires: perl(File::Temp) -Requires: perl(GD::Text) -Requires: perl(GD::Graph::bars) perl(GD::Graph::pie) -# Requires: perl(HTML::Mason) -# Requires: perl(HTML::FormatText) -# Requires: perl(HTML::TreeBuilder) +%{?with_gd:Requires: perl(GD::Text)} +%{?with_gd:Requires: perl(GD::Graph::bars)} +%{?with_gd:Requires: perl(GD::Graph::pie)} Requires: perl(HTTP::Server::Simple::Mason) Requires: perl(I18N::LangTags::List) Requires: perl(Locale::Maketext::Fuzzy) Requires: perl(LWP::MediaTypes) -# Requires: perl(MIME::Entity) Requires: perl(mod_perl2) Requires: perl(Module::Versions::Report) -# Requires: perl(Regexp::Common) Requires: perl(Tree::Simple) Requires: perl(URI::URL) @@ -225,7 +219,7 @@ %{__perl_provides} $* |\ sed -e '/^perl(RT)$/d' \ -e '/^perl(HTML::Mason/d' \ - -e '/^perl(Log::Dispatch/d' + -e '/^perl(IO::Handle::CRLF)$/d' EOF %define __perl_provides %{_builddir}/rt-%{version}/%{name}-prov chmod +x %{__perl_provides} @@ -233,8 +227,7 @@ cat << \EOF > %{name}-req #!/bin/sh %{__perl_requires} $* |\ - sed -e '/^perl(RT::/d' \ - -e '/^perl()/d' + sed -e '/^perl()/d' EOF %define __perl_requires %{_builddir}/rt-%{version}/%{name}-req chmod +x %{__perl_requires} @@ -342,6 +335,7 @@ install -d -m755 ${RPM_BUILD_ROOT}%{_sysconfdir}/rt3/upgrade cp -R etc/upgrade/* ${RPM_BUILD_ROOT}%{_sysconfdir}/rt3/upgrade +rm -f ${RPM_BUILD_ROOT}%{_sysconfdir}/rt3/upgrade/*.in # Fix permissions find ${RPM_BUILD_ROOT}%{RT3_WWWDIR} \ @@ -404,7 +398,11 @@ %{_mandir}/man1/rt-mailgate* %changelog -* Mon Sep 23 2008 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 3.8.1-0 +* Mon Sep 23 2008 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> +- Don't package %%{_sysconfdir}/rt3/upgrade/*.in +- Cleanup Requires, __perl_requires, __perl_provides. + +* Tue Sep 23 2008 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 3.8.1-0 - First try at public release. - Completely rework the spec. - Upstream update. -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list