Browse Source

audit-3.0.5-1

Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
de5684052c
1 changed files with 13 additions and 10 deletions
  1. 13 10
      a/audit/audit-vl.spec

+ 13 - 10
a/audit/audit-vl.spec

@@ -5,16 +5,15 @@
 
 Summary: User space tools for 2.6 kernel auditing
 Name: audit
-Version: 3.0.1
+Version: 3.0.5
 Release: 1%{?_dist_release}%{?with_systemd:.systemd}
 License: GPLv2+
 Group: system,admin-tools
 Distribution: Vine Linux
 Vendor: Project Vine
 
-URL: http://people.redhat.com/sgrubb/audit/
+URL: https://people.redhat.com/sgrubb/audit/
 Source0: https://github.com/linux-audit/audit-userspace/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-Patch1: audit-3.0.2-sockaddr.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: gettext intltool libtool swig
@@ -134,7 +133,6 @@ applications to use the audit framework.
 
 %prep
 %setup -q -n audit-userspace-%{version}
-%patch1 -p1
 
 autoreconf -vif
 # Remove the ids code, its not ready
@@ -197,6 +195,12 @@ mv %{buildroot}/usr/lib/systemd/system/auditd.service %{buildroot}%{_unitdir}/
 %endif
 
 
+%check
+make check
+# Get rid of make files so that they don't get packaged.
+rm -f rules/Makefile*
+
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 rm -rf zos-remote-policy
@@ -258,12 +262,6 @@ if [ $1 -ge 1 ]; then
 fi
 %endif
 
-%post libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
-
-%post -n compat32-%{name}-libs -p /sbin/ldconfig
-%postun -n compat32-%{name}-libs -p /sbin/ldconfig
-
 
 %files libs
 %defattr(-,root,root)
@@ -383,6 +381,11 @@ fi
 
 
 %changelog
+* Wed Sep 01 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.5-1
+- new upstream release.
+- dropped Patch1.
+- dropped ldconfig scriptlets.
+
 * Fri Feb 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.1-1
 - new upstream release.
 - dropped Patch1.