[packages/ssh-keydb] package .py for now, for plugin to be found

glen glen at pld-linux.org
Wed Feb 11 20:37:32 CET 2015


commit 0101a68e870dbc6a3e8d0523a936af3ca09f0757
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Feb 11 21:37:25 2015 +0200

    package .py for now, for plugin to be found

 ssh-keydb.spec | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/ssh-keydb.spec b/ssh-keydb.spec
index 5988d4c..11fa10d 100644
--- a/ssh-keydb.spec
+++ b/ssh-keydb.spec
@@ -1,7 +1,7 @@
 Summary:	OpenSSH public key management tool
 Name:		ssh-keydb
 Version:	1.0
-Release:	0.1
+Release:	0.3
 License:	GPL v3
 Group:		Applications
 #Source0:	https://pypi.python.org/packages/2.7/s/ssh-keydb/ssh_keydb-%{version}dev-py2.7.egg
@@ -32,10 +32,12 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
 %{__python} setup.py install \
 	--record=INSTALLED_FILES \
+	--skip-build \
+	--optimize=2 \
 	--single-version-externally-managed \
 	--root=$RPM_BUILD_ROOT
 
-%py_postclean
+#py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -48,3 +50,6 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{py_sitescriptdir}/ssh_keydb/plugins
 %{py_sitescriptdir}/ssh_keydb/plugins/*.py[co]
 %{py_sitescriptdir}/ssh_keydb_server-%{version}-py*.egg-info
+
+%{py_sitescriptdir}/ssh_keydb/*.py
+%{py_sitescriptdir}/ssh_keydb/plugins/*.py
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ssh-keydb.git/commitdiff/0101a68e870dbc6a3e8d0523a936af3ca09f0757



More information about the pld-cvs-commit mailing list