diff --git a/pygobject2.spec b/pygobject2.spec index e520713..5c1ce46 100644 --- a/pygobject2.spec +++ b/pygobject2.spec @@ -6,7 +6,7 @@ Name: pygobject2 Version: 2.28.7 -Release: 7%{?dist} +Release: 8%{?dist} License: LGPLv2+ Summary: Python 2 bindings for GObject URL: http://www.pygtk.org/ @@ -62,10 +62,10 @@ find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python2}|' PYTHON=%{__python2} export PYTHON %configure --disable-introspection -make %{?_smp_mflags} +%make_build %install -make DESTDIR=$RPM_BUILD_ROOT install +%make_install find $RPM_BUILD_ROOT -name '*.la' -delete find $RPM_BUILD_ROOT -name '*.a' -delete rm examples/Makefile* @@ -103,6 +103,10 @@ sed -r -i 's|#! ?/usr/bin/env python|#!%{__python2}|' %{buildroot}%{_datadir}/py %{_datadir}/pygobject/xsl %changelog +* Tue Jul 14 2020 Tom Stellard - 2.28.7-8 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Thu Jan 30 2020 Fedora Release Engineering - 2.28.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild