forked from pool/python-requestbuilder
Accepting request 836419 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/836419 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requestbuilder?expand=0&rev=3
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package
|
||||
# spec file for package python-requestbuilder
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,24 +12,27 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-requestbuilder
|
||||
Version: 0.1.0
|
||||
Release: 0
|
||||
License: ISC
|
||||
Summary: Command line-driven HTTP request builder
|
||||
Url: https://github.com/boto/requestbuilder
|
||||
Group: Development/Languages/Python
|
||||
Source: requestbuilder-%{version}.tar.gz
|
||||
BuildRequires: python
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
Requires: python
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Version: 0.7.1
|
||||
Release: 0
|
||||
Summary: Command line-driven HTTP request builder
|
||||
License: ISC
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/boto/requestbuilder
|
||||
Source: https://files.pythonhosted.org/packages/source/r/requestbuilder/requestbuilder-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Command line-driven HTTP request builder
|
||||
|
||||
@@ -37,15 +40,13 @@ Command line-driven HTTP request builder
|
||||
%setup -q -n requestbuilder-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README COPYING
|
||||
%files %{python_files}
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
|
Reference in New Issue
Block a user