commit 89ffcaae05f0c790dcad22163f2f5031a01a6344
Author: Elan Ruusamäe <[email protected]>
Date:   Sat May 18 00:46:28 2013 +0300

    build withour optflags

 python-parted.spec | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/python-parted.spec b/python-parted.spec
index 54875c0..6700e2b 100644
--- a/python-parted.spec
+++ b/python-parted.spec
@@ -13,7 +13,6 @@ BuildRequires:        pkgconfig
 BuildRequires: python-devel >= 1:2.7
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.219
-%pyrequires_eq python-libs
 Requires:      parted >= 3.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -29,13 +28,15 @@ partycji.
 %setup -q -n pyparted-%{version}
 
 %build
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags}" \
 %{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} -- setup.py install \
-       --root=$RPM_BUILD_ROOT \
-       --optimize=2
+%{__python} setup.py install \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
 
 %py_postclean
 
@@ -46,6 +47,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS BUGS ChangeLog NEWS README TODO
 %attr(755,root,root) %{py_sitedir}/_pedmodule.so
-%{py_sitedir}/pyparted-%{version}-py*.egg-info
 %dir %{py_sitedir}/parted
 %{py_sitedir}/parted/*.py[co]
+%{py_sitedir}/pyparted-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-parted.git/commitdiff/89ffcaae05f0c790dcad22163f2f5031a01a6344

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

Reply via email to