1
0
forked from rpms/rpcbind

Add setup to Requires(pre)

This commit is contained in:
Yuriy Kohut 2025-01-10 14:06:00 +02:00
parent 5a0d849e35
commit 079d7988b4

View File

@ -4,7 +4,7 @@
Name: rpcbind
Version: 1.2.7
Release: 3%{?dist}
Release: 3%{?dist}.alma.1
Summary: Universal Addresses to RPC Program Number Mapper
License: BSD-3-Clause
URL: http://nfsv4.bullopensource.org
@ -17,7 +17,7 @@ Conflicts: man-pages < 2.43-12
BuildRequires: make
BuildRequires: automake, autoconf, libtool, systemd, systemd-devel
BuildRequires: libtirpc-devel, quota-devel
Requires(pre): coreutils shadow-utils
Requires(pre): coreutils shadow-utils setup
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd coreutils
@ -62,7 +62,7 @@ make DESTDIR=$RPM_BUILD_ROOT install
install -m644 %{SOURCE1} %{buildroot}/etc/sysconfig/rpcbind
# The binaries now live in /usr/bin, moving from /usr/sbin
# For compatibility create a couple symlinks.
# For compatibility create a couple symlinks.
cd ${RPM_BUILD_ROOT}%{_sbindir}
ln -sf ../bin/rpcbind
ln -sf ../bin/rpcinfo
@ -113,6 +113,9 @@ fi
%attr(0700, %{rpcbind_user_group}, %{rpcbind_user_group}) %dir %{rpcbind_state_dir}
%changelog
* Fri Jan 10 2025 Yuriy Kohut <ykohut@almalinux.org> - 1.2.7-3.alma.1
- Add setup to Requires(pre)
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.2.7-3
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
@ -299,7 +302,7 @@ fi
* Tue Apr 28 2015 Steve Dickson <steved@redhat.com> - 0.2.3-0.0
- Updated to latest upstream release: 0.2.3
- Change RPCBDIR to be /tmp since that will exist after a
- Change RPCBDIR to be /tmp since that will exist after a
reboot and bindings wil be perserved during upgrades
but not reboots.
@ -452,7 +455,7 @@ fi
- Fixed SYNOPSIS section in the rpcinfo man page (bz 453729)
* Fri Jun 27 2008 Steve Dickson <steved@redhat.com> 0.1.5-4
- Removed the documentation about the non-existent
- Removed the documentation about the non-existent
'-L' flag (bz 446915)
* Fri Jun 27 2008 Steve Dickson <steved@redhat.com> 0.1.5-3
@ -479,12 +482,12 @@ fi
address (bz 358621).
* Wed Oct 17 2007 Steve Dickson <steved@redhat.com> 0.1.4-11
- Reworked logic in initscript so the correct exit is
- Reworked logic in initscript so the correct exit is
used when networking does not exist or is set up
incorrectly.
* Tue Oct 16 2007 Steve Dickson <steved@redhat.com> 0.1.4-10
- Corrected a typo in the initscript from previous
- Corrected a typo in the initscript from previous
commit.
* Mon Oct 15 2007 Steve Dickson <steved@redhat.com> 0.1.4-9
@ -506,11 +509,11 @@ fi
* Wed Apr 18 2007 Steve Dickson <steved@redhat.com> 0.1.4-5
- Added dependency on setup which contains the correct
rpcbind /etc/service entry which in turns stops
rpcbind /etc/service entry which in turns stops
rpcbind from haning when NIS is enabled. (bz 236865)
* Wed Apr 11 2007 Jeremy Katz <katzj@redhat.com> - 0.1.4-4
- change man-pages requires into a conflicts as we don't have to have
- change man-pages requires into a conflicts as we don't have to have
man-pages installed, but if we do, we need the newer version
* Fri Apr 6 2007 Steve Dickson <steved@redhat.com> 0.1.4-3
@ -519,7 +522,7 @@ fi
* Tue Apr 3 2007 Steve Dickson <steved@redhat.com> 0.1.4-2
- Added dependency on glibc-common which allows the
rpcinfo command to be installed in the correct place.
- Added dependency on man-pages so the rpcinfo man
- Added dependency on man-pages so the rpcinfo man
pages don't conflict.
- Added the creation of /var/lib/rpcbind which will be
used to store state files.