diff --git a/tpm2.0-tools.changes b/tpm2.0-tools.changes index da0a44c..0a92861 100644 --- a/tpm2.0-tools.changes +++ b/tpm2.0-tools.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Mar 7 14:29:10 UTC 2018 - matthias.gerstner@suse.com + +- disable pandoc/man pages generation on SLE-15, because pandoc is not + available there (and adding it would require two dozen additional haskell + packages) + ------------------------------------------------------------------- Thu Feb 22 11:08:19 UTC 2018 - matthias.gerstner@suse.com diff --git a/tpm2.0-tools.spec b/tpm2.0-tools.spec index 56ce3ae..afeb89e 100644 --- a/tpm2.0-tools.spec +++ b/tpm2.0-tools.spec @@ -31,7 +31,9 @@ BuildRequires: gcc-c++ BuildRequires: libcurl-devel BuildRequires: libopenssl-devel BuildRequires: libtool +%if 0%{?sle_version} != 150000 BuildRequires: pandoc +%endif BuildRequires: pkgconfig BuildRequires: tpm2-0-tss-devel BuildRequires: tpm2.0-abrmd-devel @@ -65,6 +67,8 @@ find %{buildroot} -type f -name "*.la" -delete -print %defattr(-,root,root) %doc README.md LICENSE CHANGELOG.md /usr/bin/tpm2_* +%if 0%{?sle_version} != 150000 %{_mandir}/man1/tpm2_* +%endif %changelog