c3e9a2
%global cache /var/cache/man
c3e9a2
%global gnulib_ver 20140202
c3e9a2
c3e9a2
Summary: Tools for searching and reading man pages
c3e9a2
Name: man-db
c3e9a2
Version: 2.9.3
9bc949
Release: 7%{?dist}
c3e9a2
# GPLv2+ .. man-db
c3e9a2
# GPLv3+ .. gnulib
c3e9a2
License: GPLv2+ and GPLv3+
c3e9a2
URL: http://www.nongnu.org/man-db/
c3e9a2
c3e9a2
Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz
c3e9a2
Source1: man-db.crondaily
c3e9a2
Source2: man-db.sysconfig
c3e9a2
Source3: man-db-cache-update.service
c3e9a2
Source4: man-db-restart-cache-update.service
c3e9a2
Patch0: man-db-2.8.3-change-owner-of-man-cache.patch
c3e9a2
c3e9a2
# http://lists.nongnu.org/archive/html/man-db-devel/2017-01/msg00013.html
c3e9a2
Patch1: man-db-2.8.7-fix-override-dir-handling.patch
c3e9a2
c3e9a2
# change snap system directory from /snap to /var/lib/snapd/snap
c3e9a2
# https://lists.gnu.org/archive/html/man-db-devel/2020-02/msg00000.html
c3e9a2
Patch2: man-db-2.9.1-snap.patch
c3e9a2
c3e9a2
# fix important Covscan defects
c3e9a2
Patch3: man-db-2.9.3-coverity.patch
c3e9a2
c3e9a2
Obsoletes: man < 2.0
c3e9a2
Provides: man = %{version}
c3e9a2
Provides: man-pages-reader = %{version}
c3e9a2
# FPC exception for gnulib - copylib - https://fedorahosted.org/fpc/ticket/174
c3e9a2
Provides: bundled(gnulib) = %{gnulib_ver}
c3e9a2
c3e9a2
Requires: coreutils, grep, groff-base, gzip, less
c3e9a2
BuildRequires: make
c3e9a2
BuildRequires: gcc
c3e9a2
BuildRequires: systemd
c3e9a2
BuildRequires: gdbm-devel, gettext, groff, less, libpipeline-devel, zlib-devel
c3e9a2
BuildRequires: po4a, perl-interpreter, perl-version
c3e9a2
c3e9a2
Requires(post): %{_sbindir}/update-alternatives
c3e9a2
Requires(postun): %{_sbindir}/update-alternatives
c3e9a2
Requires(preun): %{_sbindir}/update-alternatives
c3e9a2
c3e9a2
%description
c3e9a2
The man-db package includes five tools for browsing man-pages:
c3e9a2
man, whatis, apropos, manpath and lexgrog. man formats and displays
c3e9a2
manual pages. whatis searches the manual page names. apropos searches the
c3e9a2
manual page names and descriptions. manpath determines search path
c3e9a2
for manual pages. lexgrog directly reads header information in
c3e9a2
manual pages.
c3e9a2
c3e9a2
%package cron
c3e9a2
Summary: Periodic update of man-db cache
c3e9a2
c3e9a2
Requires: %{name} = %{version}-%{release}
c3e9a2
Requires: crontabs
c3e9a2
c3e9a2
BuildArch: noarch
c3e9a2
c3e9a2
%description cron
c3e9a2
This package provides periodic update of man-db cache.
c3e9a2
c3e9a2
%prep
c3e9a2
%autosetup -p1
c3e9a2
c3e9a2
%build
c3e9a2
%configure \
c3e9a2
    --with-sections="1 1p 8 2 3 3p 3pm 4 5 6 7 9 0p n l p o 1x 2x 3x 4x 5x 6x 7x 8x" \
c3e9a2
    --disable-setuid --disable-cache-owner \
c3e9a2
    --with-systemdsystemunitdir=no \
c3e9a2
    --with-browser=elinks --with-lzip=lzip \
c3e9a2
    --with-override-dir=overrides
c3e9a2
%make_build CC="%{__cc} %{optflags}"
c3e9a2
c3e9a2
%check
c3e9a2
make check
c3e9a2
c3e9a2
%install
c3e9a2
%make_install prefix=%{_prefix}
c3e9a2
c3e9a2
# rename files for alternative usage
c3e9a2
for f in man apropos whatis; do
c3e9a2
    mv %{buildroot}%{_bindir}/$f %{buildroot}%{_bindir}/$f.%{name}
c3e9a2
    touch %{buildroot}%{_bindir}/$f
c3e9a2
    mv %{buildroot}%{_mandir}/man1/$f.1 %{buildroot}%{_mandir}/man1/$f.%{name}.1
c3e9a2
    touch %{buildroot}%{_mandir}/man1/$f.1
c3e9a2
done
c3e9a2
c3e9a2
# move the documentation to the relevant place
c3e9a2
mv $RPM_BUILD_ROOT%{_datadir}/doc/man-db/* ./
c3e9a2
c3e9a2
# remove zsoelim man page - part of groff package
c3e9a2
rm $RPM_BUILD_ROOT%{_datadir}/man/man1/zsoelim.1
c3e9a2
c3e9a2
# remove libtool archives
c3e9a2
rm $RPM_BUILD_ROOT%{_libdir}/man-db/*.la
c3e9a2
c3e9a2
# install cache directory
c3e9a2
install -d -m 0755  $RPM_BUILD_ROOT%{cache}
c3e9a2
c3e9a2
# install cron script for man-db creation/update
c3e9a2
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily
c3e9a2
install -D -p -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/man-db.cron
c3e9a2
c3e9a2
# config for cron script
c3e9a2
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
c3e9a2
install -D -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/man-db
c3e9a2
c3e9a2
# config for tmpfiles.d
c3e9a2
install -D -p -m 0644 init/systemd/man-db.conf $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/.
c3e9a2
c3e9a2
# man-db-cache-update.service and man-db-restart-cache-update.service
c3e9a2
install -D -p -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_unitdir}/man-db-cache-update.service
c3e9a2
install -D -p -m 0644 %{SOURCE4} $RPM_BUILD_ROOT%{_unitdir}/man-db-restart-cache-update.service
c3e9a2
c3e9a2
%find_lang %{name}
c3e9a2
%find_lang %{name}-gnulib
c3e9a2
c3e9a2
%pre
c3e9a2
# remove alternativized files if they are not symlinks
c3e9a2
for f in man apropos whatis; do
c3e9a2
    [ -L %{_bindir}/$f ] || %{__rm} -f %{_bindir}/$f >/dev/null 2>&1 || :
c3e9a2
    [ -L %{_mandir}/man1/$f.1.gz ] || %{__rm} -f %{_mandir}/man1/$f.1.gz >/dev/null 2>&1 || :
c3e9a2
done
c3e9a2
c3e9a2
# stop and disable timer from previous builds
c3e9a2
if [ -e /usr/lib/systemd/system/mandb.timer ]; then
c3e9a2
    if test -d /run/systemd; then
c3e9a2
        systemctl stop man-db.timer >/dev/null 2>&1 || :
c3e9a2
        systemctl -q disable man-db.timer >/dev/null 2>&1 || :
c3e9a2
    fi
c3e9a2
fi
c3e9a2
c3e9a2
%post
c3e9a2
# set up the alternatives files
c3e9a2
%{_sbindir}/update-alternatives --install %{_bindir}/man man %{_bindir}/man.%{name} 300 \
c3e9a2
    --slave %{_bindir}/apropos apropos %{_bindir}/apropos.%{name} \
c3e9a2
    --slave %{_bindir}/whatis whatis %{_bindir}/whatis.%{name} \
c3e9a2
    --slave %{_mandir}/man1/man.1.gz man.1.gz %{_mandir}/man1/man.%{name}.1.gz \
c3e9a2
    --slave %{_mandir}/man1/apropos.1.gz apropos.1.gz %{_mandir}/man1/apropos.%{name}.1.gz \
c3e9a2
    --slave %{_mandir}/man1/whatis.1.gz whatis.1.gz %{_mandir}/man1/whatis.%{name}.1.gz \
c3e9a2
    >/dev/null 2>&1 || :
c3e9a2
c3e9a2
# clear the old cache
c3e9a2
%{__rm} -rf %{cache}/* >/dev/null 2>&1 || :
c3e9a2
c3e9a2
%preun
c3e9a2
if [ $1 -eq 0 ]; then
c3e9a2
    %{_sbindir}/update-alternatives --remove man %{_bindir}/man.%{name} >/dev/null 2>&1 || :
c3e9a2
fi
c3e9a2
c3e9a2
%postun
c3e9a2
if [ $1 -ge 1 ]; then
c3e9a2
    if [ "$(readlink %{_sysconfdir}/alternatives/man)" == "%{_bindir}/man.%{name}" ]; then
c3e9a2
        %{_sbindir}/update-alternatives --set man %{_bindir}/man.%{name} >/dev/null 2>&1 || :
c3e9a2
    fi
c3e9a2
fi
c3e9a2
c3e9a2
%transfiletriggerin -- %{_mandir}
c3e9a2
# update cache
c3e9a2
if [ -x /usr/bin/systemd-run -a -x /usr/bin/systemctl ]; then
c3e9a2
    /usr/bin/systemd-run /usr/bin/systemctl start man-db-cache-update >/dev/null 2>&1 || :
c3e9a2
fi
c3e9a2
c3e9a2
%transfiletriggerpostun -- %{_mandir}
c3e9a2
# update cache
c3e9a2
if [ -x /usr/bin/systemd-run -a -x /usr/bin/systemctl ]; then
c3e9a2
    /usr/bin/systemd-run /usr/bin/systemctl start man-db-cache-update >/dev/null 2>&1 || :
c3e9a2
fi
c3e9a2
c3e9a2
%files -f %{name}.lang -f %{name}-gnulib.lang
c3e9a2
%{!?_licensedir:%global license %%doc}
c3e9a2
%license docs/COPYING
c3e9a2
%doc README man-db-manual.txt man-db-manual.ps ChangeLog NEWS
c3e9a2
%config(noreplace) %{_sysconfdir}/man_db.conf
c3e9a2
%config(noreplace) %{_sysconfdir}/sysconfig/man-db
c3e9a2
%config(noreplace) %{_tmpfilesdir}/man-db.conf
c3e9a2
%{_unitdir}/man-db-cache-update.service
c3e9a2
%{_unitdir}/man-db-restart-cache-update.service
c3e9a2
%{_sbindir}/accessdb
c3e9a2
%ghost %{_bindir}/man
c3e9a2
%ghost %{_bindir}/apropos
c3e9a2
%ghost %{_bindir}/whatis
c3e9a2
%{_bindir}/man.%{name}
c3e9a2
%{_bindir}/apropos.%{name}
c3e9a2
%{_bindir}/whatis.%{name}
c3e9a2
%{_bindir}/man-recode
c3e9a2
%{_bindir}/manpath
c3e9a2
%{_bindir}/lexgrog
c3e9a2
%{_bindir}/catman
c3e9a2
%{_bindir}/mandb
c3e9a2
%dir %{_libdir}/man-db
c3e9a2
%{_libdir}/man-db/*.so
c3e9a2
%dir %{_libexecdir}/man-db
c3e9a2
%{_libexecdir}/man-db/globbing
c3e9a2
%{_libexecdir}/man-db/manconv
c3e9a2
%{_libexecdir}/man-db/zsoelim
c3e9a2
%verify(not mtime) %dir %{cache}
c3e9a2
# documentation and translation
c3e9a2
%ghost %{_mandir}/man1/man.1*
c3e9a2
%ghost %{_mandir}/man1/apropos.1*
c3e9a2
%ghost %{_mandir}/man1/whatis.1*
c3e9a2
%{_mandir}/man1/man.%{name}.1*
c3e9a2
%{_mandir}/man1/apropos.%{name}.1*
c3e9a2
%{_mandir}/man1/whatis.%{name}.1*
c3e9a2
%{_mandir}/man1/man-recode.1*
c3e9a2
%{_mandir}/man1/lexgrog.1*
c3e9a2
%{_mandir}/man1/manconv.1*
c3e9a2
%{_mandir}/man1/manpath.1*
c3e9a2
%{_mandir}/man5/manpath.5*
c3e9a2
%{_mandir}/man8/accessdb.8*
c3e9a2
%{_mandir}/man8/catman.8*
c3e9a2
%{_mandir}/man8/mandb.8*
c3e9a2
%lang(da)       %{_datadir}/man/da/man*/*
c3e9a2
%lang(de)       %{_datadir}/man/de/man*/*
c3e9a2
%lang(es)       %{_datadir}/man/es/man*/*
c3e9a2
%lang(fr)       %{_datadir}/man/fr/man*/*
c3e9a2
%lang(id)       %{_datadir}/man/id/man*/*
c3e9a2
%lang(it)       %{_datadir}/man/it/man*/*
c3e9a2
%lang(ja)       %{_datadir}/man/ja/man*/*
c3e9a2
%lang(nl)       %{_datadir}/man/nl/man*/*
c3e9a2
%lang(pl)       %{_datadir}/man/pl/man*/*
c3e9a2
%lang(pt)       %{_datadir}/man/pt/man*/*
c3e9a2
%lang(pt_BR)    %{_datadir}/man/pt_BR/man*/*
c3e9a2
%lang(ru)       %{_datadir}/man/ru/man*/*
c3e9a2
%lang(sr)       %{_datadir}/man/sr/man*/*
c3e9a2
%lang(sv)       %{_datadir}/man/sv/man*/*
c3e9a2
%lang(tr)       %{_datadir}/man/tr/man*/*
c3e9a2
%lang(zh_CN)    %{_datadir}/man/zh_CN/man*/*
c3e9a2
c3e9a2
%files cron
c3e9a2
%config(noreplace) %{_sysconfdir}/cron.daily/man-db.cron
c3e9a2
c3e9a2
%changelog
9bc949
* Mon Sep 19 2022 Lukas Javorsky <ljavorsk@redhat.com> - 2.9.3-7
9bc949
- Rebuild for man-db-cron compose change.
9bc949
  Changing from buildroot to Appstream compose.
9bc949
c3e9a2
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.9.3-6
c3e9a2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
c3e9a2
  Related: rhbz#1991688
c3e9a2
c3e9a2
* Fri Jul 30 2021 Nikola Forró <nforro@redhat.com> - 2.9.3-5
c3e9a2
- fix important Covscan defects
c3e9a2
  resolves #1938814
c3e9a2
c3e9a2
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.9.3-4
c3e9a2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
c3e9a2
c3e9a2
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-3
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
c3e9a2
c3e9a2
* Fri Oct 09 2020 Jeff Law <law@redhat.com> - 2.9.3-2
c3e9a2
- Re-enable LTO
c3e9a2
c3e9a2
* Tue Oct 06 2020 Nikola Forró <nforro@redhat.com> - 2.9.3-1
c3e9a2
- update to 2.9.3
c3e9a2
  resolves #1849809
c3e9a2
c3e9a2
* Thu Sep 03 2020 Nikola Forró <nforro@redhat.com> - 2.9.2-6
c3e9a2
- disable LTO to workaround a possible linker bug
c3e9a2
  related to #1871971
c3e9a2
c3e9a2
* Tue Aug 04 2020 Nikola Forró <nforro@redhat.com> - 2.9.2-5
c3e9a2
- reenable LTO
c3e9a2
c3e9a2
* Tue Jul 28 2020 Nikola Forró <nforro@redhat.com> - 2.9.2-4
c3e9a2
- disable LTO to avoid linker bug
c3e9a2
c3e9a2
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2-3
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c3e9a2
c3e9a2
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 2.9.2-2
c3e9a2
- Use make macros
c3e9a2
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
c3e9a2
c3e9a2
* Tue Jun 02 2020 Nikola Forró <nforro@redhat.com> - 2.9.2-1
c3e9a2
- update to 2.9.2
c3e9a2
  resolves #1842624
c3e9a2
c3e9a2
* Sun Mar 01 2020 Nikola Forró <nforro@redhat.com> - 2.9.1-6
c3e9a2
- fix %pre scriptlet
c3e9a2
c3e9a2
* Fri Feb 28 2020 Nikola Forró <nforro@redhat.com> - 2.9.1-5
c3e9a2
- fix upgrades from non-alternativized versions properly
c3e9a2
c3e9a2
* Fri Feb 28 2020 Nikola Forró <nforro@redhat.com> - 2.9.1-4
c3e9a2
- fix upgrades from non-alternativized versions
c3e9a2
c3e9a2
* Wed Feb 26 2020 Nikola Forró <nforro@redhat.com> - 2.9.1-3
c3e9a2
- fix %postun scriptlet
c3e9a2
c3e9a2
* Wed Feb 26 2020 Nikola Forró <nforro@redhat.com> - 2.9.1-2
c3e9a2
- use alternatives for man, apropos and whatis
c3e9a2
c3e9a2
* Wed Feb 26 2020 Nikola Forró <nforro@redhat.com> - 2.9.1-1
c3e9a2
- update to 2.9.1
c3e9a2
  resolves #1807144
c3e9a2
c3e9a2
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-2
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c3e9a2
c3e9a2
* Thu Jan 09 2020 Nikola Forró <nforro@redhat.com> - 2.9.0-1
c3e9a2
- update to 2.9.0
c3e9a2
  resolves #1764582
c3e9a2
c3e9a2
* Fri Sep 27 2019 Nikola Forró <nforro@redhat.com> - 2.8.7-2
c3e9a2
- schedule interrupted cache update for the next boot, instead of blocking
c3e9a2
  system reboot/shutdown
c3e9a2
  resolves #1678464
c3e9a2
c3e9a2
* Fri Aug 30 2019 Nikola Forró <nforro@redhat.com> - 2.8.7-1
c3e9a2
- update to 2.8.7
c3e9a2
  resolves #1747042
c3e9a2
c3e9a2
* Tue Aug 27 2019 Nikola Forró <nforro@redhat.com> - 2.8.6.1-1
c3e9a2
- update to 2.8.6.1
c3e9a2
  resolves #1742475
c3e9a2
c3e9a2
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.4-5
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c3e9a2
c3e9a2
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.4-4
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c3e9a2
c3e9a2
* Mon Jan 07 2019 Nikola Forró <nforro@redhat.com> - 2.8.4-3
c3e9a2
- prioritize POSIX man pages over perl manuals
c3e9a2
  resolves #1663919
c3e9a2
c3e9a2
* Wed Nov 07 2018 Nikola Forró <nforro@redhat.com> - 2.8.4-2
c3e9a2
- get rid of hardcoded path
c3e9a2
c3e9a2
* Mon Jul 30 2018 Nikola Forró <nforro@redhat.com> - 2.8.4-1
c3e9a2
- update to 2.8.4
c3e9a2
  resolves #1609438
c3e9a2
c3e9a2
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.3-4
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
c3e9a2
c3e9a2
* Thu Jul 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.8.3-3
c3e9a2
- Rebuild for new gdbm
c3e9a2
c3e9a2
* Fri Apr 06 2018 Nikola Forró <nforro@redhat.com> - 2.8.3-2
c3e9a2
- fix version in the name of change-owner-of-man-cache patch
c3e9a2
c3e9a2
* Fri Apr 06 2018 Nikola Forró <nforro@redhat.com> - 2.8.3-1
c3e9a2
- update to 2.8.3
c3e9a2
  resolves #1564220
c3e9a2
c3e9a2
* Tue Feb 20 2018 Nikola Forró <nforro@redhat.com> - 2.7.6.1-15
c3e9a2
- add missing gcc build dependency
c3e9a2
c3e9a2
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.6.1-14
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c3e9a2
c3e9a2
* Sat Feb 03 2018 Todd Zullinger <tmz@pobox.com> - 2.7.6.1-13
c3e9a2
- Avoid noisy output from man-db-cache-update triggers
c3e9a2
c3e9a2
* Tue Jan 16 2018 Jiri Kucera <jkucera@redhat.com> - 2.7.6.1-12
c3e9a2
- fix segmentation fault caused by 'man -D?'
c3e9a2
  resolves: #1495507
c3e9a2
c3e9a2
* Tue Jan 16 2018 Nikola Forró <nforro@redhat.com> - 2.7.6.1-11
c3e9a2
- rebuild with gdbm-1.14
c3e9a2
c3e9a2
* Tue Dec 19 2017 Nikola Forró <nforro@redhat.com> - 2.7.6.1-10
c3e9a2
- fix failure of man-db-cache-update service when configured not to run
c3e9a2
  resolves: #1526715
c3e9a2
c3e9a2
* Tue Nov 21 2017 Nikola Forró <nforro@redhat.com> - 2.7.6.1-9
c3e9a2
- allow configuration of man-db-cache-update service through sysconfig
c3e9a2
  resolves: #1514909
c3e9a2
c3e9a2
* Tue Nov 21 2017 Nikola Forró <nforro@redhat.com> - 2.7.6.1-8
c3e9a2
- set group of /var/cache/man to root and drop setgid bit
c3e9a2
  resolves: #1515823
c3e9a2
c3e9a2
* Thu Nov 16 2017 Nikola Forró <nforro@redhat.com> - 2.7.6.1-7
c3e9a2
- make file trigger scriptlets not to fail in case systemd is unavailable
c3e9a2
- drop systemd dependency
c3e9a2
c3e9a2
* Wed Nov 08 2017 Nikola Forró <nforro@redhat.com> - 2.7.6.1-6
c3e9a2
- run cache update in a transient service using systemd-run
c3e9a2
  resolves #1318058
c3e9a2
c3e9a2
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.6.1-5
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c3e9a2
c3e9a2
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.6.1-4
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c3e9a2
c3e9a2
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.6.1-3
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c3e9a2
c3e9a2
* Thu Jan 19 2017 Nikola Forró <nforro@redhat.com> - 2.7.6.1-2
c3e9a2
- set owner of man cache to root instead of man
c3e9a2
c3e9a2
* Thu Jan 19 2017 Nikola Forró <nforro@redhat.com> - 2.7.6.1-1
c3e9a2
- update to 2.7.6.1
c3e9a2
  resolves #1403618
c3e9a2
c3e9a2
* Mon Mar 14 2016 Nikola Forró <nforro@redhat.com> - 2.7.5-3
c3e9a2
- suppress potential locale warning when installing with glibc-minimal-langpack
c3e9a2
  resolves #1314633
c3e9a2
c3e9a2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.5-2
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c3e9a2
c3e9a2
* Tue Nov 10 2015 Nikola Forró <nforro@redhat.com> - 2.7.5-1
c3e9a2
- update to 2.7.5
c3e9a2
  resolves #1279867
c3e9a2
c3e9a2
* Tue Oct 13 2015 Nikola Forró <nforro@redhat.com> - 2.7.4-2
c3e9a2
- add cron subpackage
c3e9a2
c3e9a2
* Tue Oct 13 2015 Nikola Forró <nforro@redhat.com> - 2.7.4-1
c3e9a2
- update to 2.7.4
c3e9a2
  resolves #1270078
c3e9a2
c3e9a2
* Mon Sep 21 2015 Nikola Forró <nforro@redhat.com> - 2.7.3-3
c3e9a2
- fix replace.sed prerequisite syntax
c3e9a2
  resolves #1263930
c3e9a2
c3e9a2
* Thu Sep 10 2015 Nikola Forró <nforro@redhat.com> - 2.7.3-2
c3e9a2
- use file triggers instead of crontabs for updating cache
c3e9a2
c3e9a2
* Thu Sep 10 2015 Nikola Forró <nforro@redhat.com> - 2.7.3-1
c3e9a2
- update to 2.7.3
c3e9a2
  resolves #1261678
c3e9a2
c3e9a2
* Mon Aug 24 2015 Nikola Forró <nforro@redhat.com> - 2.7.2-3
c3e9a2
- try to get terminal width from /dev/tty
c3e9a2
  resolves #1255930
c3e9a2
c3e9a2
* Mon Aug 24 2015 Nikola Forró <nforro@redhat.com> - 2.7.2-2
c3e9a2
- rebuilt with latest libpipeline
c3e9a2
c3e9a2
* Mon Aug 24 2015 Nikola Forró <nforro@redhat.com> - 2.7.2-1
c3e9a2
- update to 2.7.2
c3e9a2
  resolves #1256177
c3e9a2
c3e9a2
* Tue Aug 04 2015 Nikola Forró <nforro@redhat.com> - 2.7.1-8
c3e9a2
- fix inaccurate description of "man -f"
c3e9a2
  resolves #1249377
c3e9a2
c3e9a2
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.1-7
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c3e9a2
c3e9a2
* Wed May 20 2015 jchaloup <jchaloup@redhat.com> - 2.7.1-6
c3e9a2
- Test for /run/systemd only if mandb.timer is actually installed
c3e9a2
  resolves: #1223244
c3e9a2
c3e9a2
* Tue May 12 2015 Colin Walters <walters@redhat.com> - 2.7.1-5
c3e9a2
- Test for /run/systemd to detect systemd state rather than invoking
c3e9a2
  rpm in % pre - it is not really supported by rpm.
c3e9a2
c3e9a2
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.7.1-4
c3e9a2
- Rebuilt for Fedora 23 Change
c3e9a2
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
c3e9a2
c3e9a2
* Fri Jan 02 2015 jchaloup <jchaloup@redhat.com> - 2.7.1-3
c3e9a2
- switching back to crontabs
c3e9a2
  resolves: #1177993
c3e9a2
  resolves: #1171450
c3e9a2
- rpm verify reports for /var/cache/man
c3e9a2
  resolves: #1173496
c3e9a2
c3e9a2
* Thu Nov 13 2014 jchaloup <jchaloup@redhat.com> - 2.7.1-2
c3e9a2
- src/man.c (do_extern): Pass the -l option through
c3e9a2
  resolves: #1161747
c3e9a2
c3e9a2
* Wed Nov 12 2014 jchaloup <jchaloup@redhat.com> - 2.7.1-1
c3e9a2
- update to 2.7.1
c3e9a2
  resolves: #1163167
c3e9a2
c3e9a2
* Wed Oct 15 2014 jchaloup <jchaloup@redhat.com> - 2.7.0.2-5
c3e9a2
- switch man and root in init/systemd/man-db.conf
c3e9a2
  related: #1151558
c3e9a2
c3e9a2
* Mon Oct 13 2014 jchaloup <jchaloup@redhat.com> - 2.7.0.2-4
c3e9a2
- preun missing condition on number of man-db packages installed
c3e9a2
  related: #1151558
c3e9a2
c3e9a2
* Sun Oct 12 2014 jchaloup <jchaloup@redhat.com> - 2.7.0.2-3
c3e9a2
- remove executable flag for *.service and *.timer file
c3e9a2
  resolves: #1151558
c3e9a2
c3e9a2
* Wed Oct 08 2014 jchaloup <jchaloup@redhat.com> - 2.7.0.2-2
c3e9a2
- replacing cron with systemd.timer
c3e9a2
  resolves: #1148559
c3e9a2
- adding zsoelim to {_libexecdir}/man-db/zsoelim
c3e9a2
  related: #1145493
c3e9a2
c3e9a2
* Wed Oct 08 2014 jchaloup <jchaloup@redhat.com> - 2.7.0.2-1
c3e9a2
- Update to 2.7.0.2
c3e9a2
  resolves: #1145493
c3e9a2
c3e9a2
* Thu Sep 18 2014 jchaloup <jchaloup@redhat.com> - 2.6.7.1-7
c3e9a2
- resolves: #1043401
c3e9a2
  Don't store canonicalised versions of manpath elements
c3e9a2
c3e9a2
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.7.1-6
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c3e9a2
c3e9a2
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 2.6.7.1-5
c3e9a2
- fix license handling
c3e9a2
c3e9a2
* Tue Jul 01 2014 jchaloup <jchaloup@redhat.com> - 2.6.7.1-4
c3e9a2
- related: #1110274
c3e9a2
  swapping root for man in man-db.conf
c3e9a2
c3e9a2
* Wed Jun 25 2014 jchaloup <jchaloup@redhat.com> - 2.6.7.1-3
c3e9a2
- resolves: #1110274
c3e9a2
  Add systemd tmpfiles snippet to clean up old cat files after (upstream patch)
c3e9a2
c3e9a2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.7.1-2
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c3e9a2
c3e9a2
* Thu Apr 17 2014 Peter Schiffer <pschiffe@redhat.com> - 2.6.7.1-1
c3e9a2
- resolves: #1087279
c3e9a2
  updated to 2.6.7.1
c3e9a2
c3e9a2
* Wed Feb 19 2014 Peter Schiffer <pschiffe@redhat.com> - 2.6.6-1
c3e9a2
- resolves: #1057495
c3e9a2
  updated to 2.6.6
c3e9a2
c3e9a2
* Wed Aug 07 2013 Pierre-Yves Chibon <pingou@pingoured.fr> - 2.6.5-3
c3e9a2
- Add a missing requirement on crontabs to spec file
c3e9a2
- Mark the cron job as config(noreplace)
c3e9a2
- Fix RHBZ#989077
c3e9a2
c3e9a2
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.5-2
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c3e9a2
c3e9a2
* Thu Jun 27 2013 Peter Schiffer <pschiffe@redhat.com> - 2.6.5-1
c3e9a2
- updated to 2.6.5
c3e9a2
c3e9a2
* Tue Jun 25 2013 Peter Schiffer <pschiffe@redhat.com> - 2.6.4-1
c3e9a2
- resolves: #977255
c3e9a2
  updated to 2.6.4
c3e9a2
c3e9a2
* Mon Apr  8 2013 Peter Schiffer <pschiffe@redhat.com> - 2.6.3-6
c3e9a2
- resolves: #948695
c3e9a2
  fixed double free
c3e9a2
- fixed certain man pages to match options with --help and --usage
c3e9a2
c3e9a2
* Thu Mar 21 2013 Peter Schiffer <pschiffe@redhat.com> - 2.6.3-5
c3e9a2
- temporarily disabled one unstable unit test
c3e9a2
c3e9a2
* Thu Mar 21 2013 Peter Schiffer <pschiffe@redhat.com> - 2.6.3-4
c3e9a2
- fixed some compiler warnings and memory leaks
c3e9a2
c3e9a2
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.3-3
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c3e9a2
c3e9a2
* Tue Oct 30 2012 Peter Schiffer <pschiffe@redhat.com> - 2.6.3-2
c3e9a2
- resolves: #870680
c3e9a2
  use less as the default pager
c3e9a2
c3e9a2
* Wed Oct 24 2012 Peter Schiffer <pschiffe@redhat.com> - 2.6.3-1
c3e9a2
- resolves: #858577
c3e9a2
  updated to 2.6.3
c3e9a2
- cleaned .spec file
c3e9a2
- resolves: #855632
c3e9a2
  fixed SIGABRT crash
c3e9a2
- adds support for man-pages-overrides
c3e9a2
c3e9a2
* Tue Jul 31 2012 Peter Schiffer <pschiffe@redhat.com> - 2.6.2-5
c3e9a2
- resolves: #841431
c3e9a2
  ignore cached man pages if they don't exist anymore
c3e9a2
c3e9a2
* Fri Jul 20 2012 Dan Horák <dan[at]danny.cz> - 2.6.2-4
c3e9a2
- fully patch the autotools files, fixes FTBFS due updated automake
c3e9a2
c3e9a2
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.2-3
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c3e9a2
c3e9a2
* Thu Jul 12 2012 Peter Schiffer <pschiffe@redhat.com> - 2.6.2-2
c3e9a2
- resolves: #829553
c3e9a2
  clear the old man cache on install or update
c3e9a2
c3e9a2
* Tue Jul 10 2012 Peter Schiffer <pschiffe@redhat.com> - 2.6.2-1
c3e9a2
- resolves: #833312
c3e9a2
  update to 2.6.2
c3e9a2
- resolves: #657409
c3e9a2
  fixed warning when invoking col by the mandb program in cron
c3e9a2
- resolves: #829935
c3e9a2
  enabled support for man pages compressed with lzip
c3e9a2
- resolves: #821778
c3e9a2
  added virtual provides for bundled gnulib library
c3e9a2
- resolves: #824825
c3e9a2
  apropos returns correct exit code for invalid man page
c3e9a2
c3e9a2
* Tue Apr 24 2012 Peter Schiffer <pschiffe@redhat.com> - 2.6.1-4
c3e9a2
- related: #693458
c3e9a2
  updated patch for .so links because previous one wasn't working very well
c3e9a2
c3e9a2
* Tue Apr 24 2012 Peter Schiffer <pschiffe@redhat.com> - 2.6.1-3
c3e9a2
- added autoconf, automake, libtool and gettext-devel to the build requires
c3e9a2
c3e9a2
* Tue Apr 24 2012 Peter Schiffer <pschiffe@redhat.com> - 2.6.1-2
c3e9a2
- resolves: #677669
c3e9a2
  added support for wildcards in path
c3e9a2
- resolves: #693458
c3e9a2
  fixed error with .so links
c3e9a2
c3e9a2
* Thu Apr 05 2012 Peter Schiffer <pschiffe@redhat.com> - 2.6.1-1
c3e9a2
- resolves: #790771
c3e9a2
  update to 2.6.1
c3e9a2
- resolves: #806086
c3e9a2
  removed hard-dependency on cron, update man db after install or update
c3e9a2
c3e9a2
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0.2-4
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c3e9a2
c3e9a2
* Wed Oct 05 2011 Peter Schiffer <pschiffe@redhat.com> - 2.6.0.2-3
c3e9a2
- resolves: #702904
c3e9a2
  fixed double free or corruption issue
c3e9a2
- resolves: #739207
c3e9a2
  require groff-base instead of groff
c3e9a2
- rebuilt for gdbm-1.9.1-1
c3e9a2
c3e9a2
* Sun May 29 2011 Ville Skyttä <ville.skytta@iki.fi> - 2.6.0.2-2
c3e9a2
- Own the %%{_libdir}/man-db dir.
c3e9a2
c3e9a2
* Thu Apr 21 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 2.6.0.2-1
c3e9a2
- update to 2.6.0.2
c3e9a2
- remove obsolete patches
c3e9a2
- add libpipe dependency
c3e9a2
c3e9a2
* Wed Mar 23 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 2.5.9-6
c3e9a2
- Build with zlib support.
c3e9a2
- Use elinks as default HTML browser.
c3e9a2
   thanks Ville Skyttä
c3e9a2
c3e9a2
* Wed Mar 23 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 2.5.9-5
c3e9a2
* Resolves: #684977
c3e9a2
  backport upstream patch
c3e9a2
c3e9a2
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.9-4
c3e9a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c3e9a2
c3e9a2
* Thu Jan 27 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 2.5.9-3
c3e9a2
- Resolves: #659292
c3e9a2
  use ionice in man cron job
c3e9a2
c3e9a2
* Wed Nov 24 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 2.5.9-2
c3e9a2
- Resolves: #655385 - use old format of nroff output
c3e9a2
c3e9a2
* Mon Nov 22 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 2.5.9-1
c3e9a2
- update to 2.5.9
c3e9a2
c3e9a2
* Fri Oct  1 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 2.5.7-8
c3e9a2
- add less buildrequire
c3e9a2
c3e9a2
* Wed Sep 29 2010 jkeating - 2.5.7-7
c3e9a2
- Rebuilt for gcc bug 634757
c3e9a2
c3e9a2
* Fri Sep 24 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 2.5.7-6
c3e9a2
- Resolves: #630506 (change the description)
c3e9a2
- minor spec file changes
c3e9a2
c3e9a2
* Mon Aug 30 2010 Dennis Gilmore <dennis@ausil.us> - 2.5.7-5
c3e9a2
- Provide Versioned man
c3e9a2
c3e9a2
* Mon Aug 16 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 2.5.7-4
c3e9a2
- remove obsolete conflict flag
c3e9a2
c3e9a2
* Mon Aug 16 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 2.5.7-3
c3e9a2
- provides man tag
c3e9a2
- resolves: #621688
c3e9a2
  remove problematic man-pages (now in man-pages-de package)
c3e9a2
c3e9a2
* Fri Apr 16 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 2.5.7-2
c3e9a2
- add conflicts tag
c3e9a2
c3e9a2
* Wed Feb 17 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 2.5.7-1
c3e9a2
- initial build