Fix creating /var/lib/znc directory

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

View File

@ -13,7 +13,7 @@
Name: znc
Version: 1.6.5
Release: 4%{?dist}
Release: 5%{?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-5
- Fix creating /var/lib/znc directory (bug #1402472)
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.6.5-4
- Perl 5.26 rebuild