Accepting request 538135 from home:pluskalm:branches:GNOME:Factory

- Explicitly require python2
- Cleanup with spec-clener

OBS-URL: https://build.opensuse.org/request/show/538135
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/telepathy-logger?expand=0&rev=37
This commit is contained in:
Dominique Leuenberger 2017-11-01 16:12:59 +00:00 committed by Git OBS Bridge
parent 75912e4394
commit 7548bea792
2 changed files with 15 additions and 15 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 1 15:54:03 UTC 2017 - mpluskal@suse.com
- Explicitly require python2
- Cleanup with spec-clener
-------------------------------------------------------------------
Tue Jul 26 18:30:11 UTC 2016 - zaitor@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package telepathy-logger
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -29,7 +29,9 @@ Patch0: telepathy-logger-tests-Rename-function.patch
BuildRequires: gnome-doc-utils-devel
BuildRequires: gobject-introspection-devel
BuildRequires: intltool
BuildRequires: python-xml
BuildRequires: pkgconfig
BuildRequires: python2-devel
BuildRequires: python2-xml
BuildRequires: pkgconfig(dbus-1) >= 1.1.0
BuildRequires: pkgconfig(dbus-glib-1) >= 0.82
BuildRequires: pkgconfig(glib-2.0) >= 2.28
@ -115,13 +117,13 @@ logs in applications without having to provide lots of information over D-Bus).
%build
%configure \
--disable-static \
--enable-public-extensions
make %{?_smp_mflags}
--disable-static \
--enable-public-extensions
make %{?_smp_mflags} V=1
%install
%makeinstall
find %{buildroot}%{_libdir} -name '*.la' -delete -print
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post
%glib2_gsettings_schema_post
@ -130,15 +132,11 @@ find %{buildroot}%{_libdir} -name '*.la' -delete -print
%glib2_gsettings_schema_postun
%post -n libtelepathy-logger3 -p /sbin/ldconfig
%postun -n libtelepathy-logger3 -p /sbin/ldconfig
%post -n libtpl-extensions3 -p /sbin/ldconfig
%postun -n libtpl-extensions3 -p /sbin/ldconfig
%files
%defattr(-, root, root)
%{_libexecdir}/telepathy-logger
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Logger.service
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Logger.service
@ -148,19 +146,15 @@ find %{buildroot}%{_libdir} -name '*.la' -delete -print
%{_datadir}/telepathy/clients/Logger.client
%files -n libtelepathy-logger3
%defattr(-, root, root)
%{_libdir}/libtelepathy-logger.so.*
%files -n typelib-1_0-TelepathyLogger-0_2
%defattr(-,root,root)
%{_libdir}/girepository-1.0/TelepathyLogger-0.2.typelib
%files -n libtpl-extensions3
%defattr(-, root, root)
%{_libdir}/libtpl-extensions.so.*
%files devel
%defattr(-, root, root)
%{_includedir}/telepathy-logger-0.2/
%{_includedir}/tpl-extensions/
%{_libdir}/pkgconfig/telepathy-logger-0.2.pc