Compare commits

...

No commits in common. "c8s" and "c9s" have entirely different histories.
c8s ... c9s

9 changed files with 214 additions and 10 deletions

View File

@ -1 +1 @@
998b7c762c8f18c906f19fc393bb8712eabe8c97 SOURCES/dbus-glib-0.110.tar.gz
998b7c762c8f18c906f19fc393bb8712eabe8c97 dbus-glib-0.110.tar.gz

12
.gitignore vendored
View File

@ -1 +1,11 @@
SOURCES/dbus-glib-0.110.tar.gz
dbus-glib-0.84.tar.gz
DBusGLib-1.0.gir
dbus-glib-0.88.tar.gz
/dbus-glib-0.92.tar.gz
/dbus-glib-0.100.tar.gz
/dbus-glib-0.100.2.tar.gz
/dbus-glib-0.102.tar.gz
/dbus-glib-0.104.tar.gz
/dbus-glib-0.106.tar.gz
/dbus-glib-0.108.tar.gz
/dbus-glib-0.110.tar.gz

77
dbus-bus-introspect.xml Normal file
View File

@ -0,0 +1,77 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg name="data" direction="out" type="s"/>
</method>
</interface>
<interface name="org.freedesktop.DBus">
<method name="RequestName">
<arg direction="in" type="s"/>
<arg direction="in" type="u"/>
<arg direction="out" type="u"/>
</method>
<method name="ReleaseName">
<arg direction="in" type="s"/>
<arg direction="out" type="u"/>
</method>
<method name="StartServiceByName">
<arg direction="in" type="s"/>
<arg direction="in" type="u"/>
<arg direction="out" type="u"/>
</method>
<method name="Hello">
<arg direction="out" type="s"/>
</method>
<method name="NameHasOwner">
<arg direction="in" type="s"/>
<arg direction="out" type="b"/>
</method>
<method name="ListNames">
<arg direction="out" type="as"/>
</method>
<method name="ListActivatableNames">
<arg direction="out" type="as"/>
</method>
<method name="AddMatch">
<arg direction="in" type="s"/>
</method>
<method name="RemoveMatch">
<arg direction="in" type="s"/>
</method>
<method name="GetNameOwner">
<arg direction="in" type="s"/>
<arg direction="out" type="s"/>
</method>
<method name="ListQueuedOwners">
<arg direction="in" type="s"/>
<arg direction="out" type="as"/>
</method>
<method name="GetConnectionUnixUser">
<arg direction="in" type="s"/>
<arg direction="out" type="u"/>
</method>
<method name="GetConnectionUnixProcessID">
<arg direction="in" type="s"/>
<arg direction="out" type="u"/>
</method>
<method name="GetConnectionSELinuxSecurityContext">
<arg direction="in" type="s"/>
<arg direction="out" type="ay"/>
</method>
<method name="ReloadConfig">
</method>
<signal name="NameOwnerChanged">
<arg type="s"/>
<arg type="s"/>
<arg type="s"/>
</signal>
<signal name="NameLost">
<arg type="s"/>
</signal>
<signal name="NameAcquired">
<arg type="s"/>
</signal>
</interface>
</node>

View File

@ -5,17 +5,19 @@
Summary: GLib bindings for D-Bus
Name: dbus-glib
Version: 0.110
Release: 2%{?dist}
Release: 13%{?dist}
URL: http://www.freedesktop.org/software/dbus/
#VCS: git:git://git.freedesktop.org/git/dbus/dbus-glib
Source0: https://dbus.freedesktop.org/releases/dbus-glib/%{name}-%{version}.tar.gz
License: AFL and GPLv2+
Group: System Environment/Libraries
BuildRequires: gcc
BuildRequires: pkgconfig(dbus-1) >= %{dbus_version}
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
BuildRequires: expat-devel >= %{expat_version}
BuildRequires: gettext
BuildRequires: /usr/bin/chrpath
BuildRequires: dbus-daemon
BuildRequires: make
%description
@ -24,7 +26,6 @@ the GLib thread abstraction and main loop.
%package devel
Summary: Libraries and headers for the D-Bus GLib bindings
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
@ -39,14 +40,14 @@ Headers and static libraries for the D-Bus GLib bindings
--enable-asserts=yes \
--disable-gtk-doc
make %{?_smp_mflags} V=1
%make_build V=1
%check
make check
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%make_install
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
@ -58,9 +59,7 @@ chrpath --delete $RPM_BUILD_ROOT%{_libexecdir}/dbus-bash-completion-helper
chmod -x $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%doc NEWS
@ -79,6 +78,42 @@ chmod -x $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.110-13
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 0.110-12
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-10
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 0.110-8
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 10 2019 Scott Talbert <swt@techie.net> - 0.110-5
- Add dbus-daemon to BRs to fix FTBFS (#1674792)
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (dbus-glib-0.110.tar.gz) = c40ccf7118d4951f0e09082216ccd26f21ee906bdf96d912611d3cd29badd7ef446bea74e19f26c28ebceb9e19bb659d11c643c3e712dac499df12907be88a54

1
tests/README Normal file
View File

@ -0,0 +1 @@
Tests are passing and ready to be migrated to dist-git

16
tests/tests.yml Normal file
View File

@ -0,0 +1,16 @@
---
# This first play always runs on the local staging system
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- upstream-testset
required_packages:
- dbus-glib
- rpm-build
- gcc
- gcc-c++
- wget
- make

View File

@ -0,0 +1,58 @@
#!/bin/bash -x
# Copyright (c) 2015 Red Hat, Inc. This copyrighted material
# is made available to anyone wishing to use, modify, copy, or
# redistribute it subject to the terms and conditions of the GNU General
# Public License v.2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# Author: Vladimir Benes <vbenes@redhat.com>
PKG=dbus-glib
PKG_DIR=$2
if [ -z "$PKG_DIR" ]; then
PKG_DIR=$1
fi
RPMBUILD=$(rpm --eval '%{_topdir}')
LOG="/tmp/$TEST.log"
PKG_SRPM=$(rpm -q --qf '%{SOURCERPM}\n' $PKG | head -n1)
PKG_PATH=$(rpm -q --qf '%{NAME}/%{VERSION}/%{RELEASE}\n' $PKG | head -n1)
PKG_BUILD_PATH=$(rpm -q --qf "$PKG_DIR-%{VERSION}\n" $PKG | head -n1)
echo "Downloading SRPM"
wget https://kojipkgs.fedoraproject.org/packages/$PKG_PATH/src/$PKG_SRPM
rm -rf $RPMBUILD
rpm -ivf $PKG_SRPM
echo "Building dependencies"
dnf builddep -y $PKG_SRPM
echo "Rebuilding the package"
rpmbuild -bc $RPMBUILD/SPECS/$PKG.spec
echo "Running make check"
#make check -C $RPMBUILD/BUILD/$PKG_BUILD_PATH/ &>$LOG
cd $RPMBUILD/BUILD/$PKG*
make check | tee -a $LOG
#make check -C $RPMBUILD/BUILD/$PKG_BUILD_PATH/
rc=$?
RESULT=FAIL
if [ $rc -eq 0 ]; then
RESULT="PASS"
fi
if which rhts-report-result &> /dev/null; then
rhts-report-result $TEST $RESULT $LOG
fi
exit $rc
echo "Result is: $RESULT"
rm $LOG