From bb20243469e1005340939bdd858dda151369b1d288113cd4374e0ad197deabc5 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 25 Nov 2024 17:23:29 +0100 Subject: [PATCH] Specfile modernization --- libnetfilter_conntrack.changes | 5 +++++ libnetfilter_conntrack.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/libnetfilter_conntrack.changes b/libnetfilter_conntrack.changes index 68876d8..902da17 100644 --- a/libnetfilter_conntrack.changes +++ b/libnetfilter_conntrack.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 25 16:22:22 UTC 2024 - Jan Engelhardt + +- Specfile modernization + ------------------------------------------------------------------- Thu Sep 26 21:19:01 UTC 2024 - Jan Engelhardt diff --git a/libnetfilter_conntrack.spec b/libnetfilter_conntrack.spec index 9f89d63..e89f802 100644 --- a/libnetfilter_conntrack.spec +++ b/libnetfilter_conntrack.spec @@ -70,14 +70,13 @@ used by conntrack-tools among many other applications. %build # includedir intentional, cf. bugzilla.opensuse.org/795968 %configure --disable-static --includedir="%_includedir/%name" -make %{?_smp_mflags} +%make_build %install %make_install rm -f "%buildroot/%_libdir"/*.la -%post -n %lname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%ldconfig_scriptlets -n %lname %files -n %lname %_libdir/libnetfilter_conntrack.so.3*