Accepting request 434771 from home:Zaitor:branches:Base:System

Upstream version bump and cleanup

OBS-URL: https://build.opensuse.org/request/show/434771
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1-glib?expand=0&rev=49
This commit is contained in:
Fridrich Strba 2016-10-14 05:50:13 +00:00 committed by Git OBS Bridge
parent 43234ab04b
commit 14d0003267
4 changed files with 34 additions and 18 deletions

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Wed Oct 12 19:28:57 UTC 2016 - zaitor@opensuse.org
- Update to version 0.108:
+ Use dbus-run-session instead of dbus-launch for tests.
- Changes from version 0.106:
+ Stop testing G_HAVE_INLINE, which ceased to work in GLib 2.47.2
and wasn't meant to be API anyway. Instead, rely on "static
inline" doing the right thing. On pre-C99 compilers, this
relies on <glib.h> defining inline to __inline, __inline__ or
the empty string if the compiler requires it, which it has done
since 2000. (fdo#93513).
+ Stop calling g_mem_profile() in the tests, which no longer does
anything and caused the tests to fail by issuing a warning.
+ Slightly modernize build system, and remove a weird
cross-directory dependency which was breaking distcheck.
+ Stop distributing generated marshallers in the tarball.
- Run spec-clean, modernize spec-file macros and also drop a no
longer conditional dbus-1-glib-64bit Obsoletes.
-------------------------------------------------------------------
Sat May 30 19:36:36 UTC 2015 - zaitor@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package dbus-1-glib
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@ -17,12 +17,12 @@
Name: dbus-1-glib
Url: http://dbus.freedesktop.org/
Version: 0.104
Version: 0.108
Release: 0
Summary: GLib-based library for using D-Bus
License: AFL-2.1 or GPL-2.0+
Group: Development/Libraries/Other
Url: http://dbus.freedesktop.org/
Source0: http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: dbus-1-devel >= 1.8
@ -30,10 +30,6 @@ BuildRequires: glib2-devel >= 2.32
BuildRequires: libexpat-devel
BuildRequires: libselinux-devel
Requires: dbus-1
# bug437293
%ifarch ppc64
Obsoletes: dbus-1-glib-64bit
%endif
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -64,21 +60,21 @@ D-Bus add-on library to integrate the standard D-Bus library with the
GLib thread abstraction and main loop.
%prep
%setup -n dbus-glib-%{version} -q
%setup -q -n dbus-glib-%{version}
%build
export CFLAGS="${RPM_OPT_FLAGS} -fstack-protector -fPIC"
export CFLAGS="%{optflags} -fstack-protector -fPIC"
%configure \
--libexecdir=%{_libexecdir}/%{name} \
%if 0%{?_crossbuild}
--with-dbus-binding-tool=/usr/bin/dbus-binding-tool \
--with-dbus-binding-tool=%{_bindir}/dbus-binding-tool \
%endif
--disable-static
%{__make} %{?_smp_mflags}
make %{?_smp_mflags}
%install
%makeinstall
%{__rm} %{buildroot}/%{_libdir}/*.la
make %{?_smp_mflags} DESTDIR=%{buildroot} install
find %{buildroot} -type f -name "*.la" -delete -print
# Remove the exacutable bit from dbus-bash-completion.sh
chmod -x %{buildroot}/%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
@ -88,7 +84,7 @@ chmod -x %{buildroot}/%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
%postun
%{run_ldconfig}
%files
%files
%defattr(-, root, root)
%{_libdir}/*glib*.so.*
%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
@ -97,7 +93,7 @@ chmod -x %{buildroot}/%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
%files -n dbus-1-glib-devel
%defattr(-, root, root)
%{_bindir}/dbus-binding-tool
%doc %{_mandir}/man?/dbus-binding-tool.*
%{_mandir}/man?/dbus-binding-tool.1%{ext_man}
%{_includedir}/dbus-1.0/dbus/*
%{_libdir}/*glib*.so
%{_libdir}/pkgconfig/dbus-glib-1.pc

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bfc1f1a82bfc3ec3ecafe04d0e87bab7e999f50dce4f4a34d0b89caf6bd821f6
size 793417

3
dbus-glib-0.108.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f340c7e2352e9cdf113893ca77ca9075d9f8d5e81476bf2bf361099383c602c
size 812488