Skip to content

Commit

Permalink
Remove group, fix license, add missing requires
Browse files Browse the repository at this point in the history
  • Loading branch information
psss committed Nov 11, 2019
1 parent cd404df commit 940b1a2
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions python-nitrate.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ Version: 1.5
Release: 2%{?dist}

Summary: Python API for the Nitrate test case management system
Group: Development/Languages
License: LGPLv2
License: LGPLv2+

URL: https://github.com/psss/python-nitrate
Source0: %{url}/releases/download/%{version}/python-nitrate-%{version}.tar.bz2
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.bz2

# Depending on the distro, we set some defaults.
# Note that the bcond macros are named for the CLI option they create.
Expand All @@ -27,10 +26,17 @@ Source0: %{url}/releases/download/%{version}/python-nitrate-%{version}.tar.bz2
BuildArch: noarch
BuildRequires: git-core
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-six

%description
%global _description %{expand:
A Python interface to the Nitrate test case management system.
The package consists of a high-level Python module (provides
natural object interface), a low-level driver (allows to directly
access Nitrate's XMLRPC API) and a command line interpreter
(useful for fast debugging and experimenting).}

%description %_description


%package -n python3-nitrate
Expand All @@ -39,14 +45,10 @@ Summary: %summary
%if %{with oldreqs}
Requires: python%{python3_pkgversion}-gssapi
Requires: python%{python3_pkgversion}-psycopg2
Requires: python%{python3_pkgversion}-six
%endif

%description -n python3-nitrate
A Python interface to the Nitrate test case management system.
The package consists of a high-level Python module (provides
natural object interface), a low-level driver (allows to directly
access Nitrate's XMLRPC API) and a command line interpreter
(useful for fast debugging and experimenting).
%description -n python3-nitrate %_description

%prep
%autosetup -S git
Expand Down Expand Up @@ -79,6 +81,7 @@ pathfix.py -pni "%{__python3} %{py3_shbang_opts}i" %{buildroot}%{_bindir}/nitrat
* Mon Nov 11 2019 Petr Šplíchal <[email protected]> - 1.5-2
- Use py3_build and py3_install to simplify spec
- Rename and explicitly list the license file
- Remove group, fix license, add missing requires

* Mon Nov 04 2019 Martin Zeleny <[email protected]> 1.5-0
- Ported to Python 3
Expand Down

0 comments on commit 940b1a2

Please sign in to comment.