summaryrefslogtreecommitdiffstats
path: root/rteval.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rteval.spec')
-rw-r--r--rteval.spec33
1 files changed, 21 insertions, 12 deletions
diff --git a/rteval.spec b/rteval.spec
index 0f6ad25..8827c14 100644
--- a/rteval.spec
+++ b/rteval.spec
@@ -2,8 +2,8 @@
%{!?python_ver: %define python_ver %(%{__python} -c "import sys ; print sys.version[:3]")}
Name: rteval
-Version: 1.11
-Release: 4%{?dist}
+Version: 1.12
+Release: 2%{?dist}
Summary: Utility to evaluate system suitability for RT Linux
Group: Development/Tools
@@ -12,6 +12,7 @@ URL: http://git.kernel.org/?p=linux/kernel/git/clrkwllms/rteval.git
Source0: rteval-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: python
Requires: python
Requires: python-schedutils python-ethtool libxslt-python >= 1.1.17
Requires: python-dmidecode >= 3.10
@@ -45,15 +46,10 @@ fi
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}
-#make DESTDIR=${RPM_BUILD_ROOT} LOADDIR=%{_sourcedir} install_rteval
-make DESTDIR=${RPM_BUILD_ROOT} LOADDIR=${RPM_SOURCE_DIR} install_rteval
-
-
-%posttrans
-#ln -fs %{python_sitelib}/rteval/rteval.py /usr/bin/rteval
-
-%postun
-rm -f /usr/bin/rteval
+make DESTDIR=${RPM_BUILD_ROOT} install_rteval
+mkdir -p ${RPM_BUILD_ROOT}/usr/bin
+# note that python_sitelib has a leading slash...
+ln -s ../..%{python_sitelib}/rteval/rteval.py ${RPM_BUILD_ROOT}/usr/bin/rteval
%clean
@@ -72,9 +68,22 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/%{name}/rteval_*.xsl
%config(noreplace) %{_sysconfdir}/rteval.conf
%{python_sitelib}/rteval/
-
+/usr/bin/rteval
%changelog
+* Thu Dec 3 2009 David Sommerseth <davids@redhat.com> - 1.12-2
+- Removed xmlrpc package during merge against master_ipv4 branch
+
+* Wed Nov 25 2009 Clark Williams <williams@redhat.com> - 1.12-1
+- fix incorrect reporting of measurement thread priorities
+
+* Mon Nov 16 2009 Clark Williams <williams@redhat.com> - 1.11-5
+- ensure that no double-slashes ("//") appear in the symlink
+ path for /usr/bin/rteval (problem with rpmdiff)
+
+* Tue Nov 10 2009 Clark Williams <williams@redhat.com> - 1.11-4
+- changed symlink back to install and tracked by %files
+
* Mon Nov 9 2009 Clark Williams <williams@redhat.com> - 1.11-3
- changed symlink generation from %post to %posttrans