[packages/python-jsonpointer] - make sure that py3 install will install jsonpointer script - rel 3
baggins
baggins at pld-linux.org
Sat Jul 7 13:57:22 CEST 2018
commit 73252ca2d8d4feacbba294722b0a51d20723dea3
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Jul 7 13:56:45 2018 +0200
- make sure that py3 install will install jsonpointer script
- rel 3
python-jsonpointer.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python-jsonpointer.spec b/python-jsonpointer.spec
index 60b9385..7be6d76 100644
--- a/python-jsonpointer.spec
+++ b/python-jsonpointer.spec
@@ -7,7 +7,7 @@
Summary: Identify specific nodes in a JSON document (RFC 6901)
Name: python-jsonpointer
Version: 1.10
-Release: 2
+Release: 3
License: BSD
Group: Libraries/Python
Source0: https://files.pythonhosted.org/packages/source/j/jsonpointer/jsonpointer-%{version}.tar.gz
@@ -70,6 +70,8 @@ rm -rf $RPM_BUILD_ROOT
%endif
%if %{with python3}
+# install may not overwrite existing file
+%{__rm} -f $RPM_BUILD_ROOT%{_bindir}/jsonpointer
%py3_install
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-jsonpointer.git/commitdiff/73252ca2d8d4feacbba294722b0a51d20723dea3
More information about the pld-cvs-commit
mailing list