1
0
forked from rpms/rpcbind

Update to the latest upstream release: 0.2.4

Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
Steve Dickson 2016-11-30 11:07:23 -05:00
parent 55ba833a77
commit e8b92e8764
4 changed files with 19 additions and 23 deletions

11
.gitignore vendored
View File

@ -1,9 +1,2 @@
rpcbind-0.2.0.tar.bz2
*.rpm
/rpcbind-0.2.1.tar.bz2
rpcbind-0.2.0
rpcbind-0.2.1
/rpcbind-0.2.2.tar.bz2
rpcbind-0.2.2
/rpcbind-0.2.3.tar.bz2
rpcbind-0.2.3
rpcbind-0.2.4
/rpcbind-0.2.4.tar.bz2

View File

@ -7,6 +7,6 @@ diff -up rpcbind-0.2.3/systemd/rpcbind.service.in.orig rpcbind-0.2.3/systemd/rpc
Type=notify
-# distro can provide a drop-in adding EnvironmentFile=-/??? if needed.
+EnvironmentFile=/etc/sysconfig/rpcbind
ExecStart=@_sbindir@/rpcbind $RPCBIND_OPTIONS -w -f
ExecStart=@_bindir@/rpcbind $RPCBIND_OPTIONS -w -f
[Install]

View File

@ -1,6 +1,6 @@
Name: rpcbind
Version: 0.2.3
Release: 13.rc2%{?dist}
Version: 0.2.4
Release: 0%{?dist}
Summary: Universal Addresses to RPC Program Number Mapper
Group: System Environment/Daemons
License: BSD
@ -19,9 +19,6 @@ Requires(post): chkconfig systemd
Requires(preun): systemd
Requires(postun): systemd coreutils
Patch001: rpcbind-0.2.4-rc2.patch
Patch002: rpcbind-0.2.3-create-statdir.patch
Patch100: rpcbind-0.2.3-systemd-envfile.patch
Patch101: rpcbind-0.2.3-systemd-tmpfiles.patch
@ -36,9 +33,6 @@ RPC calls on a server on that machine.
%prep
%setup -q
%patch001 -p1
%patch002 -p1
%patch100 -p1
%patch101 -p1
%build
@ -66,16 +60,20 @@ make all
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}{/sbin,/usr/sbin,/etc/sysconfig}
mkdir -p %{buildroot}{%{_sbindir},%{_bindir},/etc/sysconfig}
mkdir -p %{buildroot}%{_unitdir}
mkdir -p %{buildroot}%{_tmpfilesdir}
mkdir -p %{buildroot}%{_mandir}/man8
make DESTDIR=$RPM_BUILD_ROOT install
mv -f ${RPM_BUILD_ROOT}%{_bindir}/rpcbind ${RPM_BUILD_ROOT}/sbin
mv -f ${RPM_BUILD_ROOT}%{_bindir}/rpcinfo ${RPM_BUILD_ROOT}%{_sbindir}
install -m644 %{SOURCE1} %{buildroot}/etc/sysconfig/rpcbind
# The binaries now live in /usr/bin, moving from /usr/sbin
# For compatibility create a couple symlinks.
cd ${RPM_BUILD_ROOT}%{_sbindir}
ln -sf ../bin/rpcbind
ln -sf ../bin/rpcinfo
%clean
rm -rf %{buildroot}
@ -120,7 +118,9 @@ fi
%defattr(-,root,root)
%config(noreplace) /etc/sysconfig/rpcbind
%doc AUTHORS ChangeLog README
/sbin/rpcbind
%{_bindir}/rpcbind
%{_bindir}/rpcinfo
%{_sbindir}/rpcbind
%{_sbindir}/rpcinfo
%{_mandir}/man8/*
%{_unitdir}/%{name}.service
@ -128,6 +128,9 @@ fi
%{_tmpfilesdir}/%{name}.conf
%changelog
* Wed Nov 30 2016 Steve Dickson <steved@redhat.com> - 0.2.4-0
- Update to the latest upstream release: 0.2.4
* Sat Nov 19 2016 Steve Dickson <steved@redhat.com> - 0.2.3-13.rc2
- Create the statedir under /run/rpcbind by systemd-tmpfiles.

View File

@ -1 +1 @@
c8875246b2688a1adfbd6ad43480278d rpcbind-0.2.3.tar.bz2
cf10cd41ed8228fc54c316191c1f07fe rpcbind-0.2.4.tar.bz2