a25286
%global debug_package   %{nil}
a25286
a25286
Summary: Complementary and updated manual pages
a25286
Name: man-pages-overrides
cf29fe
Version: 8.6.0.0
18553a
Release: 1%{?dist}
a25286
# license is the same as for the man-pages package
a25286
License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE
a25286
Group: Documentation
a25286
# there is no public download location for this package
a25286
Source: man-pages-overrides-%{version}.tar.xz
a25286
35aca8
Patch1: 1673142-mpo-8.2.0.0-copy_file_range.2.patch
35aca8
Patch2: 1517305-mpo-8.2.0.1-jose-.1.patch
c050d7
Patch3: 1828296-mpo-8.3.0.0-xattr.7.patch
c050d7
Patch4: 1829031-mpo-8.3.0.0-execve.2.patch
c050d7
Patch5: 1731058-mpo-8.3.0.1-radvd.8.patch
c050d7
Patch6: 1850065-mpo-8.3.0.2-sgdisk.8.patch
18553a
Patch7: 1899552-mpo-8.5.0.0-statx.2.patch
18553a
Patch8: 1928160-mpo-8.5.0.0-resolv.conf.5.patch
18553a
Patch9: 1981853-mpo-8.5.0.1-tcp.7.patch
8beb1e
a25286
BuildArch: noarch
a25286
8beb1e
# make sure man-pages-overrides is installed with man-pages
8beb1e
Supplements: man-pages
8beb1e
a25286
%description
a25286
A collection of manual ("man") pages to complement other packages or update
a25286
those contained therein. Always have the latest version of this package
a25286
installed.
a25286
a25286
%prep
a25286
%autosetup -p1
a25286
# remove unwanted *.orig files
a25286
find -name "*.orig" -delete
a25286
a25286
%build
a25286
# nothing to build
a25286
a25286
%install
a25286
mkdir -p $RPM_BUILD_ROOT%{_mandir}/overrides
c050d7
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
a25286
for i in *; do
a25286
    if [[ -d "$i" ]]; then
a25286
        for j in $(ls "$i"); do
a25286
           if [[ -d "$i/$j" ]]; then
a25286
               mkdir -p "$RPM_BUILD_ROOT%{_mandir}/overrides/$j"
a25286
               for k in $(ls "$i/$j"); do
a25286
                   if [[ -d "$i/$j/$k" ]]; then
a25286
                       mkdir -p "$RPM_BUILD_ROOT%{_mandir}/overrides/$j/$k"
a25286
                       cp -f "$i/$j/$k"/* "$RPM_BUILD_ROOT%{_mandir}/overrides/$j/$k"
a25286
                   else
a25286
                       cp -f "$i/$j"/* "$RPM_BUILD_ROOT%{_mandir}/overrides/$j"
a25286
                   fi
a25286
               done
a25286
           else
c050d7
              mkdir -p "$RPM_BUILD_ROOT%{_docdir}/%{name}/$i"
c050d7
              cp "$i/$j" "$RPM_BUILD_ROOT%{_docdir}/%{name}/$i"
a25286
           fi
a25286
        done
a25286
    fi
a25286
done
a25286
a25286
%files
c050d7
%doc %{_docdir}/%{name}
a25286
%{_mandir}/overrides/
a25286
a25286
%changelog
cf29fe
* Thu Feb 03 2022 Nikola Forró <nforro@redhat.com> - 8.6.0.0-1
cf29fe
- Upload new tarball
cf29fe
- rpc.3: remove the man page
cf29fe
  resolves: #2042972
cf29fe
18553a
* Fri Jul 16 2021 Nikola Forró <nforro@redhat.com> - 8.5.0.1-1
18553a
- Upload new tarball
18553a
- tcp.7: remove tcp_tso_win_divisor option
18553a
  resolves: #1981853
18553a
18553a
* Fri Jul 09 2021 Nikola Forró <nforro@redhat.com> - 8.5.0.0-1
18553a
- Upload new tarball
18553a
- statx.2: add STATX_ATTR_DAX
18553a
  resolves: #1899552
18553a
- resolv.conf.5: update information about search list and
18553a
  attempt to clarify domain/search interaction
18553a
  resolves: #1928160
18553a
c050d7
* Thu Aug 20 2020 Nikola Forró <nforro@redhat.com> - 8.3.0.2-2
c050d7
- xattr.7: add attr(1) and selinux(8) as relevant pages to SEE ALSO
c050d7
  related: #1828296
c050d7
c050d7
* Thu Jun 25 2020 Nikola Forró <nforro@redhat.com> - 8.3.0.2-1
c050d7
- Upload new tarball
c050d7
- sgdisk.8: fix typo
c050d7
  resolves: #1850065
c050d7
c050d7
* Mon Jun 15 2020 Nikola Forró <nforro@redhat.com> - 8.3.0.1-1
c050d7
- Upload new tarball
c050d7
- radvd.8: add nodaemon option
c050d7
  resolves: #1731058
c050d7
c050d7
* Thu Apr 30 2020 Nikola Forró <nforro@redhat.com> - 8.3.0.0-1
c050d7
- Upload new tarball
c050d7
- Use unversioned docdir
c050d7
  resolves: #1824824
c050d7
- xattr.7: add attr(1) as a relevant page to SEE ALSO
c050d7
  resolves: #1828296
c050d7
- execve.2: clarify signal sent to the process on late failure
c050d7
  resolves: #1829031
c050d7
35aca8
* Thu Dec 19 2019 Nikola Forró <nforro@redhat.com> - 8.2.0.2-1
35aca8
- Upload new tarball
35aca8
- kernel_lockdown.7: add missing .RE macro
35aca8
  related: #1781945
35aca8
35aca8
* Wed Dec 18 2019 Nikola Forró <nforro@redhat.com> - 8.2.0.1-1
35aca8
- Upload new tarball
35aca8
- jose-*.1: fix typographical errors
35aca8
  resolves: #1517305
35aca8
35aca8
* Fri Dec 13 2019 Nikola Forró <nforro@redhat.com> - 8.2.0.0-1
35aca8
- Upload new tarball
35aca8
- kernel_lockdown.7: add new manpage
35aca8
  resolves: #1781945
35aca8
- copy_file_range.2: update ERRORS
35aca8
  resolves: #1673142
35aca8
8beb1e
* Wed Jun 19 2019 Nikola Forró <nforro@redhat.com> - 8.1.0.0-2
8beb1e
- Mark this package as man-pages supplement
8beb1e
  related: #1706882
8beb1e
8beb1e
* Wed May 29 2019 Nikola Forró <nforro@redhat.com> - 8.1.0.0-1
8beb1e
- Upload new tarball
8beb1e
- rpc.3: indicate that <rpc/rpc.h> is provided by libtirpc-devel, not glibc
8beb1e
  resolves: #1706882
8beb1e
a25286
* Thu Jul 26 2018 Nikola Forró <nforro@redhat.com> - 8.0.0-1
a25286
- Initial package for RHEL 8.0