public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/audit] rawhide: audit: sync spec improvements from CentOS Stream
@ 2026-08-07 13:28 Cropi
  0 siblings, 0 replies; only message in thread
From: Cropi @ 2026-08-07 13:28 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/audit
            Branch : rawhide
            Commit : 73b9d831d3633d5a440e6d631745b73c705106cb
            Author : Cropi <alakatos@redhat.com>
            Date   : 2026-08-07T10:00:06+02:00
            Stats  : +12/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/audit/c/73b9d831d3633d5a440e6d631745b73c705106cb?branch=rawhide

            Log:
            audit: sync spec improvements from CentOS Stream

- Switch Source0 to upstream GitHub tarball URL
- Add openssl-devel BuildRequires for TLS support in audisp-remote
- Fix ghost file entries: add auditd.pid, fix auditd.state path and
  add explicit %attr macros to both
- Parallelize make check with %{?_smp_mflags}
- Bump release to 2

Signed-off-by: Cropi <alakatos@redhat.com>

---
diff --git a/audit.spec b/audit.spec
index 710d085..8903d70 100644
--- a/audit.spec
+++ b/audit.spec
@@ -1,10 +1,10 @@
 Summary: User space tools for kernel auditing
 Name: audit
 Version: 4.2.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPL-2.0-or-later AND LGPL-2.0-or-later
 URL: https://github.com/linux-audit/audit-userspace/
-Source0: audit-userspace-%{version}.tar.gz
+Source0: https://github.com/linux-audit/audit-userspace/archive/refs/tags/v%{version}.tar.gz
 Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
 BuildRequires: make gcc
 BuildRequires: autoconf automake libtool
@@ -63,7 +63,7 @@ and libauparse can be used by python3.
 %package -n audispd-plugins
 Summary: Plugins for the audit event dispatcher
 License: GPL-2.0-or-later
-BuildRequires: krb5-devel libcap-ng-devel
+BuildRequires: krb5-devel libcap-ng-devel openssl-devel
 Requires: %{name}%{?_isa} = %{version}-%{release}
 Requires: %{name}-libs%{?_isa} = %{version}-%{release}
 
@@ -132,7 +132,7 @@ touch -r ./audit.spec $RPM_BUILD_ROOT/etc/libaudit.conf
 touch -r ./audit.spec $RPM_BUILD_ROOT/usr/share/man/man5/libaudit.conf.5.gz
 
 %check
-make check
+make %{?_smp_mflags} check
 # Get rid of make files so that they don't get packaged.
 rm -f rules/Makefile*
 
@@ -254,7 +254,8 @@ fi
 %{_datadir}/bash-completion/completions/ausearch
 %{_datadir}/bash-completion/completions/aureport
 %{_datadir}/bash-completion/completions/augenrules
-%ghost %{_runstatedir}/run/auditd.state
+%ghost %attr(0644,root,root) %{_runstatedir}/auditd.pid
+%ghost %attr(0640,root,root) %{_runstatedir}/auditd.state
 %attr(-,root,-) %dir %{_var}/log/audit
 %attr(750,root,root) %dir /etc/audit/plugins.d
 %config(noreplace) %attr(640,root,root) /etc/audit/auditd.conf
@@ -304,6 +305,12 @@ fi
 %attr(750,root,root) %{_sbindir}/audispd-zos-remote
 
 %changelog
+* Thu Aug 07 2026 Attila Lakatos <alakatos@redhat.com> - 4.2.1-2
+- Enable TLS transport support in audisp-remote
+- Use upstream GitHub tarball as Source0
+- Fix ghost file entries for auditd.pid and auditd.state
+- Parallelize make check with _smp_mflags
+
 * Wed Jul 29 2026 Steve Grubb <sgrubb@redhat.com> 4.2.1-1
 - New upstream release
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-07 13:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 13:28 [rpms/audit] rawhide: audit: sync spec improvements from CentOS Stream Cropi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox