- provides man tag

- resolves: #621688
  remove problematic man-pages (now in man-pages-de package)
This commit is contained in:
Ivana Hutarova Varekova 2010-08-30 12:46:40 +02:00
parent 59abc9b0d5
commit cb0695a119

View File

@ -3,7 +3,7 @@
Summary: Database cached manual pager suite
Name: man-db
Version: 2.5.7
Release: 2%{?dist}
Release: 3%{?dist}
# project man-db GPLv2+
# Gnulib part GPLv3+
License: GPLv2+ and GPLv3+
@ -16,6 +16,7 @@ Source2: man-db.sysconfig
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Obsoletes: man < 2.0
Provides: man-pages-reader
Provides: man
Conflicts: man
Requires: less, coreutils, grep, groff, gzip, crontabs
BuildRequires: gdbm-devel, groff, gettext
@ -51,6 +52,13 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/man-db/* ./
rm $RPM_BUILD_ROOT%{_bindir}/zsoelim
rm $RPM_BUILD_ROOT%{_datadir}/man/man1/zsoelim.1
# remove pages which are also in man-pages-de
rm $RPM_BUILD_ROOT%{_mandir}/de/man1/zsoelim.1
rm $RPM_BUILD_ROOT%{_mandir}/de/man1/manpath.1
rm $RPM_BUILD_ROOT%{_mandir}/de/man5/manpath.5
rm $RPM_BUILD_ROOT%{_mandir}/de/man8/catman.8
rm $RPM_BUILD_ROOT%{_mandir}/de/man8/mandb.8
# install cache directory
install -d -m 0755 $RPM_BUILD_ROOT%{cache}
@ -104,6 +112,11 @@ rm -rf $RPM_BUILD_ROOT
%lang(ja) %{_datadir}/man/ja/man*/*
%changelog
* Mon Aug 16 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 2.5.7-3
- provides man tag
- resolves: #621688
remove problematic man-pages (now in man-pages-de package)
* Fri Apr 16 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 2.5.7-2
- add conflicts tag