aboutsummaryrefslogtreecommitdiffstats
path: root/blogc.spec.in
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2019-09-09 23:36:37 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2019-09-09 23:36:37 +0200
commitf53486a35ae09a75c52d274100fee4ca5cef391e (patch)
treed952c1716203bbe33070cbee96eb3fbf78180f95 /blogc.spec.in
parentd623dfbfc4bfff6958facd49b79fdf32ab48b21e (diff)
downloadblogc-f53486a35ae09a75c52d274100fee4ca5cef391e.tar.gz
blogc-f53486a35ae09a75c52d274100fee4ca5cef391e.tar.bz2
blogc-f53486a35ae09a75c52d274100fee4ca5cef391e.zip
build: cmocka is not available for rhel8 right now
Diffstat (limited to 'blogc.spec.in')
-rw-r--r--blogc.spec.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/blogc.spec.in b/blogc.spec.in
index 79dbd56..8a8b2dd 100644
--- a/blogc.spec.in
+++ b/blogc.spec.in
@@ -6,10 +6,13 @@ Group: Applications/Text
Summary: A blog compiler
URL: @PACKAGE_URL@
Source0: https://github.com/blogc/blogc/releases/download/v@PACKAGE_VERSION@/blogc-@PACKAGE_VERSION@.tar.xz
-BuildRequires: gcc, libcmocka-devel, bash, coreutils, diffutils
+BuildRequires: gcc, bash, coreutils, diffutils
%if ! 0%{?el6}
BuildRequires: git, tar, make
%endif
+%if ! 0%{?el8}
+BuildRequires: libcmocka-devel
+%endif
%description
blogc(1) is a blog compiler. It compiles source files and templates into