Fix creating /var/lib/znc directory

This commit is contained in:
Petr Písař 2017-06-12 17:15:26 +02:00
parent 07b978f9e6
commit f7febf29eb
1 changed files with 5 additions and 1 deletions

View File

@ -13,7 +13,7 @@
Name: znc
Version: 1.6.5
Release: 2%{?dist}
Release: 3%{?dist}
Summary: An advanced IRC bouncer
Group: System Environment/Daemons
@ -142,6 +142,7 @@ chmod -x modules/q.cpp
%__make install DESTDIR="%{buildroot}"
mkdir -p %buildroot%{_unitdir}
#install -m 0644 %{SOURCE1} %buildroot%{_unitdir}/znc.service
install -d "%{buildroot}%{_sharedstatedir}/znc"
%if 0%{?rhel} && 0%{?rhel} <= 5
@ -254,6 +255,9 @@ getent passwd znc >/dev/null || \
%changelog
* Mon Jun 12 2017 Petr Pisar <ppisar@redhat.com> - 1.6.5-3
- Fix creating /var/lib/znc directory (bug #1402472)
* Tue Mar 14 2017 Nick Bebout <nb@fedoraproject.org> - 1.6.5-2
- Apply patch from tibbs to change how /var/lib/znc is created