New upstream release

This commit is contained in:
Nathaniel McCallum 2017-06-14 01:37:40 -04:00
parent e87e24e6e5
commit f837582d26
3 changed files with 17 additions and 7 deletions

3
.gitignore vendored
View File

@ -1,2 +1 @@
/tang-3.tar.bz2
/tang-4.tar.bz2
/tang-5.tar.bz2

View File

@ -1,2 +1 @@
9ae4a6f51af3a147ddd9d2f8d3f2bd15 tang-3.tar.bz2
ae1bff851d4da6ad972fea33e3981bb6 tang-4.tar.bz2
SHA512 (tang-5.tar.bz2) = a13b8746b7e68ec08789b2bd38da90689a5907ca1057768398021556e7c6688ed3c256860386f7b94661b51e3371653d16153da818e4bce295de540929557fe7

View File

@ -1,6 +1,6 @@
Name: tang
Version: 4
Release: 3%{?dist}
Version: 5
Release: 1%{?dist}
Summary: Network Presence Binding Daemon
License: GPLv3+
@ -61,7 +61,6 @@ echo "User=%{name}" >> $RPM_BUILD_ROOT/%{_unitdir}/%{name}d@.service
%{__mkdir_p} $RPM_BUILD_ROOT/%{_localstatedir}/db/%{name}
%check
%{__sed} -i 's|\./tang -u|sleep 0.5; ./tang -u|' ./test-nagios
if ! make %{?_smp_mflags} check; then
cat test-suite.log
false
@ -77,31 +76,44 @@ exit 0
%post
%systemd_post %{name}d.socket
%systemd_post %{name}d-update.path
%systemd_post %{name}d-update.service
%systemd_post %{name}d-keygen.service
%preun
%systemd_preun %{name}d.socket
%systemd_preun %{name}d-update.path
%systemd_preun %{name}d-update.service
%systemd_preun %{name}d-keygen.service
%postun
%systemd_postun_with_restart %{name}d.socket
%systemd_postun_with_restart %{name}d-update.path
%systemd_postun_with_restart %{name}d-update.service
%systemd_postun_with_restart %{name}d-keygen.service
%files
%license COPYING
%attr(0750, %{name}, %{name}) %{_localstatedir}/cache/%{name}
%attr(2570, %{name}, %{name}) %{_localstatedir}/db/%{name}
%{_unitdir}/%{name}d-keygen.service
%{_unitdir}/%{name}d-update.service
%{_unitdir}/%{name}d-update.path
%{_unitdir}/%{name}d@.service
%{_unitdir}/%{name}d.socket
%{_libexecdir}/%{name}d-keygen
%{_libexecdir}/%{name}d-update
%{_libexecdir}/%{name}d
%{_mandir}/man8/tang.8*
%files nagios
%license COPYING
%{_libdir}/nagios/plugins/%{name}
%{_mandir}/man1/tang-nagios.1*
%changelog
* Wed Jun 14 2017 Nathaniel McCallum <npmccallum@redhat.com> - 5-1
- New upstream release
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild