import man-pages-overrides-9.0.0.0-1.el9
This commit is contained in:
commit
d9c06d298c
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
SOURCES/man-pages-overrides-9.0.0.0.tar.xz
|
1
.man-pages-overrides.metadata
Normal file
1
.man-pages-overrides.metadata
Normal file
@ -0,0 +1 @@
|
||||
546c0ba0079cfbd7cd31f3daea6d6668e56d69b6 SOURCES/man-pages-overrides-9.0.0.0.tar.xz
|
31
SOURCES/1706882-mpo-9.0.0.0-rpc.3.patch
Normal file
31
SOURCES/1706882-mpo-9.0.0.0-rpc.3.patch
Normal file
@ -0,0 +1,31 @@
|
||||
From a75ace33d790685e55ed5536f12675fd7aa340a9 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
|
||||
Date: Mon, 30 Nov 2020 11:45:46 +0100
|
||||
Subject: [PATCH] rpc.3: indicate that <rpc/rpc.h> is provided by
|
||||
libtirpc-devel, not glibc
|
||||
|
||||
---
|
||||
man-pages/man3/rpc.3 | 7 +++++++
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
diff --git a/man-pages/man3/rpc.3 b/man-pages/man3/rpc.3
|
||||
index 3ecacaa..0f42da2 100644
|
||||
--- a/man-pages/man3/rpc.3
|
||||
+++ b/man-pages/man3/rpc.3
|
||||
@@ -1211,6 +1211,13 @@ T{
|
||||
T} Thread safety MT-Safe
|
||||
.TE
|
||||
.ad
|
||||
+.SH NOTES
|
||||
+The
|
||||
+.I <rpc/rpc.h>
|
||||
+header is not included with glibc, but requires installing
|
||||
+.I libtirpc-devel
|
||||
+package. See also
|
||||
+.BR rpc (3t).
|
||||
.SH SEE ALSO
|
||||
.\" We don't have an rpc_secure.3 page in the set at the moment -- MTK, 19 Sep 05
|
||||
.\" .BR rpc_secure (3),
|
||||
--
|
||||
2.26.2
|
||||
|
62
SPECS/man-pages-overrides.spec
Normal file
62
SPECS/man-pages-overrides.spec
Normal file
@ -0,0 +1,62 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
Summary: Complementary and updated manual pages
|
||||
Name: man-pages-overrides
|
||||
Version: 9.0.0.0
|
||||
Release: 1%{?dist}
|
||||
# license is the same as for the man-pages package
|
||||
License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE
|
||||
# there is no public download location for this package
|
||||
Source: man-pages-overrides-%{version}.tar.xz
|
||||
|
||||
Patch0: 1706882-mpo-9.0.0.0-rpc.3.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
# make sure man-pages-overrides is installed with man-pages
|
||||
Supplements: man-pages
|
||||
|
||||
%description
|
||||
A collection of manual ("man") pages to complement other packages or update
|
||||
those contained therein. Always have the latest version of this package
|
||||
installed.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
# remove unwanted *.orig files
|
||||
find -name "*.orig" -delete
|
||||
|
||||
%build
|
||||
# nothing to build
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT%{_mandir}/overrides
|
||||
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
|
||||
for i in *; do
|
||||
if [[ -d "$i" ]]; then
|
||||
for j in $(ls "$i"); do
|
||||
if [[ -d "$i/$j" ]]; then
|
||||
mkdir -p "$RPM_BUILD_ROOT%{_mandir}/overrides/$j"
|
||||
for k in $(ls "$i/$j"); do
|
||||
if [[ -d "$i/$j/$k" ]]; then
|
||||
mkdir -p "$RPM_BUILD_ROOT%{_mandir}/overrides/$j/$k"
|
||||
cp -f "$i/$j/$k"/* "$RPM_BUILD_ROOT%{_mandir}/overrides/$j/$k"
|
||||
else
|
||||
cp -f "$i/$j"/* "$RPM_BUILD_ROOT%{_mandir}/overrides/$j"
|
||||
fi
|
||||
done
|
||||
else
|
||||
mkdir -p "$RPM_BUILD_ROOT%{_docdir}/%{name}/$i"
|
||||
cp "$i/$j" "$RPM_BUILD_ROOT%{_docdir}/%{name}/$i"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
||||
%files
|
||||
%doc %{_docdir}/%{name}
|
||||
%{_mandir}/overrides/
|
||||
|
||||
%changelog
|
||||
* Mon Nov 30 2020 Nikola Forró <nforro@redhat.com> - 9.0.0.0-1
|
||||
- Initial package for RHEL 9
|
Loading…
Reference in New Issue
Block a user