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
|
Name: secilc
|
||||||
Version: 2.5
|
Version: 2.5
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
|
@ -7,7 +11,10 @@ License: BSD
|
||||||
URL: https://github.com/SELinuxProject/selinux/wiki
|
URL: https://github.com/SELinuxProject/selinux/wiki
|
||||||
Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/secilc-2.5.tar.gz
|
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
|
%description
|
||||||
The SELinux CIL Compiler is a compiler that converts the CIL language as
|
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/
|
http://github.com/SELinuxProject/cil/wiki/
|
||||||
for more information about the goals and features on the CIL language.
|
for more information about the goals and features on the CIL language.
|
||||||
|
|
||||||
|
%if 0%{?with_doc}
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for the SELinux CIL Compiler
|
Summary: Documentation for the SELinux CIL Compiler
|
||||||
BuildArch: noarch
|
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:
|
Please see the CIL Design Wiki at:
|
||||||
http://github.com/SELinuxProject/cil/wiki/
|
http://github.com/SELinuxProject/cil/wiki/
|
||||||
for more information about the goals and features on the CIL language.
|
for more information about the goals and features on the CIL language.
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n secilc-2.5
|
%setup -q -n secilc-2.5
|
||||||
|
@ -33,9 +42,11 @@ for more information about the goals and features on the CIL language.
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} CFLAGS="%{optflags}" LIBSEPOL_STATIC=%{_libdir}/libsepol.a
|
make %{?_smp_mflags} CFLAGS="%{optflags}" LIBSEPOL_STATIC=%{_libdir}/libsepol.a
|
||||||
|
%if 0%{?with_doc}
|
||||||
pushd docs
|
pushd docs
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
popd
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
@ -48,10 +59,12 @@ make %{?_smp_mflags} DESTDIR="%{buildroot}" SBINDIR="%{buildroot}%{_sbindir}" LI
|
||||||
%{_mandir}/man8/secilc.8.gz
|
%{_mandir}/man8/secilc.8.gz
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
|
||||||
|
%if 0%{?with_doc}
|
||||||
%files doc
|
%files doc
|
||||||
%doc docs/html
|
%doc docs/html
|
||||||
%doc docs/pdf
|
%doc docs/pdf
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Feb 23 2016 Petr Lautrbach <plautrba@redhat.com> 2.5-1
|
* Tue Feb 23 2016 Petr Lautrbach <plautrba@redhat.com> 2.5-1
|
||||||
|
|
Loading…
Reference in New Issue