14
0

- Set license to SDPX style (BSD-3-Clause)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gflags?expand=0&rev=2
This commit is contained in:
Sascha Peilicke
2011-11-29 15:17:39 +00:00
committed by Git OBS Bridge
parent 34c94ae16c
commit fca4eab815
2 changed files with 8 additions and 5 deletions

View File

@@ -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

View File

@@ -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