Skip to content
Snippets Groups Projects
Commit e1a464d2 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

Merge branch 'rpm-fix' into 'master'

rpm: fix for SUSE build and %BASE_VERSION macro

See merge request !1267
parents 097324fd 436ae675
No related branches found
No related tags found
1 merge request!1267rpm: fix for SUSE build and %BASE_VERSION macro
Pipeline #77915 passed
......@@ -3,7 +3,7 @@
%define GPG_CHECK 0
%define VERSION __VERSION__
%define BASE_VERSION %(echo %{version} | sed 's/^\([^.]\+\.[^.]\+\).*/\1/')
%define BASE_VERSION %(echo "%{version}" | sed 's/^\\([^.]\\+\\.[^.]\\+\\).*/\\1/')
%define repodir %{_builddir}/%{name}-%{version}
Summary: High-performance authoritative DNS server
......@@ -239,6 +239,8 @@ systemd-tmpfiles --create %{_tmpfilesdir}/knot.conf &>/dev/null || :
%attr(770,root,knot) %dir %{_sysconfdir}/knot
%config(noreplace) %attr(640,root,knot) %{_sysconfdir}/knot/knot.conf
%attr(770,root,knot) %dir %{_sharedstatedir}/knot
%dir %{_libdir}/knot
%dir %{_libdir}/knot/modules-*
%{_unitdir}/knot.service
%{_tmpfilesdir}/knot.conf
%{_bindir}/kzonecheck
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment