diff --git a/thunarx-python-0.5.1.tar.bz2 b/thunarx-python-0.5.1.tar.bz2 deleted file mode 100644 index ec0c972..0000000 Binary files a/thunarx-python-0.5.1.tar.bz2 and /dev/null differ diff --git a/thunarx-python-0.5.2.tar.bz2 b/thunarx-python-0.5.2.tar.bz2 new file mode 100644 index 0000000..13e289e Binary files /dev/null and b/thunarx-python-0.5.2.tar.bz2 differ diff --git a/thunarx-python.spec b/thunarx-python.spec index 1949e0f..9ce5591 100644 --- a/thunarx-python.spec +++ b/thunarx-python.spec @@ -1,13 +1,13 @@ +%global minorversion 0.5 + Name: thunarx-python -Version: 0.5.1 -Release: 2 +Version: 0.5.2 +Release: 1 Summary: Python bindings for the Thunar Extension Framework License: LGPLv2+ -#Group: Development/Libraries URL: http://goodies.xfce.org/projects/bindings/%{name} -Source0: http://archive.xfce.org/src/bindings/%{name}/0.5/%{name}-%{version}.tar.bz2 +Source0: http://archive.xfce.org/src/bindings/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -#BuildArch: noarch BuildRequires: gcc-c++ BuildRequires: gtk-doc BuildRequires: pygobject3-devel >= 2.6.0 @@ -22,13 +22,13 @@ Provides: python3-thunarx%{?_isa} = %{version}-%{release} These bindings allow one to create python plugins for Thunar. %prep -%setup -q +%autosetup %build -export PYTHON=/usr/bin/python3.8 -export PYTHON_LIBS=-lpython3.8 -export PKG_CONFIG_PATH=/usr/lib64/pkgconfig -%configure --enable-gtk-doc --with-python3 +export PYTHON=%{__python3} +export PYTHON_LIBS=-lpython%{python3_version} +export PKG_CONFIG_PATH=/%{_libdir}pkgconfig +%configure --enable-gtk-doc %make_build %install @@ -48,5 +48,8 @@ mkdir -p %{buildroot}/%{_datadir}/thunarx-python/extensions %doc %{_pkgdocdir}/examples/ %changelog +* Fri Jun 18 2021 zhanglin - 0.5.2-1 +- Update to 0.5.2 + * Tue Jul 28 2020 Dillon Chen - 0.5.1-1 - Init package