aboutsummaryrefslogtreecommitdiffstats
path: root/src/sos-internal.spec
diff options
context:
space:
mode:
authorastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2008-10-23 13:31:29 +0000
committerastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2008-10-23 13:31:29 +0000
commit8d443ca846f670e971f09235ca792e45239f6f81 (patch)
treedc9caa0c9414fe876707162f53b4722b54f3cdf7 /src/sos-internal.spec
parentc5bf8bbac0c3c672d6bb22d0c54c9ab479abfde3 (diff)
downloadsos-8d443ca846f670e971f09235ca792e45239f6f81.tar.gz
sync
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@532 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/sos-internal.spec')
-rw-r--r--src/sos-internal.spec15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/sos-internal.spec b/src/sos-internal.spec
index 603508fb..55920b1c 100644
--- a/src/sos-internal.spec
+++ b/src/sos-internal.spec
@@ -2,7 +2,7 @@
%define name sos-internal
%define version 1.8
-%define release 0
+%define release 0pre0
Summary: SoS internal utilities for report analysis
Name: %{name}
@@ -17,6 +17,8 @@ License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch: noarch
Url: https://hosted.fedoraproject.org/projects/sos
+Requires: python-cherrypy
+Requires: python-sqlite2
%description
Sos is a set of tools that gathers information about system
@@ -33,6 +35,14 @@ rm -rf ${RPM_BUILD_ROOT}
cd sos-%{version}
install -D -m755 extras/sos-open ${RPM_BUILD_ROOT}/usr/bin/sos-open
+install -D -m755 extras/sos-html-logs/sos-html-logs ${RPM_BUILD_ROOT}/usr/bin/sos-html-logs
+
+mkdir -p ${RPM_BUILD_ROOT}/%{python_sitelib}/soshtmllogs/parsers
+cp extras/sos-html-logs/lib/*.py ${RPM_BUILD_ROOT}/%{python_sitelib}/soshtmllogs
+cp extras/sos-html-logs/lib/parsers/*.py extras/sos-html-logs/lib/parsers/*.rules ${RPM_BUILD_ROOT}/%{python_sitelib}/soshtmllogs/parsers
+
+mkdir -p ${RPM_BUILD_ROOT}/usr/share
+cp -r extras/sos-html-logs/share ${RPM_BUILD_ROOT}/usr/share/sos-html-logs
install -D -m644 %{SOURCE1} ${RPM_BUILD_ROOT}/usr/share/sos/rhsupport.pub
install -D -m600 %{SOURCE2} ${RPM_BUILD_ROOT}/usr/share/sos/rhsupport.key
@@ -50,7 +60,10 @@ echo "done."
%defattr(-,root,root,-)
/usr/share/sos/rhsupport.pub
/usr/share/sos/rhsupport.key
+/usr/bin/sos-html-logs
/usr/bin/sos-open
+/%{python_sitelib}/soshtmllogs
+/usr/share/sos-html-logs
%changelog
* Wed Sep 4 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.0