- disable pandoc for all but openSUSE, since pandoc never was on SLE

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-tools?expand=0&rev=35
This commit is contained in:
Matthias Gerstner 2018-03-07 15:44:46 +00:00 committed by Git OBS Bridge
parent 190967a254
commit b936ba61f5
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 7 15:44:14 UTC 2018 - matthias.gerstner@suse.com
- disable pandoc for all but openSUSE, since pandoc never was on SLE
-------------------------------------------------------------------
Wed Mar 7 14:29:10 UTC 2018 - matthias.gerstner@suse.com

View File

@ -31,7 +31,7 @@ BuildRequires: gcc-c++
BuildRequires: libcurl-devel
BuildRequires: libopenssl-devel
BuildRequires: libtool
%if 0%{?sle_version} != 150000
%if 0%{?is_opensuse}
BuildRequires: pandoc
%endif
BuildRequires: pkgconfig
@ -67,7 +67,7 @@ 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
%if 0%{?is_opensuse}
%{_mandir}/man1/tpm2_*
%endif