Fix creating /var/lib/znc directory

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

View File

@ -13,7 +13,7 @@
Name: znc
Version: 1.6.5
Release: 3%{?dist}
Release: 4%{?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-4
- Fix creating /var/lib/znc directory (bug #1402472)
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild