conntrack-tools-1.4.5-12.el9

- Fix source compile in tests.yml

Related: rhbz#2062810
This commit is contained in:
Phil Sutter 2022-03-15 16:43:55 +01:00
parent 7de9aec544
commit 640cf87f40
2 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Name: conntrack-tools Name: conntrack-tools
Version: 1.4.5 Version: 1.4.5
Release: 11%{?dist} Release: 12%{?dist}
Summary: Manipulate netfilter connection tracking table and run High Availability Summary: Manipulate netfilter connection tracking table and run High Availability
License: GPLv2 License: GPLv2
URL: http://conntrack-tools.netfilter.org/ URL: http://conntrack-tools.netfilter.org/
@ -93,6 +93,9 @@ install -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/conntrackd/
%systemd_postun conntrackd.service %systemd_postun conntrackd.service
%changelog %changelog
* Tue Mar 15 2022 Phil Sutter <psutter@redhat.com> - 1.4.5-12
- Fix source compile in tests.yml
* Tue Mar 15 2022 Phil Sutter <psutter@redhat.com> - 1.4.5-11 * Tue Mar 15 2022 Phil Sutter <psutter@redhat.com> - 1.4.5-11
- Enable hardened builds again. - Enable hardened builds again.

View File

@ -6,6 +6,9 @@
- role: standard-test-source - role: standard-test-source
- role: standard-test-basic - role: standard-test-basic
required_packages: required_packages:
- automake
- autoconf
- libtool
- gcc - gcc
- make - make
- libnfnetlink-devel - libnfnetlink-devel
@ -21,7 +24,7 @@
tests: tests:
- build-test: - build-test:
dir: ./source dir: ./source
run: ./configure && sed -i "s/DEFAULT_INCLUDES = -I./DEFAULT_INCLUDES = -I. -I\/usr\/include\/tirpc/" src/helpers/Makefile && make run: autoreconf -fi && rm -Rf autom4te*.cache config.h.in~ && ./configure && make
- conntrack-test: - conntrack-test:
dir: ./source/tests/conntrack dir: ./source/tests/conntrack
run: chmod +x run-test.sh && ./run-test.sh 2>/dev/null | tee conntrack_test.log | grep -q '^OK':' [0-9]* BAD':' 0$' run: chmod +x run-test.sh && ./run-test.sh 2>/dev/null | tee conntrack_test.log | grep -q '^OK':' [0-9]* BAD':' 0$'