$ git diff --patch-with-stat --summary 453b7d8a0b724be7a686e896ff352864de33b9fd..5e66930ef68a8458ca1d3cc7acdce25ec1baa5a8
.abf.yml | 2 +-
man-db-2.10.0-clang.patch | 19 -------------------
man-db.spec | 28 +++++++++++++++-------------
3 files changed, 16 insertions(+), 33 deletions(-)
diff --git a/.abf.yml b/.abf.yml
index 82bc958..eb9012b 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
sources:
- man-db-2.10.0.tar.xz: ee3bf8ae326f3e193722ba11a608097dd694bd1f
+ man-db-2.11.0.tar.xz: 66656a467f33aedbe639ccbb7c2048f2892c15a9
diff --git a/man-db-2.10.0-clang.patch b/man-db-2.10.0-clang.patch
index cf33343..4ecceeb 100644
--- a/man-db-2.10.0-clang.patch
+++ b/man-db-2.10.0-clang.patch
@@ -23,25 +23,6 @@ diff -up man-db-2.10.0/gl/lib/stdio.in.h.1~ man-db-2.10.0/gl/lib/stdio.in.h
# define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i)))
# else
# define _GL_ATTRIBUTE_DEALLOC(f, i)
-diff -up man-db-2.10.0/src/man.c.1~ man-db-2.10.0/src/man.c
---- man-db-2.10.0/src/man.c.1~ 2022-02-04 15:50:17.000000000 +0100
-+++ man-db-2.10.0/src/man.c 2022-02-05 20:52:32.546451924 +0100
-@@ -383,6 +383,7 @@ static error_t parse_opt (int key, char
-
- case OPT_WARNINGS:
- #ifdef NROFF_WARNINGS
-+ {
- char *s = xstrdup (arg ? arg : default_roff_warnings);
- const char *warning;
-
-@@ -392,6 +393,7 @@ static error_t parse_opt (int key, char
- xstrdup (warning));
-
- free (s);
-+ }
- #endif /* NROFF_WARNINGS */
- return 0;
-
diff -up man-db-2.10.0/config.h.in.omv~ man-db-2.10.0/config.h.in
--- man-db-2.10.0/config.h.in.omv~ 2022-02-05 21:00:23.093151416 +0100
+++ man-db-2.10.0/config.h.in 2022-02-05 21:00:29.954190666 +0100
diff --git a/man-db.spec b/man-db.spec
index 62fcf97..e0a2ae4 100644
--- a/man-db.spec
+++ b/man-db.spec
@@ -7,7 +7,7 @@
Summary: A set of documentation tools: man, apropos and whatis
Name: man-db
-Version: 2.10.0
+Version: 2.11.0
Release: 1
License: GPLv2
Group: System/Base
@@ -27,7 +27,7 @@ BuildRequires: po4a
BuildRequires: pkgconfig(libpipeline)
BuildRequires: pkgconfig(zlib)
# For macros.systemd (_tmpfilesdir, _presetdir, _unitdir)
-BuildRequires: systemd-macros
+BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libseccomp)
# The configure script checks for the best available pager at build time,
# let's prevent it from picking "more"
@@ -66,6 +66,8 @@ autoconf
--disable-cache-owner \
--with-lzip=lzip \
--with-override-dir=overrides \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --with-systemdtmpfilesdir=%{_tmpfilesdir} \
--with-libseccomp
%make_build CC="%{__cc} %{optflags}" V=1
@@ -142,15 +144,15 @@ EOF
%{_unitdir}/man-db.timer
%{_unitdir}/man-db.service
# documentation and translation
-%{_mandir}/man1/apropos.1*
-%{_mandir}/man1/lexgrog.1*
-%{_mandir}/man1/man.1*
-%{_mandir}/man1/man-recode.1*
-%{_mandir}/man1/manconv.1*
-%{_mandir}/man1/manpath.1*
-%{_mandir}/man1/whatis.1*
-%{_mandir}/man5/manpath.5*
-%{_mandir}/man8/accessdb.8*
-%{_mandir}/man8/catman.8*
-%{_mandir}/man8/mandb.8*
+%doc %{_mandir}/man1/apropos.1*
+%doc %{_mandir}/man1/lexgrog.1*
+%doc %{_mandir}/man1/man.1*
+%doc %{_mandir}/man1/man-recode.1*
+%doc %{_mandir}/man1/manconv.1*
+%doc %{_mandir}/man1/manpath.1*
+%doc %{_mandir}/man1/whatis.1*
+%doc %{_mandir}/man5/manpath.5*
+%doc %{_mandir}/man8/accessdb.8*
+%doc %{_mandir}/man8/catman.8*
+%doc %{_mandir}/man8/mandb.8*
%attr(0755,man,man) %dir %{cache}