commit eaf1413345cce02eb173ed401c61facd6cca25c7
Author: Jan RÄ™korajski <[email protected]>
Date:   Sat May 7 20:47:24 2016 +0200

    - use rpm python macros
    - updated files
    - rel 5

 python-pymssql.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/python-pymssql.spec b/python-pymssql.spec
index 7addfb1..131d1af 100644
--- a/python-pymssql.spec
+++ b/python-pymssql.spec
@@ -2,7 +2,7 @@ Summary:        A Python interface to MSSQL
 Summary(pl.UTF-8):     Interfejs Pythona do MSSQL
 Name:          python-pymssql
 Version:       0.8.0
-Release:       4
+Release:       5
 License:       GPL
 Group:         Libraries/Python
 Source0:       http://dl.sourceforge.net/pymssql/pymssql-%{version}.tar.gz
@@ -26,14 +26,13 @@ Interfejs Pythona do MSSQL.
 %setup -q -n pymssql-%{version}
 
 %build
-env CFLAGS="%{rpmcflags}" %{_bindir}/%py_build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python -- setup.py install \
-       --root=$RPM_BUILD_ROOT \
-       --optimize=2
+%py_install
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -43,3 +42,4 @@ rm -rf $RPM_BUILD_ROOT
 %doc PKG-INFO
 %attr(755,root,root) %{py_sitedir}/*.so
 %{py_sitedir}/*.py[co]
+%{py_sitedir}/pymssql-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pymssql.git/commitdiff/eaf1413345cce02eb173ed401c61facd6cca25c7

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to