Compare commits
No commits in common. "c9-beta" and "c10s" have entirely different histories.
9
.gitignore
vendored
9
.gitignore
vendored
@ -1 +1,8 @@
|
||||
SOURCES/libtraceevent-1.8.4.tar.gz
|
||||
/libtraceevent-1.1.1.tar.gz
|
||||
/libtraceevent-1.2.1.tar.gz
|
||||
/libtraceevent-1.5.0.tar.gz
|
||||
/libtraceevent-1.5.3.tar.gz
|
||||
/libtraceevent-1.6.3.tar.gz
|
||||
/libtraceevent-1.7.2.tar.gz
|
||||
/libtraceevent-1.8.2.tar.gz
|
||||
/libtraceevent-1.8.4.tar.gz
|
||||
|
||||
@ -1 +0,0 @@
|
||||
99e71cb8075891544be41271fd2302f9e2deaf86 SOURCES/libtraceevent-1.8.4.tar.gz
|
||||
@ -1,120 +0,0 @@
|
||||
# git tag
|
||||
#%%global commit 5dd505f3aba255c5fbc2a6dbed57fcba51b400f6
|
||||
#%%global commitdate 20201009
|
||||
#%%global shortcommit %%(c=%%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: libtraceevent
|
||||
Version: 1.8.4
|
||||
Release: 2%{?dist}
|
||||
License: LGPLv2+ and GPLv2+
|
||||
Summary: Library to parse raw trace event formats
|
||||
|
||||
URL: https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/
|
||||
# If upstream does not provide tarballs, to generate:
|
||||
# git clone git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git
|
||||
# cd libtraceevent
|
||||
# git archive --prefix=libtraceevent-%%{version}/ -o libtraceevent-%%{version}.tar.gz %%{git_commit}
|
||||
#Source0: libtraceevent-%%{version}.tar.gz
|
||||
Source0: https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot/libtraceevent-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: asciidoc
|
||||
|
||||
%global __provides_exclude_from ^%{_libdir}/traceevent/plugins
|
||||
|
||||
|
||||
%description
|
||||
libtraceevent is a library to parse raw trace event formats.
|
||||
|
||||
%package devel
|
||||
Summary: Development headers of %{name}
|
||||
Requires: %{name}%{_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development headers of %{name}-libs
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
MANPAGE_DOCBOOK_XSL=`rpm -ql docbook-style-xsl | grep manpages/docbook.xsl`
|
||||
%set_build_flags
|
||||
#looks like CFLAGS is ignored when compiling plugins, but not EXTRA_CFLAGS
|
||||
export EXTRA_CFLAGS="%{optflags}"
|
||||
export LDFLAGS="-Wl,-z,now"
|
||||
make -O -j1 V=1 VERBOSE=1 prefix=%{_prefix} libdir=%{_libdir} MANPAGE_XSL=%{MANPAGE_DOCBOOK_XSL} all doc
|
||||
|
||||
%install
|
||||
%set_build_flags
|
||||
#looks like CFLAGS is ignored when compiling plugins, but not EXTRA_CFLAGS
|
||||
export EXTRA_CFLAGS="%{optflags}"
|
||||
export LDFLAGS="-Wl,-z,now"
|
||||
%make_install prefix=%{_prefix} libdir=%{_libdir} install doc-install
|
||||
rm -rf %{buildroot}/%{_libdir}/libtraceevent.a
|
||||
|
||||
%files
|
||||
%license LICENSES/LGPL-2.1
|
||||
%license LICENSES/GPL-2.0
|
||||
%{_libdir}/traceevent/
|
||||
%{_libdir}/libtraceevent.so.%{version}
|
||||
%{_libdir}/libtraceevent.so.1
|
||||
%{_mandir}/man3/*
|
||||
%{_docdir}/%{name}-doc
|
||||
|
||||
%files devel
|
||||
%{_includedir}/traceevent/
|
||||
%{_libdir}/libtraceevent.so
|
||||
%{_libdir}/pkgconfig/libtraceevent.pc
|
||||
|
||||
%changelog
|
||||
* Mon Mar 03 2025 Jerome Marchand <jmarchan@redhat.com> - 1.8.4-2
|
||||
- Rebuild without side-tags (RHEL-67585)
|
||||
|
||||
* Mon Feb 24 2025 Jerome Marchand <jmarchan@redhat.com> - 1.8.4-1
|
||||
- Rebase to 1.8.4 (RHEL-67585)
|
||||
|
||||
* Wed Oct 19 2022 Michael Petlan <mpetlan@redhat.com> - 1.5.3-3
|
||||
- Rebuild due to broken brew build again, disable parallel build
|
||||
Related: rhbz#2134397
|
||||
|
||||
* Fri Oct 14 2022 Michael Petlan <mpetlan@redhat.com> - 1.5.3-2
|
||||
- Rebuild due to broken brew environment
|
||||
Related: rhbz#2134397
|
||||
|
||||
* Tue Aug 30 2022 Michael Petlan <mpetlan@redhat.com> - 1.5.3-1
|
||||
- Rebase to v1.5.3
|
||||
Related: rhbz#2075213
|
||||
|
||||
* Fri Jan 14 2022 Michael Petlan <mpetlan@redhat.com> - 1.1.1-8
|
||||
- Harden linking to meet annocheck requirements
|
||||
Related: rhbz#2037125
|
||||
|
||||
* Fri Nov 19 2021 Jerome Marchand <jmarchan@redhat.com> - 1.1.1-7
|
||||
- Fix rpminspect annocheck issue.
|
||||
|
||||
* Tue Oct 26 2021 Jerome Marchand <jmarchan@redhat.com> - 1.1.1-6
|
||||
- Handle parsing of "(REC)->" case
|
||||
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.1-5
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Thu May 6 2021 Michael Petlan <mpetlan@redhat.com> - 1.1.1-4
|
||||
- Remove conflict to enable perf linking. Resolves: rhbz#1957733
|
||||
|
||||
* Wed Apr 21 2021 Jerome Marchand <jmarchan@redhat.com> - 1.1.1-3
|
||||
- Multi-build with libtracefs, trace-cmd and kernelshark
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.1-2
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Mon Feb 08 2021 Zamir SUN <sztsian@gmail.com> - 1.1.1-1
|
||||
- Update to 1.1.1
|
||||
|
||||
* Sat Oct 17 2020 Zamir SUN <sztsian@gmail.com> - 1.1.0-1
|
||||
- Update to 1.1.0
|
||||
|
||||
* Fri Oct 09 2020 Zamir SUN <sztsian@gmail.com> - 0-0.1.20201009git5dd505f
|
||||
- Initial libtraceevent
|
||||
|
||||
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
145
libtraceevent.spec
Normal file
145
libtraceevent.spec
Normal file
@ -0,0 +1,145 @@
|
||||
# git tag
|
||||
#%%global commit 5dd505f3aba255c5fbc2a6dbed57fcba51b400f6
|
||||
#%%global commitdate 20201009
|
||||
#%%global shortcommit %%(c=%%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: libtraceevent
|
||||
Version: 1.8.4
|
||||
Release: 3%{?dist}
|
||||
License: LGPL-2.1-only AND LGPL-2.1-or-later AND GPL-2.0-only AND GPL-2.0-or-later
|
||||
Summary: Library to parse raw trace event formats
|
||||
|
||||
URL: https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/
|
||||
# If upstream does not provide tarballs, to generate:
|
||||
# git clone git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git
|
||||
# cd libtraceevent
|
||||
# git archive --prefix=libtraceevent-%%{version}/ -o libtraceevent-%%{version}.tar.gz %%{git_commit}
|
||||
#Source0: libtraceevent-%%{version}.tar.gz
|
||||
Source0: https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot/libtraceevent-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: asciidoc
|
||||
|
||||
%global __provides_exclude_from ^%{_libdir}/traceevent/plugins
|
||||
|
||||
|
||||
%description
|
||||
libtraceevent is a library to parse raw trace event formats.
|
||||
|
||||
%package devel
|
||||
Summary: Development headers of %{name}
|
||||
Requires: %{name}%{_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development headers of %{name}-libs
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
MANPAGE_DOCBOOK_XSL=`rpm -ql docbook-style-xsl | grep manpages/docbook.xsl`
|
||||
# Parallel build does not work
|
||||
make -O -j1 V=1 VERBOSE=1 EXTRA_CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" prefix=%{_prefix} libdir=%{_libdir} MANPAGE_XSL=%{MANPAGE_DOCBOOK_XSL} all doc
|
||||
|
||||
%install
|
||||
%make_install prefix=%{_prefix} libdir=%{_libdir} install doc-install
|
||||
rm -rf %{buildroot}/%{_libdir}/libtraceevent.a
|
||||
|
||||
%files
|
||||
%license LICENSES/LGPL-2.1
|
||||
%license LICENSES/GPL-2.0
|
||||
%{_libdir}/traceevent/
|
||||
%{_libdir}/libtraceevent.so.%{version}
|
||||
%{_libdir}/libtraceevent.so.1
|
||||
%{_mandir}/man3/tep_*.3.*
|
||||
%{_mandir}/man3/libtraceevent.3.*
|
||||
%{_mandir}/man3/trace_seq*.3.*
|
||||
%{_mandir}/man3/kbuffer_*.3.gz
|
||||
%{_docdir}/%{name}-doc
|
||||
|
||||
%files devel
|
||||
%{_includedir}/traceevent/
|
||||
%{_libdir}/libtraceevent.so
|
||||
%{_libdir}/pkgconfig/libtraceevent.pc
|
||||
|
||||
%changelog
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.8.4-3
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Thu Oct 24 2024 Jerome Marchand <jmarchan@redhat.com> - 1.8.4-2
|
||||
- Use EXTRA_CFLAGS to fix annocheck (RHEL-33502)
|
||||
|
||||
* Thu Oct 24 2024 Jerome Marchand <jmarchan@redhat.com> - 1.8.4-1
|
||||
- Update to 1.8.4 (RHEL-61627)
|
||||
|
||||
* Thu Oct 10 2024 Jerome Marchand <jmarchan@redhat.com> - 1.8.2-5
|
||||
- Fix double free in event_read_print_args (RHEL-61627)
|
||||
|
||||
* Wed Jul 10 2024 Jerome Marchand <jmarchan@redhat.com> - 1.8.2-5
|
||||
- Fix SAST vulnerabilities (RHEL-40624)
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.8.2-4
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Tue Jun 18 2024 Jerome Marchand <jmarchan@redhat.com> - 1.8.2-3
|
||||
- Use the distribution building flags (RHEL-33502)
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Tue Jan 23 2024 Zamir SUN <sztsian@gmail.com> - 1.8.2-1
|
||||
- Update to 1.8.2 (#2213358)
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Mon Jun 05 2023 Zamir SUN <sztsian@gmail.com> - 1.7.2-2
|
||||
- SPDX migration
|
||||
|
||||
* Wed Apr 05 2023 Zamir SUN <sztsian@gmail.com> - 1.7.2-1
|
||||
- Update to 1.7.2
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Tue Oct 11 2022 Zamir SUN <sztsian@gmail.com> - 1.6.3-1
|
||||
- Update to 1.6.3
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Apr 15 2022 Zamir SUN <sztsian@gmail.com> - 1.5.3-2
|
||||
- Disable parallel compile
|
||||
|
||||
* Thu Apr 14 2022 Zamir SUN <sztsian@gmail.com> - 1.5.3-1
|
||||
- Update to 1.5.3
|
||||
|
||||
* Tue Feb 15 2022 Zamir SUN <sztsian@gmail.com> - 1.5.0-1
|
||||
- Update to 1.5.0
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Mon Jun 07 2021 Justin Forbes <jforbes@fedoraproject.org>
|
||||
- Remove erroneus "Conflicts: perf" which broke perf.
|
||||
|
||||
* Mon Apr 19 2021 Zamir SUN <sztsian@gmail.com> - 1.2.1-1
|
||||
- Update to 1.2.1
|
||||
|
||||
* Mon Feb 08 2021 Zamir SUN <sztsian@gmail.com> - 1.1.1-1
|
||||
- Update to 1.1.1
|
||||
|
||||
* Sat Oct 17 2020 Zamir SUN <sztsian@gmail.com> - 1.1.0-1
|
||||
- Update to 1.1.0
|
||||
|
||||
* Fri Oct 09 2020 Zamir SUN <sztsian@gmail.com> - 0-0.1.20201009git5dd505f
|
||||
- Initial libtraceevent
|
||||
|
||||
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (libtraceevent-1.8.4.tar.gz) = 8db691d1d8e96c73a30a79aa498fead2d9df2b41fd7b39865a3299a603e8c73a3268930a42324cef38d79b0a87f4f13a43ebf146a8e31aee91ede459d8da7b84
|
||||
30
tests/scripts/run_tests.sh
Executable file
30
tests/scripts/run_tests.sh
Executable file
@ -0,0 +1,30 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
if rpm -q --quiet libtraceevent; then
|
||||
:
|
||||
else
|
||||
sudo dnf install -y libtraceevent
|
||||
if [[ $? != 0 ]]; then
|
||||
echo "install of libtraceevent failed!"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "libtraceevent is a library to parse raw trace event formats. Check installation."
|
||||
if [[ ! -f /usr/lib64/libtraceevent.so.1 ]]; then
|
||||
echo "/usr/lib64/libtraceevent.so.1 not found!"
|
||||
exit 2
|
||||
fi
|
||||
|
||||
echo "Check the trace-cmd works."
|
||||
if ! rpm -q --quiet trace-cmd; then
|
||||
sudo dnf install -y trace-cmd
|
||||
if [[ $? != 0 ]]; then
|
||||
echo "install trace-cmd failed when libtraceevent exist!"
|
||||
exit 3
|
||||
fi
|
||||
fi
|
||||
trace-cmd list || exit 4
|
||||
|
||||
exit 0
|
||||
|
||||
11
tests/tests.yml
Normal file
11
tests/tests.yml
Normal file
@ -0,0 +1,11 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- simple:
|
||||
dir: scripts
|
||||
run: ./run_tests.sh
|
||||
required_packages:
|
||||
- libtraceevent trace-cmd
|
||||
Loading…
Reference in New Issue
Block a user