fix missing .conf in systemd_tmpfiles argument, other specfile fixes [release 2.13.0-2mamba;Thu Dec 05 2024]

This commit is contained in:
Silvan Calarco 2024-12-05 22:28:52 +01:00
parent 81093d81d6
commit d78f94e37f

View File

@ -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 <davide.madrisan@gmail.com>
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 2.13.0-2mamba
- fix missing .conf in systemd_tmpfiles argument, other specfile fixes
* Fri Aug 30 2024 Automatic Build System <autodist@openmamba.org> 2.13.0-1mamba
- automatic version update by autodist