From c99e61b73cfec9519bc9a54853fa5fed6b1334dec64d5f5a68e5c5743b8c6c0e Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 24 Nov 2011 11:39:42 +0000 Subject: [PATCH] - 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 --- python-kombu.changes | 6 ++++++ python-kombu.spec | 21 +++++++-------------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/python-kombu.changes b/python-kombu.changes index 16a8d43..d267ab0 100644 --- a/python-kombu.changes +++ b/python-kombu.changes @@ -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 diff --git a/python-kombu.spec b/python-kombu.spec index 0283ff0..3b4e1b8 100644 --- a/python-kombu.spec +++ b/python-kombu.spec @@ -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,-)