Fix packaging of tmpfiles, Fix bogus dates in the changelog
This commit is contained in:
parent
0dc96e84ef
commit
04f6019cdd
19
mrtg.spec
19
mrtg.spec
@ -6,7 +6,7 @@
|
|||||||
Summary: Multi Router Traffic Grapher
|
Summary: Multi Router Traffic Grapher
|
||||||
Name: mrtg
|
Name: mrtg
|
||||||
Version: 2.17.4
|
Version: 2.17.4
|
||||||
Release: 14%{?dist}
|
Release: 15%{?dist}
|
||||||
URL: http://oss.oetiker.ch/mrtg/
|
URL: http://oss.oetiker.ch/mrtg/
|
||||||
Source0: http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz
|
Source0: http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz
|
||||||
Source1: http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz.md5
|
Source1: http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz.md5
|
||||||
@ -87,9 +87,8 @@ chmod 644 $RPM_BUILD_ROOT%{_sysconfdir}/mrtg/mrtg.cfg
|
|||||||
|
|
||||||
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/mrtg.conf
|
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/mrtg.conf
|
||||||
|
|
||||||
%if %{?fedora}0 > 140 || %{?rhel}0 > 60
|
mkdir -p $RPM_BUILD_ROOT/%{_tmpfilesdir}
|
||||||
install -p -D -m 644 %{SOURCE7} $RPM_BUILD_ROOT/%{_sysconfdir}/tmpfiles.d/mrtg.conf
|
install -p -D -m 644 %{SOURCE7} $RPM_BUILD_ROOT/%{_tmpfilesdir}/mrtg.conf
|
||||||
%endif
|
|
||||||
|
|
||||||
# install systemd files
|
# install systemd files
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
||||||
@ -131,14 +130,16 @@ fi
|
|||||||
%exclude %{_datadir}/mrtg2/icons
|
%exclude %{_datadir}/mrtg2/icons
|
||||||
%exclude %{_datadir}/doc/mrtg2
|
%exclude %{_datadir}/doc/mrtg2
|
||||||
%dir %{_localstatedir}/lib/mrtg
|
%dir %{_localstatedir}/lib/mrtg
|
||||||
%if %{?fedora}0 > 140 || %{?rhel}0 > 60
|
%{_tmpfilesdir}/mrtg.conf
|
||||||
%config(noreplace) %{_sysconfdir}/tmpfiles.d/mrtg.conf
|
|
||||||
%endif
|
|
||||||
%ghost /var/lock/mrtg
|
%ghost /var/lock/mrtg
|
||||||
%{_unitdir}/mrtg.service
|
%{_unitdir}/mrtg.service
|
||||||
%{_unitdir}/mrtg.timer
|
%{_unitdir}/mrtg.timer
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 19 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.4-15
|
||||||
|
- Fix packaging of tmpfiles
|
||||||
|
- Fix bogus dates in the changelog
|
||||||
|
|
||||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17.4-14
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17.4-14
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
@ -452,7 +453,7 @@ fi
|
|||||||
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
||||||
- automated rebuild
|
- automated rebuild
|
||||||
|
|
||||||
* Wed Nov 1 2001 Nalin Dahyabhai <nalin@redhat.com> 2.9.17-1
|
* Thu Nov 1 2001 Nalin Dahyabhai <nalin@redhat.com> 2.9.17-1
|
||||||
- update to 2.9.17
|
- update to 2.9.17
|
||||||
- use FHS macros
|
- use FHS macros
|
||||||
- install the .gif files as well
|
- install the .gif files as well
|
||||||
@ -557,7 +558,7 @@ fi
|
|||||||
[2.5.4c-3]
|
[2.5.4c-3]
|
||||||
- Added mrtg-squid to monitor squid (specific OIDS)
|
- Added mrtg-squid to monitor squid (specific OIDS)
|
||||||
|
|
||||||
* Fri Jan 28 1999 Henri Gomez <gomez@slib.fr>
|
* Thu Jan 28 1999 Henri Gomez <gomez@slib.fr>
|
||||||
[2.5.4c-2]
|
[2.5.4c-2]
|
||||||
- applied squid snmp patch
|
- applied squid snmp patch
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user