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
|
rpcbind-0.2.4
|
||||||
*.rpm
|
/rpcbind-0.2.4.tar.bz2
|
||||||
/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
|
|
||||||
|
@ -7,6 +7,6 @@ diff -up rpcbind-0.2.3/systemd/rpcbind.service.in.orig rpcbind-0.2.3/systemd/rpc
|
|||||||
Type=notify
|
Type=notify
|
||||||
-# distro can provide a drop-in adding EnvironmentFile=-/??? if needed.
|
-# distro can provide a drop-in adding EnvironmentFile=-/??? if needed.
|
||||||
+EnvironmentFile=/etc/sysconfig/rpcbind
|
+EnvironmentFile=/etc/sysconfig/rpcbind
|
||||||
ExecStart=@_sbindir@/rpcbind $RPCBIND_OPTIONS -w -f
|
ExecStart=@_bindir@/rpcbind $RPCBIND_OPTIONS -w -f
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
27
rpcbind.spec
27
rpcbind.spec
@ -1,6 +1,6 @@
|
|||||||
Name: rpcbind
|
Name: rpcbind
|
||||||
Version: 0.2.3
|
Version: 0.2.4
|
||||||
Release: 13.rc2%{?dist}
|
Release: 0%{?dist}
|
||||||
Summary: Universal Addresses to RPC Program Number Mapper
|
Summary: Universal Addresses to RPC Program Number Mapper
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -19,9 +19,6 @@ Requires(post): chkconfig systemd
|
|||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
Requires(postun): systemd coreutils
|
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
|
Patch100: rpcbind-0.2.3-systemd-envfile.patch
|
||||||
Patch101: rpcbind-0.2.3-systemd-tmpfiles.patch
|
Patch101: rpcbind-0.2.3-systemd-tmpfiles.patch
|
||||||
|
|
||||||
@ -36,9 +33,6 @@ RPC calls on a server on that machine.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%patch001 -p1
|
|
||||||
%patch002 -p1
|
|
||||||
|
|
||||||
%patch100 -p1
|
%patch100 -p1
|
||||||
%patch101 -p1
|
%patch101 -p1
|
||||||
%build
|
%build
|
||||||
@ -66,16 +60,20 @@ make all
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
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}%{_unitdir}
|
||||||
mkdir -p %{buildroot}%{_tmpfilesdir}
|
mkdir -p %{buildroot}%{_tmpfilesdir}
|
||||||
mkdir -p %{buildroot}%{_mandir}/man8
|
mkdir -p %{buildroot}%{_mandir}/man8
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
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
|
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
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -120,7 +118,9 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%config(noreplace) /etc/sysconfig/rpcbind
|
%config(noreplace) /etc/sysconfig/rpcbind
|
||||||
%doc AUTHORS ChangeLog README
|
%doc AUTHORS ChangeLog README
|
||||||
/sbin/rpcbind
|
%{_bindir}/rpcbind
|
||||||
|
%{_bindir}/rpcinfo
|
||||||
|
%{_sbindir}/rpcbind
|
||||||
%{_sbindir}/rpcinfo
|
%{_sbindir}/rpcinfo
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
%{_unitdir}/%{name}.service
|
%{_unitdir}/%{name}.service
|
||||||
@ -128,6 +128,9 @@ fi
|
|||||||
%{_tmpfilesdir}/%{name}.conf
|
%{_tmpfilesdir}/%{name}.conf
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Nov 19 2016 Steve Dickson <steved@redhat.com> - 0.2.3-13.rc2
|
||||||
- Create the statedir under /run/rpcbind by systemd-tmpfiles.
|
- Create the statedir under /run/rpcbind by systemd-tmpfiles.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user