From: Jakub Bogusz Date: Mon, 17 Jan 2005 15:22:19 +0000 (+0000) Subject: - arch-dependent modules must be in sitedir X-Git-Tag: auto/ac/python-MySQLdb-1_1_7-3~1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=46cbb6839b5fa93295de4095bcadda239139ce91;p=packages%2Fpython-MySQLdb.git - arch-dependent modules must be in sitedir Changed files: python-MySQLdb.spec -> 1.31 --- diff --git a/python-MySQLdb.spec b/python-MySQLdb.spec index 226d4c0..d60d429 100644 --- a/python-MySQLdb.spec +++ b/python-MySQLdb.spec @@ -38,7 +38,6 @@ env CFLAGS="%{rpmcflags}" %{_bindir}/python setup.py build rm -rf $RPM_BUILD_ROOT python -- setup.py install \ --root=$RPM_BUILD_ROOT \ - --install-lib=%{py_sitescriptdir} \ --optimize=2 %clean @@ -47,11 +46,9 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README doc/* -%attr(755,root,root) %{py_sitescriptdir}/*.so -%{py_sitescriptdir}/*.py? - -%dir %{py_sitescriptdir}/MySQLdb -%{py_sitescriptdir}/MySQLdb/*.py? - -%dir %{py_sitescriptdir}/MySQLdb/constants -%{py_sitescriptdir}/MySQLdb/constants/*.py? +%attr(755,root,root) %{py_sitedir}/*.so +%{py_sitedir}/*.py? +%dir %{py_sitedir}/MySQLdb +%{py_sitedir}/MySQLdb/*.py? +%dir %{py_sitedir}/MySQLdb/constants +%{py_sitedir}/MySQLdb/constants/*.py?