我正在尝试对我的依赖项使用布尔逻辑(https://rpm.org/user_doc/boolean_dependency.html)在自定义规范文件中,但我遇到了麻烦。
.spec 片段
BuildRequires: libxml2-devel, mysql-devel, net-snmp-devel, (mariadb or mariadb-connector-c), rocksdb-devel, zeromq-devel
Requires: mysql, libxml2, net-snmp, perl, perl-libwww-perl, net-snmp-perl, net-snmp-libs, net-snmp-utils, (mariadb or mariadb-connector-c), rocksdb, rdkafka, libzmq5 >= 4.1.4, protobuf-c
错误
error: line 27: Dependency tokens must begin with alpha-numeric, '_' or '/': BuildRequires: libxml2-devel, mysql-devel, net-snmp-devel, (mariadb or mariadb-connector-c), rocksdb-devel, zeromq-devel
我究竟做错了什么?