[packages/libcdio] add boostrap bcond
glen
glen at pld-linux.org
Wed Feb 25 21:58:49 CET 2015
commit 6831200b663031cc431bf76e5a7fcb7f1bc635f8
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Feb 25 22:58:43 2015 +0200
add boostrap bcond
libcdio.spec | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/libcdio.spec b/libcdio.spec
index ab85a34..99d0d1b 100644
--- a/libcdio.spec
+++ b/libcdio.spec
@@ -1,15 +1,20 @@
#
# Conditional build:
+%bcond_with bootstrap # disable features to able to build without circular dependencies
%bcond_without cddb # build cd-info without CDDB lookups (for bootstrap)
%bcond_without static_libs # don't build static library
-%bcond_without vcd # build cd-info without VCD support (for bootstrap)
-# (affects only -utils, not libraries)
-#
+%bcond_without vcd # build cd-info without VCD support (for bootstrap) (affects only *-utils, not libraries)
+
+%if %{with bootstrap}
+%undefine with_cddb
+%undefine with_vcd
+%endif
+
Summary: GNU Compact Disc Input, Output and Control Library
Summary(pl.UTF-8): Biblioteka GNU do obsługi wejścia, wyjścia i sterowania czytnikiem CD
Name: libcdio
Version: 0.93
-Release: 1
+Release: 2
License: GPL v3+
Group: Libraries
Source0: http://ftp.gnu.org/gnu/libcdio/%{name}-%{version}.tar.bz2
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libcdio.git/commitdiff/6831200b663031cc431bf76e5a7fcb7f1bc635f8
More information about the pld-cvs-commit
mailing list