diff options
author | sconklin <sconklin@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2006-08-30 18:08:28 +0000 |
---|---|---|
committer | sconklin <sconklin@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2006-08-30 18:08:28 +0000 |
commit | b088a1df71e592b734d90d0f8af928aaae190dfb (patch) | |
tree | b70d58f668e70e7a84769c067fdb71be044f3e0b /src/sos.spec | |
parent | ae336e387650fbe872ede117dce7cb5078b2f234 (diff) | |
download | sos-b088a1df71e592b734d90d0f8af928aaae190dfb.tar.gz |
Separated upstream and build versioning, rolled to a 1.0 release number, cleaned up
spec file.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@46 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/sos.spec')
-rw-r--r-- | src/sos.spec | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/src/sos.spec b/src/sos.spec index c0217de2..3ebe5b5b 100644 --- a/src/sos.spec +++ b/src/sos.spec @@ -1,16 +1,19 @@ -%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%{!?python_siteinc: %define python_siteinc %(%{__python} -c "from distutils.sysconfig import get_python_inc; print get_python_inc()")} +#NEEDSWORK: +#- Your upstream software release number is different from the rpm release +#number. Upstream release is the rpm version. rpm release would be how many +#times we've had to respin this version of the software for various reasons +#(build system changes, gcc changes, spec bug fixes, etc...) The two should +#_not_ be tied together. +#- Changelog entry doesn't match release number. (10 vs 11) +#- %setup section should have -q. -%define name sos -%define version 0.1 -# change release in setup.py and this file -%define release 10 +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Summary: System Support Tools -Name: %{name} -Version: %{version} -Release: %{release}%{?dist} +Name: sos +Version: 1.0 +# change release in setup.py and this file +Release: 10%{?dist} License: GPL Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -28,7 +31,7 @@ support technicians and developers. %prep -%setup +%setup -q %build python setup.py -q build @@ -53,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT %doc README TODO %changelog +* Mon Aug 21 2006 Steve Conklin <sconklin at redhat dot com> - 0.1-11 +- Code cleanup, fixed a regression in threading + * Mon Aug 14 2006 Steve Conklin <sconklin at redhat dot com> - 0.1-10 - minor bugfixes, added miltithreading option, setup now quiet |