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:
parent
55ba833a77
commit
e8b92e8764
11
.gitignore
vendored
11
.gitignore
vendored
@ -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
|
||||
|
@ -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]
|
||||
|
27
rpcbind.spec
27
rpcbind.spec
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user