diff --git a/rrdtool.spec b/rrdtool.spec index 1735c9c..1075295 100644 --- a/rrdtool.spec +++ b/rrdtool.spec @@ -17,7 +17,7 @@ Summary: Round Robin Database Tool to store and display time-series data Name: rrdtool Version: 1.6.0 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ with exceptions Group: Applications/Databases URL: http://oss.oetiker.ch/rrdtool/ @@ -155,7 +155,9 @@ The %{name}-ruby package includes RRDtool bindings for Ruby. Summary: Lua RRDtool bindings Group: Development/Languages BuildRequires: lua, lua-devel +%if "%{luaver}" != "" Requires: lua(abi) = %{luaver} +%endif Requires: %{name} = %{version}-%{release} %description lua @@ -393,6 +395,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} php -n \ %endif %changelog +* Fri Jul 29 2016 Petr Pisar - 1.6.0-6 +- Adjust lua version computaion to SRPM build root without lua + * Tue Jul 19 2016 Fedora Release Engineering - 1.6.0-5 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages