aboutsummaryrefslogtreecommitdiffstats
path: root/sos.spec
diff options
context:
space:
mode:
authorastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-03-26 20:24:08 +0000
committerastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-03-26 20:24:08 +0000
commit66cd754dcddf039e454934231f6662d5bb49959d (patch)
tree37a05f40de36567b14107699e2c81eb916c96175 /sos.spec
parentf398a5a7cdfc1e7c3fe52676603c0bf0cd711eb6 (diff)
downloadsos-66cd754dcddf039e454934231f6662d5bb49959d.tar.gz
translation updates
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@872 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'sos.spec')
-rw-r--r--sos.spec9
1 files changed, 4 insertions, 5 deletions
diff --git a/sos.spec b/sos.spec
index 50eec275..7cff1407 100644
--- a/sos.spec
+++ b/sos.spec
@@ -3,7 +3,7 @@
Summary: A set of tools to gather troubleshooting information from a system
Name: sos
Version: 1.9
-Release: 2%{?dist}.1
+Release: 2%{?dist}.2
Group: Applications/System
Source0: https://fedorahosted.org/releases/s/o/sos/%{name}-%{version}.tar.gz
License: GPLv2+
@@ -11,7 +11,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch: noarch
Url: http://fedorahosted.org/sos
BuildRequires: python-devel
-BuildRequires: python-setuptools
BuildRequires: gettext
Requires: libxml2-python
Requires: tar
@@ -30,12 +29,12 @@ support technicians and developers.
%setup -q
%build
-%{__python} setup.py build
+make
%install
rm -rf ${RPM_BUILD_ROOT}
install -D -m644 gpgkeys/rhsupport.pub ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/rhsupport.pub
-%{__python} setup.py install -O1 --root=${RPM_BUILD_ROOT}
+make DESTDIR=${RPM_BUILD_ROOT} install
%find_lang %{name} || echo 0
%clean
@@ -44,7 +43,7 @@ rm -rf ${RPM_BUILD_ROOT}
%files -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/rh-upload
-%{_sbindir}/sosreport
+%{_bindir}/sosreport
%{_datadir}/%{name}
%{python_sitelib}/*
%{_mandir}/man1/*