Temporary disable -doc package until pandoc is fixed in Rawhide
Workaround for: Error: nothing provides libHShaddock-library-1.1.1-ghc7.8.4.so()(64bit) needed by pandoc-1.13.2-5.fc24.x86_64
This commit is contained in:
parent
334aadc730
commit
202052e184
15
secilc.spec
15
secilc.spec
|
@ -1,3 +1,7 @@
|
|||
# temporary disable -doc package until pandoc is fixed in Rawhide:
|
||||
# Error: nothing provides libHShaddock-library-1.1.1-ghc7.8.4.so()(64bit) needed by pandoc-1.13.2-5.fc24.x86_64
|
||||
%global with_doc 0
|
||||
|
||||
Name: secilc
|
||||
Version: 2.5
|
||||
Release: 1%{?dist}
|
||||
|
@ -7,7 +11,10 @@ License: BSD
|
|||
URL: https://github.com/SELinuxProject/selinux/wiki
|
||||
Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/secilc-2.5.tar.gz
|
||||
|
||||
BuildRequires: libsepol-static >= 2.5, dblatex, flex, xmlto, pandoc
|
||||
BuildRequires: libsepol-static >= 2.5, xmlto
|
||||
%if 0%{?with_doc}
|
||||
BuildRequires: dblatex, flex, pandoc
|
||||
%endif
|
||||
|
||||
%description
|
||||
The SELinux CIL Compiler is a compiler that converts the CIL language as
|
||||
|
@ -16,6 +23,7 @@ Please see the CIL Design Wiki at:
|
|||
http://github.com/SELinuxProject/cil/wiki/
|
||||
for more information about the goals and features on the CIL language.
|
||||
|
||||
%if 0%{?with_doc}
|
||||
%package doc
|
||||
Summary: Documentation for the SELinux CIL Compiler
|
||||
BuildArch: noarch
|
||||
|
@ -26,6 +34,7 @@ described on the CIL design wiki into a kernel binary policy file.
|
|||
Please see the CIL Design Wiki at:
|
||||
http://github.com/SELinuxProject/cil/wiki/
|
||||
for more information about the goals and features on the CIL language.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n secilc-2.5
|
||||
|
@ -33,9 +42,11 @@ for more information about the goals and features on the CIL language.
|
|||
|
||||
%build
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags}" LIBSEPOL_STATIC=%{_libdir}/libsepol.a
|
||||
%if 0%{?with_doc}
|
||||
pushd docs
|
||||
make %{?_smp_mflags}
|
||||
popd
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
|
@ -48,10 +59,12 @@ make %{?_smp_mflags} DESTDIR="%{buildroot}" SBINDIR="%{buildroot}%{_sbindir}" LI
|
|||
%{_mandir}/man8/secilc.8.gz
|
||||
%license COPYING
|
||||
|
||||
%if 0%{?with_doc}
|
||||
%files doc
|
||||
%doc docs/html
|
||||
%doc docs/pdf
|
||||
%license COPYING
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Feb 23 2016 Petr Lautrbach <plautrba@redhat.com> 2.5-1
|
||||
|
|
Loading…
Reference in New Issue