Fix EPEL build
This commit is contained in:
parent
e319120331
commit
e289ce2ec8
|
@ -1,7 +1,7 @@
|
||||||
Summary: System performance benchmark
|
Summary: System performance benchmark
|
||||||
Name: sysbench
|
Name: sysbench
|
||||||
Version: 1.0.17
|
Version: 1.0.17
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Source0: https://github.com/akopytov/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/akopytov/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
URL: https://github.com/akopytov/sysbench/
|
URL: https://github.com/akopytov/sysbench/
|
||||||
|
@ -16,13 +16,17 @@ BuildRequires: luajit-devel
|
||||||
%if 0%{?el6}
|
%if 0%{?el6}
|
||||||
BuildRequires: mysql-devel
|
BuildRequires: mysql-devel
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?el7} || 0%{?fc26}%{?fc27}
|
%if 0%{?el7}
|
||||||
BuildRequires: mariadb-devel
|
BuildRequires: mariadb-devel
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?fedora} > 27
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||||
BuildRequires: mariadb-connector-c-devel
|
BuildRequires: mariadb-connector-c-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||||
BuildRequires: libpq-devel
|
BuildRequires: libpq-devel
|
||||||
|
%else
|
||||||
|
BuildRequires: postgresql-devel
|
||||||
|
%endif
|
||||||
# Tests
|
# Tests
|
||||||
%{!?el6:BuildRequires: /usr/bin/cram}
|
%{!?el6:BuildRequires: /usr/bin/cram}
|
||||||
|
|
||||||
|
@ -100,6 +104,10 @@ rm t/opt_report_interval.t
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 15 2019 Xavier Bachelot <xavier@bachelot.org> 1.0.17-2
|
||||||
|
- Fix EPEL build.
|
||||||
|
- Clean up conditionals around BuildRequires.
|
||||||
|
|
||||||
* Fri Mar 15 2019 Xavier Bachelot <xavier@bachelot.org> 1.0.17-1
|
* Fri Mar 15 2019 Xavier Bachelot <xavier@bachelot.org> 1.0.17-1
|
||||||
- Update to 1.0.17 (RHBZ#1689249).
|
- Update to 1.0.17 (RHBZ#1689249).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue