File project.diff of Package tcpdump

--- tcpdump.changes.orig
+++ tcpdump.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Sat May 10 01:43:05 UTC 2025 - Michal Kubecek <mkubecek@suse.cz>
+
+- drop SLE11 build hack
+
+-------------------------------------------------------------------
 Wed Dec  4 08:40:11 UTC 2024 - Pedro Monreal <pmonreal@suse.com>
 
 - Update tcpdump.keyring with upstream RSA signing key.
@@ -108,6 +113,11 @@ Sun Jan  1 12:50:29 UTC 2023 - Andreas S
   * Build system updates, developer visible fixes, documentation
 
 -------------------------------------------------------------------
+Thu Oct 13 15:25:32 UTC 2022 - Michal Kubecek <mkubecek@suse.cz>
+
+- fix SLE11 build
+
+-------------------------------------------------------------------
 Sun Jun 13 09:33:08 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
 
 - update to 4.99.1:
@@ -197,6 +207,11 @@ Fri Dec 13 17:21:34 UTC 2019 - Michel No
   https://github.com/the-tcpdump-group/tcpdump/issues/814
 
 -------------------------------------------------------------------
+Sun Nov  3 12:35:35 UTC 2019 - Michal Kubeček <mkubecek@suse.cz>
+
+- fix SLE12 build (%make_build, %license)
+
+-------------------------------------------------------------------
 Tue Oct 15 07:53:47 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
 
 - Trim CFLAGS
--- tcpdump.spec.orig
+++ tcpdump.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package tcpdump
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,12 +16,17 @@
 #
 
 
+%if 0%{!?make_build:1}
+%define make_build make %{?_smp_mflags}
+%endif
+
 %define min_libpcap_version 1.10.0
 Name:           tcpdump
 Version:        4.99.5
 Release:        0
 Summary:        A Packet Sniffer
 License:        BSD-3-Clause
+Group:          Productivity/Networking/Diagnostic
 URL:            https://www.tcpdump.org/
 Source:         https://www.tcpdump.org/release/%{name}-%{version}.tar.xz
 Source1:        tcpdump-qeth
@@ -37,7 +42,7 @@ This program can "read" all or only cert
 ethernet. It can be used to debug specific network problems.
 
 %prep
-%autosetup -p1
+%setup
 
 %build
 # guessing TSO needed in print-ip.c
@@ -46,6 +51,9 @@ export CFLAGS="%{optflags} -DGUESS_TSO"
 export CFLAGS="$CFLAGS -ffloat-store"
 %endif
 %configure
+%if 0%{!?make_build:1}
+%define make_build make %{?_smp_mflags}
+%endif
 %make_build
 
 %install
@@ -65,7 +73,12 @@ ln -sf %{_sbindir}/tcpdump %{buildroot}%
 %make_build check
 
 %files
+%defattr(-,root,root)
+%if 0%{?suse_version} >= 1500 || 0%{?sle_version} >= 120300
 %license LICENSE
+%else
+%doc LICENSE
+%endif
 %doc CHANGES CREDITS README* *.awk
 %{_mandir}/man?/*
 %{_sbindir}/tcpdump
openSUSE Build Service is sponsored by