- Set license to SPDX style (BSD-2-Clause)

- Removed outdated %clean section

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=23
This commit is contained in:
Sascha Peilicke 2011-11-24 11:39:42 +00:00 committed by Git OBS Bridge
parent f985f88490
commit c99e61b73c
2 changed files with 13 additions and 14 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 24 10:39:23 UTC 2011 - saschpe@suse.de
- Set license to SPDX style (BSD-2-Clause)
- Removed outdated %clean section
-------------------------------------------------------------------
Thu Oct 27 22:33:03 UTC 2011 - alexandre@exatati.com.br

View File

@ -15,19 +15,15 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{!?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)")}
%define mod_name kombu
Name: python-%{mod_name}
Name: python-kombu
Version: 1.4.3
Release: 0
License: BSD License
License: BSD-2-Clause
Summary: AMQP Messaging Framework for Python
Url: http://github.com/ask/kombu/
Group: Development/Languages/Python
Source: %{mod_name}-%{version}.tar.bz2
Source: kombu-%{version}.tar.bz2
BuildRequires: python-devel
BuildRequires: python-distribute
Requires: python-amqplib
@ -39,6 +35,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
An AMQP messaging framework for Python.
@ -53,17 +50,13 @@ providing an idiomatic high-level interface for the AMQP protocol, and also
provide proven and tested solutions to common messaging problems.
%prep
%setup -q -n %{mod_name}-%{version}
%setup -q -n kombu-%{version}
%build
export CFLAGS="%{optflags}"
%{__python} setup.py build
python setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot}
%clean
%{__rm} -rf %{buildroot}
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)