Compare commits
76 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
11a1dc16e1 | ||
|
|
ec9fef3124 | ||
|
|
5bd9c987b9 | ||
|
|
741ff76747 | ||
|
|
cb9c7af41f | ||
|
|
b94ab8c193 | ||
|
|
d3e4ab1a2d | ||
|
|
5c0bc059b1 | ||
|
|
c377dc7ece | ||
|
|
89cc49b5be | ||
|
|
c897f1f709 | ||
|
|
a7e6f15e9e | ||
|
|
13f72944b9 | ||
|
|
bf4107fd35 | ||
|
|
8d0b25860b | ||
|
|
5b368fd7e1 | ||
|
|
ea53e33a2e | ||
|
|
5dab2931f4 | ||
|
|
0629fa12a4 | ||
|
|
9eff6a8915 | ||
|
|
d48452beff | ||
|
|
f5b5fb44ee | ||
|
|
a57e22cd40 | ||
|
|
c2ee112dbf | ||
|
|
938f3b57ef | ||
|
|
7060569527 | ||
|
|
cbbb8a5029 | ||
|
|
b5eb5c1a56 | ||
|
|
6b00399f8c | ||
|
|
aedb8bb91f | ||
|
|
a719b515a8 | ||
|
|
4202065c30 | ||
|
|
e68e952d97 |
||
|
|
7db06bbb28 | ||
|
|
5c0f9e7f95 | ||
|
|
1394db47da | ||
|
|
8f0e7b1979 | ||
|
|
8353776886 | ||
|
|
72a2077bd9 | ||
|
|
ac486c64a4 | ||
|
|
81ee4fb789 | ||
|
|
f503c81da9 | ||
|
|
c76d072d33 | ||
|
|
6dc8940c23 | ||
|
|
d7980eec3d | ||
|
|
ec52d98311 | ||
|
|
96300c320b |
||
|
|
0488e8f32b | ||
|
|
45bd2ac609 | ||
|
|
ba1c3b99f8 | ||
|
|
c384326e4c | ||
|
|
551452e13a | ||
|
|
36c948ef33 | ||
|
|
07c52d8f3f | ||
|
|
caf0dadf8d | ||
|
|
a12853a42d | ||
|
|
64e88a316b | ||
|
|
094148cb3f | ||
|
|
f5c9540efb | ||
|
|
8bc87ddeec | ||
|
|
20eca8525b | ||
|
|
f056f89e25 | ||
|
|
3179d0b2ec | ||
|
|
bb2dc6b2dd | ||
|
|
093be00e4d | ||
|
|
b816536844 | ||
|
|
4c9757b1f9 | ||
|
|
d933c4f912 | ||
|
|
751ae07b03 | ||
|
|
01f806f32f | ||
|
|
ed78fb4d51 | ||
|
|
b0f33b034b | ||
|
|
65d54decc8 | ||
|
|
40cfbfab5c | ||
|
|
b0ee8bce12 | ||
|
|
952b580757 |
13 changed files with 553 additions and 29 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
11
.gitignore
vendored
11
.gitignore
vendored
|
|
@ -1,7 +1,4 @@
|
|||
/babeltrace-1.0.0.tar.bz2
|
||||
/babeltrace-1.0.2.tar.bz2
|
||||
/babeltrace-1.0.3.tar.bz2
|
||||
/babeltrace-1.1.0.tar.bz2
|
||||
/babeltrace-1.1.1.tar.bz2
|
||||
/babeltrace-1.2.0.tar.bz2
|
||||
/babeltrace-1.2.1.tar.bz2
|
||||
/babeltrace-1.*.tar.bz2
|
||||
/babeltrace-1.5.7.tar.bz2.asc
|
||||
/babeltrace-1.5.8.tar.bz2.asc
|
||||
/babeltrace-1.5.11.tar.bz2.asc
|
||||
|
|
|
|||
106
babeltrace-getaddrinfo.patch
Normal file
106
babeltrace-getaddrinfo.patch
Normal file
|
|
@ -0,0 +1,106 @@
|
|||
*** babeltrace-1.5.8.orig/configure.ac 2021-04-22 09:56:01.645909350 -0700
|
||||
--- babeltrace-1.5.8/configure.ac 2021-04-22 10:41:30.537328243 -0700
|
||||
*************** AC_CHECK_FUNCS([ \
|
||||
*** 102,108 ****
|
||||
dirfd \
|
||||
dup2 \
|
||||
ftruncate \
|
||||
! gethostbyname \
|
||||
gethostname \
|
||||
gettimeofday \
|
||||
localtime_r \
|
||||
--- 102,108 ----
|
||||
dirfd \
|
||||
dup2 \
|
||||
ftruncate \
|
||||
! getaddrinfo \
|
||||
gethostname \
|
||||
gettimeofday \
|
||||
localtime_r \
|
||||
*** babeltrace-1.5.8.orig/formats/lttng-live/lttng-live-comm.c 2021-04-22 09:56:01.662909278 -0700
|
||||
--- babeltrace-1.5.8/formats/lttng-live/lttng-live-comm.c 2021-04-22 11:01:13.166302197 -0700
|
||||
*************** ssize_t lttng_live_send(int fd, const vo
|
||||
*** 111,149 ****
|
||||
|
||||
int lttng_live_connect_viewer(struct lttng_live_ctx *ctx)
|
||||
{
|
||||
- struct hostent *host;
|
||||
- struct sockaddr_in server_addr;
|
||||
int ret;
|
||||
|
||||
if (lttng_live_should_quit()) {
|
||||
ret = -1;
|
||||
goto end;
|
||||
}
|
||||
|
||||
! host = gethostbyname(ctx->relay_hostname);
|
||||
! if (!host) {
|
||||
! fprintf(stderr, "[error] Cannot lookup hostname %s\n",
|
||||
! ctx->relay_hostname);
|
||||
goto error;
|
||||
}
|
||||
|
||||
! if ((ctx->control_sock = socket(AF_INET, SOCK_STREAM, 0)) == -1) {
|
||||
perror("Socket");
|
||||
goto error;
|
||||
}
|
||||
|
||||
! server_addr.sin_family = AF_INET;
|
||||
! server_addr.sin_port = htons(ctx->port);
|
||||
! server_addr.sin_addr = *((struct in_addr *) host->h_addr);
|
||||
! memset(&(server_addr.sin_zero), 0, 8);
|
||||
!
|
||||
! if (connect(ctx->control_sock, (struct sockaddr *) &server_addr,
|
||||
! sizeof(struct sockaddr)) == -1) {
|
||||
perror("Connect");
|
||||
goto error;
|
||||
}
|
||||
|
||||
ret = 0;
|
||||
|
||||
end:
|
||||
return ret;
|
||||
--- 111,153 ----
|
||||
|
||||
int lttng_live_connect_viewer(struct lttng_live_ctx *ctx)
|
||||
{
|
||||
int ret;
|
||||
+ struct addrinfo hints, *res;
|
||||
+ char port[16];
|
||||
|
||||
if (lttng_live_should_quit()) {
|
||||
ret = -1;
|
||||
goto end;
|
||||
}
|
||||
|
||||
! memset(&hints, 0, sizeof(hints));
|
||||
! hints.ai_family = AF_INET;
|
||||
! hints.ai_socktype = SOCK_STREAM;
|
||||
! sprintf(port, "%d", ctx->port);
|
||||
!
|
||||
! ret = getaddrinfo(ctx->relay_hostname, port, &hints, &res);
|
||||
! if (ret != 0) {
|
||||
! fprintf(stderr, "[error] getaddrinfo: %s\n",
|
||||
! gai_strerror(ret));
|
||||
goto error;
|
||||
}
|
||||
|
||||
! ctx->control_sock = socket(res->ai_family, res->ai_socktype,
|
||||
! res->ai_protocol);
|
||||
! if (ctx->control_sock == -1) {
|
||||
perror("Socket");
|
||||
+ freeaddrinfo(res);
|
||||
goto error;
|
||||
}
|
||||
|
||||
! if (connect(ctx->control_sock, res->ai_addr, res->ai_addrlen) == -1) {
|
||||
perror("Connect");
|
||||
+ freeaddrinfo(res);
|
||||
goto error;
|
||||
}
|
||||
|
||||
ret = 0;
|
||||
+ freeaddrinfo(res);
|
||||
|
||||
end:
|
||||
return ret;
|
||||
280
babeltrace.spec
280
babeltrace.spec
|
|
@ -1,12 +1,28 @@
|
|||
Name: babeltrace
|
||||
Version: 1.2.1
|
||||
Release: 1%{?dist}
|
||||
License: MIT and GPLv2
|
||||
URL: http://www.efficios.com/babeltrace
|
||||
Source0: http://www.efficios.com/files/%{name}/%{name}-%{version}.tar.bz2
|
||||
Group: Development/Tools
|
||||
Version: 1.5.11
|
||||
Release: 16%{?dist}
|
||||
Summary: Trace Viewer and Converter, mainly for the Common Trace Format
|
||||
BuildRequires: pkgconfig bison flex glib2-devel popt-devel libuuid-devel libtool
|
||||
License: MIT AND GPL-3.0-or-later WITH Bison-exception-2.2 AND LGPL-2.1-only AND BSD-4-Clause-UC
|
||||
URL: https://www.efficios.com/babeltrace
|
||||
Source0: https://www.efficios.com/files/%{name}/%{name}-%{version}.tar.bz2
|
||||
Source1: https://www.efficios.com/files/%{name}/%{name}-%{version}.tar.bz2.asc
|
||||
# gpg2 --export --export-options export-minimal 7F49314A26E0DE78427680E05F1B2A0789F12B11 > gpgkey-7F49314A26E0DE78427680E05F1B2A0789F12B11.gpg
|
||||
Source2: gpgkey-7F49314A26E0DE78427680E05F1B2A0789F12B11.gpg
|
||||
Patch0: babeltrace-getaddrinfo.patch
|
||||
|
||||
BuildRequires: bison >= 2.4
|
||||
BuildRequires: flex >= 2.5.35
|
||||
BuildRequires: glib2-devel >= 2.22.0
|
||||
BuildRequires: libuuid-devel
|
||||
BuildRequires: popt-devel >= 1.13
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: swig >= 2.0
|
||||
BuildRequires: elfutils-devel >= 0.154
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: gnupg2
|
||||
BuildRequires: make
|
||||
|
||||
Requires: lib%{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description
|
||||
|
|
@ -20,7 +36,6 @@ Format (CTF). See http://www.efficios.com/ctf.
|
|||
|
||||
%package -n lib%{name}
|
||||
Summary: Common Trace Format Babel Tower
|
||||
Group: Development/Libraries
|
||||
|
||||
%description -n lib%{name}
|
||||
This project provides trace read and write libraries, as well as a trace
|
||||
|
|
@ -28,10 +43,8 @@ converter. A plugin can be created for any trace format to allow its conversion
|
|||
to/from another trace format.
|
||||
|
||||
|
||||
|
||||
%package -n lib%{name}-devel
|
||||
Summary: Common Trace Format Babel Tower
|
||||
Group: Development/Libraries
|
||||
Requires: lib%{name}%{?_isa} = %{version}-%{release} glib2-devel
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
|
|
@ -40,14 +53,27 @@ converter. A plugin can be created for any trace format to allow its conversion
|
|||
to/from another trace format.
|
||||
|
||||
|
||||
%package -n python3-%{name}
|
||||
Summary: Common Trace Format Babel Tower
|
||||
Requires: lib%{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n python3-%{name}
|
||||
This project provides trace read and write libraries, as well as a trace
|
||||
converter. A plugin can be created for any trace format to allow its conversion
|
||||
to/from another trace format.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
#Re-run libtoolize and autoreconf to remove rpath
|
||||
libtoolize --force --copy
|
||||
autoreconf -v --install --force
|
||||
%configure --disable-static
|
||||
# Reinitialize libtool with the fedora version to remove Rpath
|
||||
autoreconf -vif
|
||||
|
||||
export PYTHON=%{__python3}
|
||||
export PYTHON_CONFIG=%{__python3}-config
|
||||
%configure --disable-static --enable-python-bindings
|
||||
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
|
|
@ -56,20 +82,28 @@ make check
|
|||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
rm -vf %{buildroot}%{_libdir}/*.la
|
||||
find %{buildroot} -type f -name "*.la" -delete
|
||||
# Clean installed doc
|
||||
rm -f %{buildroot}/%{_pkgdocdir}/API.txt
|
||||
rm -f %{buildroot}/%{_pkgdocdir}/LICENSE
|
||||
rm -f %{buildroot}/%{_pkgdocdir}/gpl-2.0.txt
|
||||
rm -f %{buildroot}/%{_pkgdocdir}/mit-license.txt
|
||||
rm -f %{buildroot}/%{_pkgdocdir}/std-ext-lib.txt
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n lib%{name}
|
||||
|
||||
%files
|
||||
%doc ChangeLog
|
||||
%doc doc/lttng-live.txt
|
||||
%{_bindir}/%{name}*
|
||||
%doc ChangeLog LICENSE gpl-2.0.txt mit-license.txt
|
||||
|
||||
%{_mandir}/man1/*.1*
|
||||
|
||||
%files -n lib%{name}
|
||||
%doc doc/API.txt
|
||||
%doc std-ext-lib.txt
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license LICENSE gpl-2.0.txt mit-license.txt
|
||||
%{_libdir}/*.so.*
|
||||
%doc ChangeLog LICENSE gpl-2.0.txt mit-license.txt
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%{_prefix}/include/*
|
||||
|
|
@ -77,7 +111,211 @@ rm -vf %{buildroot}%{_libdir}/*.la
|
|||
%{_libdir}/pkgconfig/babeltrace.pc
|
||||
%{_libdir}/pkgconfig/babeltrace-ctf.pc
|
||||
|
||||
%files -n python3-%{name}
|
||||
%{python3_sitearch}/babeltrace
|
||||
%{python3_sitearch}/babeltrace*.egg-info
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.11-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 1.5.11-15
|
||||
- Rebuilt for Python 3.14.0rc3 bytecode
|
||||
|
||||
* Tue Aug 26 2025 Kienan Stewart <kstewart@efficios.com> - 1.5.11-14
|
||||
- Fix regression in gating test
|
||||
|
||||
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 1.5.11-13
|
||||
- Rebuilt for Python 3.14.0rc2 bytecode
|
||||
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.11-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 1.5.11-11
|
||||
- Rebuilt for Python 3.14
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.11-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.11-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.5.11-8
|
||||
- Rebuilt for Python 3.13
|
||||
|
||||
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.11-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.11-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.11-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.5.11-4
|
||||
- Rebuilt for Python 3.12
|
||||
|
||||
* Mon May 30 2023 Keith Seitz <keiths@redhat.com>
|
||||
- Update license expression.
|
||||
|
||||
* Mon May 08 2023 Michael Jeanson <mjeanson@efficios.com> - 1.5.11-3
|
||||
- migrated to SPDX license
|
||||
|
||||
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.11-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Nov 02 2022 Michael Jeanson <mjeanson@efficios.com> - 1.5.11-1
|
||||
- New upstream release
|
||||
- Drop patches merged upstream
|
||||
- Add builddep on python3-setuptools for Python 3.12+
|
||||
|
||||
* Fri Sep 16 2022 Keith Seitz - 1.5.8-13
|
||||
- Add use-after-free patch for popt-1.19 update.
|
||||
(Keith Seitz, RHBZ 2126067)
|
||||
|
||||
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.5.8-11
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Wed Mar 16 2022 Keith Seitz <keiths@redhat.com> - 1.5.8-10
|
||||
- Use getaddrinfo instead of gethostbyname.
|
||||
|
||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.5.8-7
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Nov 16 2020 Keith Seitz <keiths@redhat.com> - 1.5.8-5
|
||||
- Remove workaround for 1890813 now that binutils is fixed.
|
||||
|
||||
* Mon Oct 26 2020 Keith Seitz <keiths@redhat.com> - 1.5.8-4
|
||||
- Workaround __openat_missing_mode compiler error.
|
||||
(Keith Seitz, RH BZ 1890813)
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.5.8-2
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Wed Feb 12 2020 Michael Jeanson <mjeanson@efficios.com> - 1.5.8-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.7-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jan 16 2020 Michael Jeanson <mjeanson@efficios.com> - 1.5.7-5
|
||||
- Add Python 3.9 patch
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.7-4
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.7-3
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Wed Jul 24 2019 Michael Jeanson <mjeanson@efficios.com> - 1.5.7-2
|
||||
- Add GPG source file verification
|
||||
|
||||
* Wed Jul 24 2019 Michael Jeanson <mjeanson@efficios.com> - 1.5.7-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.6-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Tue Jul 24 2018 Michael Jeanson <mjeanson@efficios.com> - 1.5.6-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.5.5-2
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Tue Mar 27 2018 Michael Jeanson <mjeanson@efficios.com> - 1.5.5-1
|
||||
- New upstream release
|
||||
|
||||
* Fri Feb 16 2018 2018 Lumír Balhar <lbalhar@redhat.com> - 1.5.4-2
|
||||
- Fix directory ownership in python3 subpackage
|
||||
|
||||
* Tue Feb 13 2018 Michael Jeanson <mjeanson@efficios.com> - 1.5.4-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Aug 09 2017 Michael Jeanson <mjeanson@efficios.com> - 1.5.3-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Mar 03 2017 Michael Jeanson <mjeanson@efficios.com> - 1.5.2-2
|
||||
- Revert python3 macro changes
|
||||
|
||||
* Wed Mar 01 2017 Michael Jeanson <mjeanson@efficios.com> - 1.5.2-1
|
||||
- New upstream release
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Mon Jan 09 2017 Michael Jeanson <mjeanson@efficios.com> - 1.5.1-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.5.0-2
|
||||
- Rebuild for Python 3.6
|
||||
|
||||
* Wed Nov 30 2016 Michael Jeanson <mjeanson@efficios.com> - 1.5.0-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-3
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
||||
* Wed Jun 22 2016 Michael Jeanson <mjeanson@efficios.com> - 1.4.0-2
|
||||
- Re-add rpath removing
|
||||
|
||||
* Tue Jun 21 2016 Michael Jeanson <mjeanson@efficios.com> - 1.4.0-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
||||
|
||||
* Tue Jul 28 2015 Michael Jeanson <mjeanson@gmail.com> - 1.2.4-2
|
||||
- Added python3 bindings module
|
||||
|
||||
* Sun Jul 19 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.4.1
|
||||
- Update to 1.2.4
|
||||
|
||||
* Sun Jul 19 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.1-5
|
||||
- Fix FTBFS, use %%license
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Thu Mar 27 2014 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.2.1-1
|
||||
- New upstream release
|
||||
|
||||
|
|
|
|||
14
gating.yaml
Normal file
14
gating.yaml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.gate-build-fast-lane.functional}
|
||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.gate-build-slow-lane.functional}
|
||||
BIN
gpgkey-7F49314A26E0DE78427680E05F1B2A0789F12B11.gpg
Normal file
BIN
gpgkey-7F49314A26E0DE78427680E05F1B2A0789F12B11.gpg
Normal file
Binary file not shown.
5
plans/ci.fmf
Normal file
5
plans/ci.fmf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
summary: CI Gating Plan
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
3
sources
3
sources
|
|
@ -1 +1,2 @@
|
|||
5d2dbf37117537b484f731ecbe72c29c babeltrace-1.2.1.tar.bz2
|
||||
SHA512 (babeltrace-1.5.11.tar.bz2) = a3158bb9d0306c1cab6ac3d16ba542605ad60b13ecb10fe740a3b95168f0ead87d31483a06d49a15341f7ef6def16765d9a6045f40a60cd8b94070d979c0c3d1
|
||||
SHA512 (babeltrace-1.5.11.tar.bz2.asc) = 63b662d53b57f70793e6729c74d9a78a09789f3846589835de87baae423b793b0d7ed7c0e66b118d61e52c5775710b0e7b07b337eb69f6fcc1b382abaf047924
|
||||
|
|
|
|||
2
tests/README
Normal file
2
tests/README
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
The test's Makefiles are not used in Fedora CI infrastructure. But are kept here
|
||||
for backward compatibility with traditional beakerlib test harness in RHEL.
|
||||
65
tests/Regression/testsuite/Makefile
Normal file
65
tests/Regression/testsuite/Makefile
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Makefile of /tools/babeltrace/Regression/testsuite
|
||||
# Description: testsuite
|
||||
# Author: Martin Cermak <mcermak@redhat.com>
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Copyright (c) 2019 Red Hat, Inc.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License as
|
||||
# published by the Free Software Foundation, either version 2 of
|
||||
# the License, or (at your option) any later version.
|
||||
#
|
||||
# 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, see http://www.gnu.org/licenses/.
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
export TEST=/tools/babeltrace/Regression/testsuite
|
||||
export TESTVERSION=1.0
|
||||
|
||||
BUILT_FILES=
|
||||
|
||||
FILES=$(METADATA) runtest.sh Makefile PURPOSE
|
||||
|
||||
.PHONY: all install download clean
|
||||
|
||||
run: $(FILES) build
|
||||
./runtest.sh
|
||||
|
||||
build: $(BUILT_FILES)
|
||||
test -x runtest.sh || chmod a+x runtest.sh
|
||||
|
||||
clean:
|
||||
rm -f *~ $(BUILT_FILES)
|
||||
|
||||
requires = babeltrace autoconf automake bison elfutils-devel flex glib2-devel \
|
||||
libtool libuuid-devel perl-Test-Harness popt-devel python3-devel rpm-build
|
||||
|
||||
include /usr/share/rhts/lib/rhts-make.include
|
||||
|
||||
$(METADATA): Makefile
|
||||
@echo "Owner: Martin Cermak <mcermak@redhat.com>" > $(METADATA)
|
||||
@echo "Name: $(TEST)" >> $(METADATA)
|
||||
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
||||
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
||||
@echo "Description: testsuite" >> $(METADATA)
|
||||
@echo "Type: Regression" >> $(METADATA)
|
||||
@echo "TestTime: 48h" >> $(METADATA)
|
||||
@echo "RunFor: babeltrace" >> $(METADATA)
|
||||
$(foreach package, $(requires), echo "Requires: $(package)" >> $(METADATA);)
|
||||
@echo "Priority: Normal" >> $(METADATA)
|
||||
@echo "License: GPLv2+" >> $(METADATA)
|
||||
@echo "Confidential: no" >> $(METADATA)
|
||||
@echo "Destructive: no" >> $(METADATA)
|
||||
@echo "Releases: -RHEL4 -RHELClient5 -RHELServer5 -RHEL6 -RHEL7 -RedHatEnterpriseLinuxAlternateArchitectures7" >> $(METADATA)
|
||||
|
||||
rhts-lint $(METADATA)
|
||||
3
tests/Regression/testsuite/PURPOSE
Normal file
3
tests/Regression/testsuite/PURPOSE
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
PURPOSE of /tools/babeltrace/Regression/testsuite
|
||||
Description: testsuite
|
||||
Author: Martin Cermak <mcermak@redhat.com>
|
||||
24
tests/Regression/testsuite/main.fmf
Normal file
24
tests/Regression/testsuite/main.fmf
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
summary: testsuite
|
||||
description: ''
|
||||
contact: Martin Cermak <mcermak@redhat.com>
|
||||
component:
|
||||
- babeltrace
|
||||
test: ./runtest.sh
|
||||
framework: beakerlib
|
||||
recommend:
|
||||
- babeltrace
|
||||
- autoconf
|
||||
- automake
|
||||
- bison
|
||||
- elfutils-devel
|
||||
- flex
|
||||
- glib2-devel
|
||||
- libtool
|
||||
- libuuid-devel
|
||||
- perl-Test-Harness
|
||||
- popt-devel
|
||||
- python3-devel
|
||||
- rpm-build
|
||||
duration: 48h
|
||||
extra-summary: /tools/babeltrace/Regression/testsuite
|
||||
extra-task: /tools/babeltrace/Regression/testsuite
|
||||
68
tests/Regression/testsuite/runtest.sh
Executable file
68
tests/Regression/testsuite/runtest.sh
Executable file
|
|
@ -0,0 +1,68 @@
|
|||
#!/bin/bash
|
||||
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# runtest.sh of /tools/babeltrace/Regression/testsuite
|
||||
# Description: testsuite
|
||||
# Author: Martin Cermak <mcermak@redhat.com>
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Copyright (c) 2019 Red Hat, Inc.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License as
|
||||
# published by the Free Software Foundation, either version 2 of
|
||||
# the License, or (at your option) any later version.
|
||||
#
|
||||
# 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, see http://www.gnu.org/licenses/.
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
# Include Beaker environment
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
export PACKAGE="babeltrace"
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
# babeltrace itself comes from the rhel8 buildroot repo
|
||||
rlAssertRpm $PACKAGE
|
||||
rlRun "TMP=\$(mktemp -d)"
|
||||
rlRun "pushd $TMP"
|
||||
|
||||
rlFetchSrcForInstalled $PACKAGE
|
||||
rlRun "dnf --nobest builddep -y *src.rpm"
|
||||
rlRun "rpm --define='_topdir $TMP' -Uvh *src.rpm"
|
||||
rlRun "rpmbuild --define='_topdir $TMP' -bc SPECS/${PACKAGE}.spec"
|
||||
rlRun "pushd BUILD/${PACKAGE}-*-build/${PACKAGE}-*"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
set -o pipefail
|
||||
rlRun "make check |& tee test.log"
|
||||
rlFileSubmit test.log
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStart FAIL "Double check the test result"
|
||||
# I didn't see the testsute failing and so I'm not sure if
|
||||
# make check would return non-zero exitcode in case of failure.
|
||||
# It almost certainly would. But let's additionally parse
|
||||
# the log to make sure we'd catch a failure.
|
||||
rlRun "grep '^PASS:\ ' test.log"
|
||||
rlRun "grep '^FAIL:\ ' test.log" 1
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartCleanup
|
||||
rlRun "popd"
|
||||
rlRun "popd"
|
||||
rlRun "rm -r $TMP"
|
||||
rlPhaseEnd
|
||||
rlJournalPrintText
|
||||
rlJournalEnd
|
||||
Loading…
Add table
Add a link
Reference in a new issue