summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Cacqueray <tdecacqu@redhat.com>2019-09-20 20:03:56 +0000
committerTristan Cacqueray <tdecacqu@redhat.com>2019-09-20 20:03:57 +0000
commitf47f9184e13604992c98b3562387ddf7717dd94d (patch)
tree5ec2fd0a4c5c5e7ea5fa97685afb5c29ee294b60
parent70edcc814d53e1a3c8c8265b42dc18b88aa71061 (diff)
Initial packagingHEADmaster
Change-Id: I1dfee3f44d2ea1b9d1595356156dcfbe77a87762
-rw-r--r--python-stevedore.spec50
1 files changed, 50 insertions, 0 deletions
diff --git a/python-stevedore.spec b/python-stevedore.spec
new file mode 100644
index 0000000..176d2d2
--- /dev/null
+++ b/python-stevedore.spec
@@ -0,0 +1,50 @@
+%global srcname stevedore
+
+%global pypi_name stevedore
+
+Name: python3-stevedore
+Version: 1.30.0
+Release: 1%{?dist}
+Summary: Manage dynamic plugins for Python applications
+
+License: ASL 2.0
+URL: https://docs.openstack.org/stevedore/latest/
+Source0: https://pypi.io/packages/source/%(c=%{pypi_name}; echo ${c:0:1})/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+
+BuildArch: noarch
+
+Requires: python3-six
+Requires: python3-pbr
+
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pbr
+BuildRequires: python3-six
+
+
+%description
+Manage dynamic plugins for Python applications
+
+%prep
+%autosetup -n stevedore-%{version} -p1
+
+%build
+rm -Rf requirements.txt test-requirements.txt *.egg-info
+PBR_VERSION=%{version} %{__python3} setup.py build
+
+%install
+PBR_VERSION=%{version} %{__python3} setup.py install -O1 --skip-build --root %{buildroot}
+
+%check
+%{__python3} -c "import stevedore"
+
+%files
+%defattr(644,root,root,755)
+%{python3_sitelib}/*
+
+%changelog
+* Mon Nov 26 2018 Tristan Cacqueray <tdecacqu@redhat.com> - 1.30.0-1
+- Bump to 1.30.0
+
+* Fri Aug 25 2017 Tristan Cacqueray <tdecacqu@redhat.com> - 1.25.0-1
+- Initial packaging