Tom Stellard 2020-07-14 03:09:55 +00:00
parent 6a1c7f944b
commit 3398713833

View File

@ -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 <tstellar@redhat.com> - 2.28.7-8
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.28.7-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild