[packages/oath-toolkit] drop redundant doc bcond

atler atler at pld-linux.org
Wed Jan 3 11:55:43 CET 2024


commit 8cfc29a9f5c3845dc0e897fc3220de903dc043d3
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Jan 3 11:16:47 2024 +0100

    drop redundant doc bcond
    
    docs are created at dist time and are installed unconditionally. the
    only impact of this bcond was to make gtk-doc optional, but since it was
    not required in the first place let's just drop entire bcond together
    with gtk-doc dep

 oath-toolkit.spec | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/oath-toolkit.spec b/oath-toolkit.spec
index 5d50600..e0dc789 100644
--- a/oath-toolkit.spec
+++ b/oath-toolkit.spec
@@ -1,6 +1,5 @@
 #
 # Conditional build
-%bcond_without	doc		# do not build documentation
 %bcond_without	static_libs	# static libraries
 
 Summary:	OATH Toolkit - easily build one-time password authentication systems
@@ -13,7 +12,6 @@ Group:		Libraries
 Source0:	https://download.savannah.gnu.org/releases/oath-toolkit/%{name}-%{version}.tar.gz
 # Source0-md5:	3a408c07032be46f656ff74b46b6ef61
 URL:		http://www.nongnu.org/oath-toolkit/
-%{?with_doc:BuildRequires:	gtk-doc >= 1.1}
 BuildRequires:	help2man
 BuildRequires:	libxml2-devel >= 2
 BuildRequires:	libxml2-progs >= 2
@@ -87,7 +85,6 @@ Dokumentacja API bibliotek OATH.
 
 %build
 %configure \
-	%{!?with_doc:--disable-gtk-doc} \
 	--disable-silent-rules \
 	%{!?with_static_libs:--disable-static} \
 	--with-html-dir=%{_gtkdocdir} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/oath-toolkit.git/commitdiff/65f94344898f4009f3deec363c55d3aa059cd519



More information about the pld-cvs-commit mailing list