rpms/rt3/devel rt3.spec,1.2,1.3
Ralf Corsépius (corsepiu)
fedora-extras-commits at redhat.com
Fri Nov 4 05:02:04 UTC 2005
- Previous message (by thread): rpms/openvpn/devel openvpn-2.1_beta6.tar.gz.asc, NONE, 1.1 .cvsignore, 1.5, 1.6 openvpn.spec, 1.8, 1.9 sources, 1.5, 1.6 openvpn-2.1_beta4.tar.gz.asc, 1.1, NONE
- Next message (by thread): rpms/rt3/devel rt3-filter-provides.sh, 1.1, NONE rt3-filter-requires.sh, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: corsepiu
Update of /cvs/extras/rpms/rt3/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13543
Modified Files:
rt3.spec
Log Message:
Inline rt3-filter-provides.sh, rt3-filter-requires.sh into spec.
Index: rt3.spec
===================================================================
RCS file: /cvs/extras/rpms/rt3/devel/rt3.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rt3.spec 29 Oct 2005 02:14:09 -0000 1.2
+++ rt3.spec 4 Nov 2005 05:02:00 -0000 1.3
@@ -13,15 +13,13 @@
Name: rt3
Version: 3.4.4
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Request tracker 3
Group: Applications/Internet
License: GPL
URL: http://www.bestpractical.com/rt
Source0: http://www.bestpractical.com/pub/rt/release/rt-%{version}.tar.gz
-Source1: rt3-filter-provides.sh
-Source2: rt3-filter-requires.sh
Source3: rt3.conf.in
Source4: README.fedora.in
@@ -34,9 +32,6 @@
# For Debian compatibility
Provides: request-tracker3 = %{version}-%{release}
-%define __perl_provides %{SOURCE1}
-%define __perl_requires %{SOURCE2}
-
BuildRequires: /usr/bin/pod2man
BuildRequires: /usr/sbin/apachectl
@@ -82,6 +77,25 @@
# Patch backups added by rpm disturb
find -name '*.orig' -exec rm -f {} \;
+cat << EOF > %{name}-prov
+#!/bin/sh
+%{__perl_provides} $* |\
+ sed -e '/^perl(RT)$/d' \
+ -e '/^perl(HTML::Mason/d' \
+ -e '/^perl(Log::Dispatch/d'
+EOF
+%define __perl_provides %{_builddir}/rt-%{version}/%{name}-prov
+chmod +x %{__perl_provides}
+
+cat << EOF > %{name}-req
+#!/bin/sh
+%{__perl_requires} $* |\
+ sed -e '/^perl(Encode::compat)$/d' \
+ -e '/^perl(RT::/d'
+EOF
+%define __perl_requires %{_builddir}/rt-%{version}/%{name}-req
+chmod +x %{__perl_requires}
+
# Propagate rpm's directories to config.layout
cat << \EOF >> config.layout
@@ -220,6 +234,9 @@
%ghost %{_prefix}/local/etc/rt3
%changelog
+* Fri Nov 04 2005 Ralf Corsépius <rc040203 at freenet.de> - 3.4.4-10
+- Inline rt3-filter-provides.sh, rt3-filter-requires.sh into spec.
+
* Sat Oct 29 2005 Ralf Corsépius <rc040203 at freenet.de> - 3.4.4-9
- Remove "Requires(post): /usr/bin/chcon".
- Add "Requires: perl(:MODULE_COMPAT...)".
- Previous message (by thread): rpms/openvpn/devel openvpn-2.1_beta6.tar.gz.asc, NONE, 1.1 .cvsignore, 1.5, 1.6 openvpn.spec, 1.8, 1.9 sources, 1.5, 1.6 openvpn-2.1_beta4.tar.gz.asc, 1.1, NONE
- Next message (by thread): rpms/rt3/devel rt3-filter-provides.sh, 1.1, NONE rt3-filter-requires.sh, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list