diff --git a/cacti-spine.spec b/cacti-spine.spec index 85d3378..70780c9 100644 --- a/cacti-spine.spec +++ b/cacti-spine.spec @@ -1,6 +1,6 @@ Name: cacti-spine Version: 1.1.38 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Threaded poller for Cacti written in C License: LGPLv2+ URL: https://cacti.net @@ -8,7 +8,11 @@ Source0: https://www.cacti.net/downloads/spine/%{name}-%{version}.tar.gz Patch0: cacti-spine-fix-obsoleted-m4.patch BuildRequires: gcc +%if 0%{?fedora} >= 27 BuildRequires: mariadb-connector-c-devel +%else +BuildRequires: mysql-devel +%endif BuildRequires: net-snmp-devel BuildRequires: help2man BuildRequires: libtool @@ -43,5 +47,8 @@ autoreconf -fiv %{_mandir}/man1/spine.1.* %changelog +* Fri Nov 09 2018 Morten Stevens - 1.1.38-2 +- Added RPM macro to fix building on RHEL + * Tue Nov 06 2018 Morten Stevens - 1.1.38-1 - Initial cacti-spine release for Fedora