diff --git a/telepathy-glib.spec b/telepathy-glib.spec index e342465..344c341 100644 --- a/telepathy-glib.spec +++ b/telepathy-glib.spec @@ -6,7 +6,7 @@ Name: telepathy-glib Version: 0.24.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GLib bindings for Telepathy License: LGPLv2+ @@ -57,7 +57,7 @@ developing applications that use %{name}. %prep -%setup -q +%autosetup -p1 # Explicitly switch to python3 env LANG=C grep -rl python . | \ @@ -66,30 +66,19 @@ env LANG=C grep -rl python . | \ -e 's|/usr/bin/env[ \t]*python$|/usr/bin/python3|' \ %{nil} -# And tweak timestamps -touch aclocal.m4 -find . -name Makefile.in | xargs touch -touch configure -touch config.h.in - -# Clean up -rm -f telepathy-glib/TelepathyGLib-*.gir - %build -export PYTHON=python3 - %configure \ --enable-static=no \ --disable-silent-rules \ --enable-introspection=yes \ --enable-vala-bindings=yes \ %{nil} -make %{?_smp_mflags} + +%{make_build} %install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' +%{make_install} +find $RPM_BUILD_ROOT -name '*.la' -delete %check make check @@ -97,10 +86,8 @@ make check %ldconfig_scriptlets %files -%doc AUTHORS %license COPYING -%doc NEWS -%doc README +%doc AUTHORS NEWS README %{_libdir}/libtelepathy-glib.so.0 %{_libdir}/libtelepathy-glib.so.0.* %{_libdir}/girepository-1.0/TelepathyGLib-0.12.typelib @@ -118,6 +105,9 @@ make check %changelog +* Sun Feb 14 2021 Peter Robinson - 0.24.2-2 +- Minor spec cleanups + * Sun Feb 14 2021 Mamoru TASAKA - 0.24.2-1 - 0.24.2