From d78f94e37ff1c025bff1e9b68f4f106b1c4f2e19 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 5 Dec 2024 22:28:52 +0100 Subject: [PATCH] fix missing .conf in systemd_tmpfiles argument, other specfile fixes [release 2.13.0-2mamba;Thu Dec 05 2024] --- man-db.spec | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/man-db.spec b/man-db.spec index cbf27ca..2e575ea 100644 --- a/man-db.spec +++ b/man-db.spec @@ -5,17 +5,15 @@ Name: man-db Version: 2.13.0 -Release: 1mamba +Release: 2mamba Summary: A set of documentation tools: man, apropos and whatis Group: System/Tools Vendor: openmamba Distribution: openmamba -Packager: Davide Madrisan +Packager: Silvan Calarco URL: https://man-db.gitlab.io/man-db/ Source: http://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz License: GPL -Obsoletes: man -Provides: man ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgdbm-devel @@ -29,10 +27,16 @@ Requires: gzip Requires: bzip2 Requires: xz Requires: ncompress +Provides: user(man) +Provides: group(man) +Provides: man +Obsoletes: man < 2.13.0 %description The man package includes three tools for finding information and/or documentation about your Linux system. +%debug_package + %prep %setup -q @@ -51,7 +55,7 @@ The man package includes three tools for finding information and/or documentatio %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall man_owner=`id -u` +%makeinstall man_owner="" install -d %{buildroot}%{cache}/{local,X11R6} for i in 1 2 3 4 5 6 7 8 9 n; do @@ -73,6 +77,7 @@ rm -f %{buildroot}%{_mandir}/man1/zsoelim.* /usr/sbin/groupadd -g %{man_gid} man 2>/dev/null || : /usr/sbin/useradd -u %{man_uid} -g %{man_gid} -s /bin/false -r -d %{cache} \ -c "man cache" man >/dev/null 2>&1 || : +: %preun if [ $1 -eq 0 ]; then @@ -83,11 +88,11 @@ if [ $1 -eq 0 ]; then /usr/sbin/groupdel man 2>/dev/null /usr/sbin/userdel man 2>/dev/null fi -exit 0 +: %post if [ $1 -ge 1 ]; then -%tmpfiles_create %{name} +%tmpfiles_create %{name}.conf fi : @@ -129,6 +134,9 @@ fi #%doc ChangeLog NEWS README %changelog +* Thu Dec 05 2024 Silvan Calarco 2.13.0-2mamba +- fix missing .conf in systemd_tmpfiles argument, other specfile fixes + * Fri Aug 30 2024 Automatic Build System 2.13.0-1mamba - automatic version update by autodist