Accepting request 1189292 from home:badshah400:branches:M17N
Disable man file generation to avoid BuildRequires on pandoc (nuspell is a Ring1 package). OBS-URL: https://build.opensuse.org/request/show/1189292 OBS-URL: https://build.opensuse.org/package/show/M17N/nuspell?expand=0&rev=34
This commit is contained in:
parent
b7c6c626df
commit
8669bbaf00
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 24 04:32:43 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- Disable man file generation to avoid BuildRequires on pandoc
|
||||||
|
(nuspell is a Ring1 package).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 17 04:38:53 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
Wed Jul 17 04:38:53 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
12
nuspell.spec
12
nuspell.spec
@ -24,6 +24,8 @@
|
|||||||
%else
|
%else
|
||||||
%bcond_without tests
|
%bcond_without tests
|
||||||
%endif
|
%endif
|
||||||
|
# Ring1 package, avoid pandoc requirement by disabling mnan file generation
|
||||||
|
%bcond_with man
|
||||||
Name: nuspell
|
Name: nuspell
|
||||||
Version: 5.1.6
|
Version: 5.1.6
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -42,10 +44,12 @@ BuildRequires: gcc-c++
|
|||||||
%endif
|
%endif
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
BuildRequires: pandoc
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:ronn)
|
BuildRequires: rubygem(%{rb_default_ruby_abi}:ronn)
|
||||||
Requires: hunspell
|
Requires: hunspell
|
||||||
|
%if %{with man}
|
||||||
|
BuildRequires: pandoc
|
||||||
|
%endif
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: pkgconfig(catch2) >= 3.3.2
|
BuildRequires: pkgconfig(catch2) >= 3.3.2
|
||||||
%endif
|
%endif
|
||||||
@ -110,7 +114,9 @@ This package provides API documentation for Nuspell.
|
|||||||
-DCMAKE_CXX_FLAGS:STRING="%{optflags} -std=c++17" \
|
-DCMAKE_CXX_FLAGS:STRING="%{optflags} -std=c++17" \
|
||||||
%endif
|
%endif
|
||||||
-DBUILD_TESTING:BOOL=%{?with_tests:ON}%{!?with_tests:OFF} \
|
-DBUILD_TESTING:BOOL=%{?with_tests:ON}%{!?with_tests:OFF} \
|
||||||
-DCMAKE_SKIP_RPATH:BOOL=OFF
|
-DCMAKE_SKIP_RPATH:BOOL=OFF \
|
||||||
|
-DBUILD_DOCS=%{?with_man:ON}%{!?with_man:OFF} \
|
||||||
|
%{nil}
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
cd ../
|
cd ../
|
||||||
@ -136,7 +142,9 @@ cp -pR doxygen/html %{buildroot}%{_docdir}/%{name}-doc/
|
|||||||
%doc README.md CHANGELOG.md AUTHORS
|
%doc README.md CHANGELOG.md AUTHORS
|
||||||
%license COPYING.LESSER COPYING
|
%license COPYING.LESSER COPYING
|
||||||
%{_bindir}/nuspell
|
%{_bindir}/nuspell
|
||||||
|
%if %{with man}
|
||||||
%{_mandir}/man1/nuspell.1%{?ext_man}
|
%{_mandir}/man1/nuspell.1%{?ext_man}
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n %{libname}%{sonum}
|
%files -n %{libname}%{sonum}
|
||||||
%license COPYING.LESSER COPYING
|
%license COPYING.LESSER COPYING
|
||||||
|
Loading…
x
Reference in New Issue
Block a user