Notification time stamped 2020-02-29 13:04:57 UTC
From 93a271a636b5b893865eb159662c816c7f7a0e64 Mon Sep 17 00:00:00 2001
From: Athos Ribeiro <athoscr(a)fedoraproject.org>
Date: Feb 29 2020 13:04:19 +0000
Subject: Update version to 1.1.0.post3
---
diff --git a/.gitignore b/.gitignore
index 3887a0c..d748787 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/pyclipper-1.1.0.tar.gz
+/pyclipper-1.1.0.post3.tar.gz
diff --git a/python-pyclipper.spec b/python-pyclipper.spec
index 6e46a80..d511703 100644
--- a/python-pyclipper.spec
+++ b/python-pyclipper.spec
@@ -1,8 +1,8 @@
%global srcname pyclipper
Name: python-%{srcname}
-Version: 1.1.0
-Release: 10%{?dist}
+Version: 1.1.0.post3
+Release: 1%{?dist}
Summary: Cython wrapper for the C++ translation of the Angus Johnson's Clipper library
License: MIT
@@ -44,12 +44,27 @@ sed -i "s/'unittest2', //" setup.py
sed -i s/unittest2/unittest/ tests/test_pyclipper.py
%build
+# Here we set upstream version based on setuptools_scm documentation
+# this is done to avoid the following error:
+# LookupError: setuptools-scm was unable to detect version
+# since we are not importing a .git repository in the tarball
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%py3_build
%install
+# Here we set upstream version based on setuptools_scm documentation
+# this is done to avoid the following error:
+# LookupError: setuptools-scm was unable to detect version
+# since we are not importing a .git repository in the tarball
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%py3_install
%check
+# Here we set upstream version based on setuptools_scm documentation
+# this is done to avoid the following error:
+# LookupError: setuptools-scm was unable to detect version
+# since we are not importing a .git repository in the tarball
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%{__python3} setup.py test
%files -n python3-%{srcname}
@@ -59,6 +74,9 @@ sed -i s/unittest2/unittest/ tests/test_pyclipper.py
%{python3_sitearch}/*.so
%changelog
+* Sat Feb 29 2020 Athos Ribeiro <athoscr(a)fedoraproject.org> - 1.1.0.post3-1
+- Update version
+
* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
diff --git a/sources b/sources
index e90ce50..f8d3ef7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pyclipper-1.1.0.tar.gz) = 53371bc2e0439f72ac4ebf96f833c4451d2b1924d7f9cddcbac79a0a6d6bd95ac1fb3fb08e3ea3fcf3ffe22cd718d31c7c528016605b275a3e80642e58546d74
+SHA512 (pyclipper-1.1.0.post3.tar.gz) = 0b3c3f18593bafedaedf8a91411ba5d3d1c2ac55c949bca21e3a527ca0930eae5ea033a0f57337573a1106e2871a50dcb0176b959b98ad8ac58636c6d45f94a9
https://src.fedoraproject.org/rpms/python-pyclipper/c/93a271a636b5b893865eb…