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