From fa6cd3c8b7651312e8bc5a159bb134720d1cf0bf Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 01 2019 15:10:49 +0000 Subject: import man-pages-overrides-8.1.0.0-2.el8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b48f19 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/man-pages-overrides-8.1.0.0.tar.xz diff --git a/.man-pages-overrides.metadata b/.man-pages-overrides.metadata new file mode 100644 index 0000000..f34c285 --- /dev/null +++ b/.man-pages-overrides.metadata @@ -0,0 +1 @@ +5cc9a29c6b10da3c6ce28358b5d528ce6994e290 SOURCES/man-pages-overrides-8.1.0.0.tar.xz diff --git a/SOURCES/1706882-mpo-8.1.0.0-rpc.3.patch b/SOURCES/1706882-mpo-8.1.0.0-rpc.3.patch new file mode 100644 index 0000000..605e682 --- /dev/null +++ b/SOURCES/1706882-mpo-8.1.0.0-rpc.3.patch @@ -0,0 +1,31 @@ +From 4029cfa7a99e50e0f00e5b42f6edf38b424a05ad Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Nikola=20Forr=C3=B3?= +Date: Wed, 29 May 2019 17:27:37 +0200 +Subject: [PATCH] rpc.3: indicate that 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 0a1c263..65ac0fa 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 ++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.21.0 + diff --git a/SPECS/man-pages-overrides.spec b/SPECS/man-pages-overrides.spec new file mode 100644 index 0000000..5531c99 --- /dev/null +++ b/SPECS/man-pages-overrides.spec @@ -0,0 +1,72 @@ +%global debug_package %{nil} + +Summary: Complementary and updated manual pages +Name: man-pages-overrides +Version: 8.1.0.0 +Release: 2%{?dist} +# license is the same as for the man-pages package +License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE +Group: Documentation +# there is no public download location for this package +Source: man-pages-overrides-%{version}.tar.xz + +Patch0: 1706882-mpo-8.1.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}-%{version} +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}-%{version}/$i" + cp "$i/$j" "$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/$i" + fi + done + fi +done + +%files +%doc %{_docdir}/%{name}-%{version} +%{_mandir}/overrides/ + +%changelog +* Wed Jun 19 2019 Nikola Forró - 8.1.0.0-2 +- Mark this package as man-pages supplement + related: #1706882 + +* Wed May 29 2019 Nikola Forró - 8.1.0.0-1 +- Upload new tarball +- rpc.3: indicate that is provided by libtirpc-devel, not glibc + resolves: #1706882 + +* Thu Jul 26 2018 Nikola Forró - 8.0.0-1 +- Initial package for RHEL 8.0