forked from pool/fwupd
Accepting request 1070738 from home:dimstar:Factory
- Introduce docs flag, set to 0: do not build documentation using pandoc: ghc is not part of the rings and we don't want this there. OBS-URL: https://build.opensuse.org/request/show/1070738 OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=136
This commit is contained in:
parent
3759dd63e3
commit
6738b97402
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 10 13:14:18 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Introduce docs flag, set to 0: do not build documentation using
|
||||
pandoc: ghc is not part of the rings and we don't want this
|
||||
there.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 2 16:55:23 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@ -37,6 +37,7 @@
|
||||
%endif
|
||||
|
||||
%define shlib_sover 2
|
||||
%define docs 0
|
||||
|
||||
Name: fwupd
|
||||
Version: 1.8.12
|
||||
@ -87,7 +88,7 @@ BuildRequires: pkgconfig(colorhug) >= 1.2.12
|
||||
%ifnarch s390x ppc64le
|
||||
BuildRequires: pkgconfig(flashrom)
|
||||
%endif
|
||||
%ifarch x86_64
|
||||
%if 0%{?docs}
|
||||
BuildRequires: pandoc
|
||||
%endif
|
||||
BuildRequires: pkgconfig(gi-docgen)
|
||||
@ -262,7 +263,7 @@ export CFLAGS="%{optflags} -D_GNU_SOURCE"
|
||||
%ifarch s390x ppc64le
|
||||
-Dplugin_flashrom=disabled \
|
||||
%endif
|
||||
%ifarch x86_64
|
||||
%if 0%{?docs}
|
||||
-Dman=enabled \
|
||||
%else
|
||||
-Dman=disabled \
|
||||
@ -348,7 +349,7 @@ rm -fr %{buildroot}%{_datadir}/fish
|
||||
%{_datadir}/%{name}/metainfo/org.freedesktop.fwupd.remotes.lvfs-testing.metainfo.xml
|
||||
%{_datadir}/%{name}/metainfo/org.freedesktop.fwupd.remotes.lvfs.metainfo.xml
|
||||
%{_datadir}/%{name}/remotes.d/vendor/firmware/README.md
|
||||
%ifarch x86_64
|
||||
%if 0%{?docs}
|
||||
%{_mandir}/man1/fwupdagent.1%{?ext_man}
|
||||
%{_mandir}/man1/fwupdmgr.1%{?ext_man}
|
||||
%{_mandir}/man1/fwupdtool.1%{?ext_man}
|
||||
@ -393,7 +394,7 @@ rm -fr %{buildroot}%{_datadir}/fish
|
||||
|
||||
%files -n dfu-tool
|
||||
%{_bindir}/dfu-tool
|
||||
%ifarch x86_64
|
||||
%if 0%{?docs}
|
||||
%{_mandir}/man1/dfu-tool.1%{?ext_man}
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user