Remove a useless dependency on man-db from libtirpc-devel package

This commit is contained in:
Petr Písař 2019-11-01 08:24:52 +01:00
parent 8b29e8d563
commit 04d548d4c9

View File

@ -2,7 +2,7 @@
Name: libtirpc
Version: 1.1.4
Release: 2.rc3%{?dist}
Release: 3.rc3%{?dist}
Summary: Transport Independent RPC Library
License: SISSL and BSD
URL: http://git.linux-nfs.org/?p=steved/libtirpc.git;a=summary
@ -28,7 +28,7 @@ by almost 70 vendors on all major operating systems. TS-RPC source code
%package devel
Summary: Development files for the libtirpc library
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig man-db
Requires: pkgconfig
%description devel
This package includes header files and libraries necessary for
@ -60,16 +60,6 @@ rm -f %{buildroot}%{_root_libdir}/*.{a,la}
# Creat the man diretory
mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t
%post devel
# Register the new man section
#if [ "$1" -eq 1 ]; then
# makewhatis -s 3t
#fi
%postun devel
# Remove the existance of the man section
#makewhatis -s 3t
%files
%doc AUTHORS ChangeLog NEWS README
@ -122,6 +112,10 @@ mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t
%{_mandir}/*/*
%changelog
* Fri Nov 01 2019 Petr Pisar <ppisar@redhat.com> - 1.1.4-3.rc3
- Remove a useless dependency on man-db from libtirpc-devel package
(bug #1496422)
* Thu Sep 05 2019 Steve Dickson <steved@redhat.com> 1.0.4-2.rc3
- Updated to latest upstream RC release: libtirpc-1-1-5-rc3