14
0

Accepting request 695808 from home:mcalabkova:branches:devel:languages:python

- update to version 0.4.3
  * Added missing attribution to contributors section and messed up 
    0.4.2 release to new pypi.
  * Thanks to https://github.com/pgajdos for contributing a fix to 
    include the license in the distribution.
- removed LICENSE (now it is included).

OBS-URL: https://build.opensuse.org/request/show/695808
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stomper?expand=0&rev=17
This commit is contained in:
2019-04-18 17:25:59 +00:00
committed by Git OBS Bridge
parent 7beb00d255
commit a862b8165f
5 changed files with 17 additions and 215 deletions

View File

@@ -18,25 +18,21 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-stomper
Version: 0.4.1
Version: 0.4.3
Release: 0
Summary: Transport neutral client implementation of the STOMP protocol
License: Apache-2.0
Group: Development/Languages/Python
Url: https://code.google.com/p/stomper
Source0: https://pypi.python.org/packages/source/s/stomper/stomper-%{version}.tar.gz
# https://github.com/oisinmulvihill/stomper/issues/12
Source1: LICENSE
URL: https://code.google.com/p/stomper
Source0: https://files.pythonhosted.org/packages/source/s/stomper/stomper-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module future}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
# /SECTION
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
@@ -49,7 +45,6 @@ the sending and receiving.
%prep
%setup -q -n stomper-%{version}
cp %{SOURCE1} .
%build
%python_build
@@ -62,7 +57,6 @@ cp %{SOURCE1} .
%python_expand nosetests-%{$python_bin_suffix}
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst lib/stomper/examples
%license LICENSE
%{python_sitelib}/*