diff --git a/python-python-gflags.changes b/python-python-gflags.changes index 12ee0f9..e349a31 100644 --- a/python-python-gflags.changes +++ b/python-python-gflags.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 29 15:17:25 UTC 2011 - saschpe@suse.de + +- Set license to SDPX style (BSD-3-Clause) + ------------------------------------------------------------------- Mon May 23 14:15:42 UTC 2011 - prusnak@opensuse.org diff --git a/python-python-gflags.spec b/python-python-gflags.spec index c47f99c..9ee4d95 100644 --- a/python-python-gflags.spec +++ b/python-python-gflags.spec @@ -20,12 +20,12 @@ Version: 1.6 Release: 0 Url: http://code.google.com/p/python-gflags Summary: Google Commandline Flags Module -License: BSD +License: BSD-3-Clause Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/p/python-gflags/python-gflags-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: python-distribute Provides: python-gflags = %{version} # Change to < after 1.6 release Obsoletes: python-gflags <= %{version} @@ -36,7 +36,6 @@ BuildArch: noarch %endif %endif %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %description This project is the python equivalent of google-gflags, a Google commandline @@ -55,11 +54,10 @@ difference from OptParse.) %setup -q -n python-gflags-%{version} %build -CFLAGS="%{optflags}" python setup.py build +python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} - # Remove ext from name mv %{buildroot}%{_bindir}/gflags2man.py %{buildroot}%{_bindir}/gflags2man