Skip to content
Snippets Groups Projects
Commit e0a0c56e authored by Jakub Ružička's avatar Jakub Ružička
Browse files

distro/rpm: properly escape %BASE_VERSION

rpm %() macro requires double escaping
parent 097324fd
No related branches found
No related tags found
1 merge request!1267rpm: fix for SUSE build and %BASE_VERSION macro
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
%define GPG_CHECK 0 %define GPG_CHECK 0
%define VERSION __VERSION__ %define VERSION __VERSION__
%define BASE_VERSION %(echo %{version} | sed 's/^\([^.]\+\.[^.]\+\).*/\1/') %define BASE_VERSION %(echo "%{version}" | sed 's/^\\([^.]\\+\\.[^.]\\+\\).*/\\1/')
%define repodir %{_builddir}/%{name}-%{version} %define repodir %{_builddir}/%{name}-%{version}
Summary: High-performance authoritative DNS server Summary: High-performance authoritative DNS server
......
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