diff --git a/.gitignore b/.gitignore index 60f1e44..1fa06d3 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ compizconfig-python-0.8.4.tar.bz2 /compizconfig-python-0.8.9.tar.xz /compizconfig-python-0.8.12.tar.xz /compizconfig-python-0.8.12.1.tar.xz +/compizconfig-python-0.8.14.tar.xz diff --git a/compizconfig-python.spec b/compizconfig-python.spec index b7f3116..143558d 100644 --- a/compizconfig-python.spec +++ b/compizconfig-python.spec @@ -1,22 +1,19 @@ %global basever 0.8.12 Name: compizconfig-python -Version: 0.8.12.1 -Release: 3%{?dist} +Version: 0.8.14 +Release: 1%{?dist} Epoch: 1 Summary: Python bindings for the Compiz Configuration System Group: Development/Libraries License: LGPLv2+ -URL: https://github.com/raveit65/compizconfig-python -Source0: https://github.com/raveit65/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz - -# libdrm is not available on these arches -ExcludeArch: s390 s390x +URL: https://github.com/compiz-reloaded/compizconfig-python +Source0: https://github.com/compiz-reloaded/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz BuildRequires: libcompizconfig-devel >= %{basever} BuildRequires: glib2-devel -BuildRequires: Cython -BuildRequires: python2-devel +BuildRequires: python3-devel +BuildRequires: python3-Cython Requires: compiz >= %{basever} @@ -40,21 +37,31 @@ plugins and the composite window manager. %setup -q %build -%configure --disable-static +export PYTHON=python3 + +%configure --disable-static \ + --with-cython=cython3 + make %{?_smp_mflags} V=1 %install %{make_install} -find $RPM_BUILD_ROOT -type f -name "*.a" -o -name "*.la" | xargs rm -f +find %{buildroot} -type f -name "*.a" -o -name "*.la" | xargs rm -f %files %doc COPYING NEWS -%{python_sitearch}/compizconfig.so +%{python3_sitearch}/compizconfig.so %exclude %{_libdir}/pkgconfig/compizconfig-python.pc %changelog +* Thu Apr 20 2017 Wolfgang Ulbrich - 1:0.8.14-1 +- update to 0.8.14 release +- remove ExcludeArch for s390 s390x, libdrm is available there +- switch to python3 +- modernize spec file + * Thu Nov 17 2016 Wolfgang Ulbrich - 1:0.8.12.1-3 - include ppc64 arch diff --git a/sources b/sources index 651b000..9883ca9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c7af7de0721d046b00b458038b135bab compizconfig-python-0.8.12.1.tar.xz +SHA512 (compizconfig-python-0.8.14.tar.xz) = d1090d143962bde0b3ce6b7e4af14d17ae12da9ea652d65c4993d09e4fa20ea5e4c12f5243ef27d525f7de3121a33701cba7588fb282df5c97234c9ac4c341dc