From d78c89125836d090ebbf043f2e24623e9631c80429a44ba385e7eea7f1b3fd08 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Fri, 5 Apr 2024 10:33:55 +0000 Subject: [PATCH] Accepting request 1165500 from home:kukuk:cleanup - liblastlog2-devel: * Obsolete/provide lastlog2-devel for migration * Add header file to filelist OBS-URL: https://build.opensuse.org/request/show/1165500 OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=553 --- util-linux.changes | 7 +++++++ util-linux.spec | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/util-linux.changes b/util-linux.changes index d4e3321..5f9bd83 100644 --- a/util-linux.changes +++ b/util-linux.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Apr 5 09:33:46 UTC 2024 - Thorsten Kukuk + +- liblastlog2-devel: + * Obsolete/provide lastlog2-devel for migration + * Add header file to filelist + ------------------------------------------------------------------- Thu Apr 4 12:27:18 UTC 2024 - Thorsten Kukuk diff --git a/util-linux.spec b/util-linux.spec index a4359e7..768a782 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -383,6 +383,8 @@ Summary: Development files for the lastlog2 library License: BSD-2-Clause Group: Development/Libraries/C and C++ Requires: liblastlog2-2 = %{version} +Provides: lastlog2-devel = %{version}-%{release} +Obsoletes: lastlog2-devel <= 1.3.1 %description -n liblastlog2-devel Files to develop applications using the liblastlog2 library. @@ -1659,6 +1661,8 @@ rmdir --ignore-fail-on-non-empty /run/run >/dev/null 2>&1 || : %files -n liblastlog2-devel %{_libdir}/liblastlog2.so +%dir %{_includedir}/liblastlog2 +%{_includedir}/liblastlog2/lastlog2.h %{_mandir}/man3/lastlog2.3.gz %{_mandir}/man3/ll2_*