From eaa0f02131e13cccb9546db71019c5640094f1b4 Mon Sep 17 00:00:00 2001 From: Oliver Falk Date: Feb 20 2008 15:50:57 +0000 Subject: Yet another python fix --- diff --git a/syck.spec b/syck.spec index c6a3109..b9154f0 100644 --- a/syck.spec +++ b/syck.spec @@ -1,12 +1,12 @@ %define php_extdir %(php-config --extension-dir || echo %{_libdir}/php) %{!?php_version:%define php_version %(php-config --version || echo bad)} -%{!?python_sitelib:%define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Name: syck Summary: YAML for C, Python, and PHP Version: 0.61 -Release: 4.2%{?dist} +Release: 4.3%{?dist} License: BSD Group: System Environment/Libraries @@ -165,20 +165,23 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root,0755) -%doc README.EXT README.BYTECODE README.EXT +%doc README.EXT README.BYTECODE %{_libdir}/*.so %{_libdir}/*.a %{_includedir}/*.h %files python %defattr(-,root,root,0755) -%{python_sitelib}/* +%{python_sitearch}/* %files php %defattr(-,root,root,0755) %{php_extdir}/*.so %changelog +* Tue Feb 19 2008 Oliver Falk - 0.61-4.3 +- Yet another python fix + * Tue Feb 19 2008 Fedora Release Engineering - 0.61-4.2 - Autorebuild for GCC 4.3