summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClark Williams <williams@redhat.com>2009-11-09 14:55:36 -0600
committerClark Williams <williams@redhat.com>2009-11-09 14:55:36 -0600
commit894afa71680bbdb6592c12eedc44cbfb110f9e5e (patch)
treed5da0fa6d3aa5abfd9da296b035c959e533b1a0a
parent49fca6febe93dc72e23fa27acc36779d8eae5e0f (diff)
modified symlink creation for /usr/bin/rteval to be in the
%posttrans section to avoid upgraded package %post wiping it out Signed-off-by: Clark Williams <williams@redhat.com>
-rw-r--r--rteval.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/rteval.spec b/rteval.spec
index 6b992fd..d041716 100644
--- a/rteval.spec
+++ b/rteval.spec
@@ -3,7 +3,7 @@
Name: rteval
Version: 1.11
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Utility to evaluate system suitability for RT Linux
Group: Development/Tools
@@ -71,7 +71,7 @@ mkdir -p ${RPM_BUILD_ROOT}/etc/httpd/conf.d/
install -m 644 apache-rteval.conf ${RPM_BUILD_ROOT}%{_sysconfdir}/httpd/conf.d/rteval-xmlrpc.conf
cd ..
-%post
+%posttrans
ln -fs %{python_sitelib}/rteval/rteval.py /usr/bin/rteval
%postun
@@ -104,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Nov 9 2009 Clark Williams <williams@redhat.com> - 1.11-3
+- changed symlink generation from %post to %posttrans
+
* Mon Nov 9 2009 Clark Williams <williams@redhat.com> - 1.11-2
- fixed incorrect dependency for libxslt