Compare commits
28 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5722cd9cc2 | ||
|
|
9c0a10b8b0 | ||
|
|
c54c3bfbfc | ||
|
|
2c21e86da2 | ||
|
|
3e9b505e7d | ||
|
|
144dfa2fdd | ||
|
|
1859b2c1ad | ||
|
|
e7d8df833a | ||
|
|
67f0acb1f2 | ||
|
|
22e38f0459 | ||
|
|
d4fa2d8ef1 | ||
|
|
43733b2df0 | ||
|
|
d5ee4a3141 | ||
|
|
67612e30e7 | ||
|
|
252af40faf | ||
|
|
a5f23306f6 | ||
|
|
cdcc9c439e | ||
|
|
e541ebc3e5 | ||
|
|
712a1beb78 | ||
|
|
d4eecdd33b | ||
|
|
e19e139ced | ||
|
|
9de3f4d22a | ||
|
|
d5bd6db6c3 | ||
|
|
b87f139b6e |
||
|
|
23aff94a3b | ||
|
|
84b6910982 | ||
|
|
c5b29ad550 | ||
|
|
dfb6a25d2c |
7 changed files with 168 additions and 17 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -9,3 +9,5 @@ dbus-glib-0.88.tar.gz
|
|||
/dbus-glib-0.106.tar.gz
|
||||
/dbus-glib-0.108.tar.gz
|
||||
/dbus-glib-0.110.tar.gz
|
||||
/dbus-glib-0.112.tar.gz
|
||||
/dbus-glib-0.112.tar.gz.asc
|
||||
|
|
|
|||
105
dbus-glib.spec
105
dbus-glib.spec
|
|
@ -2,20 +2,31 @@
|
|||
%global glib2_version 2.40.0
|
||||
%global dbus_version 1.8
|
||||
|
||||
Name: dbus-glib
|
||||
Version: 0.112
|
||||
Release: 11%{?dist}
|
||||
Summary: GLib bindings for D-Bus
|
||||
Name: dbus-glib
|
||||
Version: 0.110
|
||||
Release: 2%{?dist}
|
||||
URL: http://www.freedesktop.org/software/dbus/
|
||||
#VCS: git:git://git.freedesktop.org/git/dbus/dbus-glib
|
||||
|
||||
# dbus/dbus-bash-completion-helper.c is GPL-2.0-or-later
|
||||
# some tests are (LGPL-2.1-or-later OR MIT) AND MIT, but not included in rpm
|
||||
License: (AFL-2.1 OR GPL-2.0-or-later) AND GPL-2.0-or-later
|
||||
URL: https://www.freedesktop.org/software/dbus/
|
||||
#VCS: git:https://gitlab.freedesktop.org/dbus/dbus-glib.git
|
||||
Source0: https://dbus.freedesktop.org/releases/dbus-glib/%{name}-%{version}.tar.gz
|
||||
License: AFL and GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
Source1: https://dbus.freedesktop.org/releases/dbus-glib/%{name}-%{version}.tar.gz.asc
|
||||
# gpg --keyserver keyring.debian.org --recv-keys 36EC5A6448A4F5EF79BEFE98E05AE1478F814C4F
|
||||
# gpg --export --export-options export-minimal 0x36EC5A6448A4F5EF79BEFE98E05AE1478F814C4F > gpgkey-36EC5A6448A4F5EF79BEFE98E05AE1478F814C4F.gpg
|
||||
Source2: gpgkey-36EC5A6448A4F5EF79BEFE98E05AE1478F814C4F.gpg
|
||||
|
||||
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: gcc
|
||||
BuildRequires: gettext
|
||||
BuildRequires: gnupg2
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
|
||||
|
|
@ -24,7 +35,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
|
||||
|
|
@ -32,21 +42,24 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||
Headers and static libraries for the D-Bus GLib bindings
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
export CFLAGS="$CFLAGS -std=gnu17"
|
||||
%configure --enable-tests=yes \
|
||||
--enable-asserts=yes \
|
||||
--disable-gtk-doc
|
||||
|
||||
make %{?_smp_mflags} V=1
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make check
|
||||
%make_build 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 +71,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 +90,68 @@ chmod -x $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.112-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.112-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.112-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.112-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.112-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.112-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.112-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.112-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.112-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.112-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Mar 26 2021 David King <amigadave@amigadave.com> - 0.112-1
|
||||
- Update to 0.112
|
||||
|
||||
* 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
|
||||
|
||||
|
|
|
|||
BIN
gpgkey-36EC5A6448A4F5EF79BEFE98E05AE1478F814C4F.gpg
Normal file
BIN
gpgkey-36EC5A6448A4F5EF79BEFE98E05AE1478F814C4F.gpg
Normal file
Binary file not shown.
3
sources
3
sources
|
|
@ -1 +1,2 @@
|
|||
SHA512 (dbus-glib-0.110.tar.gz) = c40ccf7118d4951f0e09082216ccd26f21ee906bdf96d912611d3cd29badd7ef446bea74e19f26c28ebceb9e19bb659d11c643c3e712dac499df12907be88a54
|
||||
SHA512 (dbus-glib-0.112.tar.gz) = 7c9f393f065dfb3d698f35e6554caf15fe539f5dd52d2b2bb6ed1770e130f5dab8e45379232520301455bae9bb77e25a109faf175153fcd4b9dd11d7de4a546e
|
||||
SHA512 (dbus-glib-0.112.tar.gz.asc) = deaa0978ec2740fd6db3e851b597d62996a700a684fab5472e481e219f66c9dee5e001844f56c7bdab7daf69aacd3ac4774aacc7b601dad0004b74a0136c61a8
|
||||
|
|
|
|||
1
tests/README
Normal file
1
tests/README
Normal file
|
|
@ -0,0 +1 @@
|
|||
Tests are passing and ready to be migrated to dist-git
|
||||
16
tests/tests.yml
Normal file
16
tests/tests.yml
Normal 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
|
||||
58
tests/upstream-testset/runtest.sh
Normal file
58
tests/upstream-testset/runtest.sh
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue