Compare commits

...

2 Commits

Author SHA1 Message Date
CentOS Sources a3604e4b13 import libtraceevent-1.5.3-3.el9 2023-03-29 09:21:01 +00:00
CentOS Sources 92353e3089 import libtraceevent-1.1.1-8.el9 2022-03-01 13:02:52 +00:00
3 changed files with 36 additions and 6 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/libtraceevent-1.1.1.tar.gz
SOURCES/libtraceevent-1.5.3.tar.gz

View File

@ -1 +1 @@
07d940c014adcc4c15bb7333845b8e2c21328dc7 SOURCES/libtraceevent-1.1.1.tar.gz
72d2ca781728169d9b17679b890f496d4c303040 SOURCES/libtraceevent-1.5.3.tar.gz

View File

@ -4,8 +4,8 @@
#%%global shortcommit %%(c=%%{commit}; echo ${c:0:7})
Name: libtraceevent
Version: 1.1.1
Release: 5%{?dist}
Version: 1.5.3
Release: 3%{?dist}
License: LGPLv2+ and GPLv2+
Summary: Library to parse raw trace event formats
@ -16,6 +16,7 @@ URL: https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/
# 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
@ -34,14 +35,21 @@ Requires: %{name}%{_isa} = %{version}-%{release}
Development headers of %{name}-libs
%prep
%setup -q
%autosetup -p1
%build
MANPAGE_DOCBOOK_XSL=`rpm -ql docbook-style-xsl | grep manpages/docbook.xsl`
%set_build_flags
%make_build prefix=%{_prefix} libdir=%{_libdir} MANPAGE_XSL=%{MANPAGE_DOCBOOK_XSL} all doc
#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
@ -62,6 +70,28 @@ rm -rf %{buildroot}/%{_libdir}/libtraceevent.a
%{_libdir}/pkgconfig/libtraceevent.pc
%changelog
* 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