Compare commits

...

56 Commits
f9 ... master

Author SHA1 Message Date
Fedora Release Engineering c175f0be00 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 00:50:39 +00:00
Xavier Bachelot e289ce2ec8 Fix EPEL build 2019-03-15 17:07:15 +01:00
Xavier Bachelot e319120331 1.0.17 2019-03-15 15:39:34 +01:00
Xavier Bachelot 31a2e2332a 1.0.16 2019-02-12 00:53:44 +01:00
Fedora Release Engineering 3438afb0ca - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 09:15:19 +00:00
Pavel Raiskup 69d2dd5ff6 BuildRequires: s/postgresql-devel/libpq-devel/
That's because we moved libpq.so.5 into libpq package.

Related: rhbz#1618698, rhbz#1623764
2018-09-06 10:26:29 +02:00
Xavier Bachelot c44176fc9b Workaround test suite issue on armv7hl 2018-07-24 17:01:18 +02:00
Fedora Release Engineering 84eb761b63 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 07:09:50 +00:00
Xavier Bachelot 875ce95b6d sysbench 1.0.15 2018-07-04 10:37:34 +02:00
Xavier Bachelot 4189aafccf Fix typo in changelog 2018-04-17 14:14:59 +02:00
Xavier Bachelot 38cc600295 1.0.14 2018-04-09 23:22:46 +02:00
Fedora Release Engineering 844963b93c - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 18:19:04 +00:00
Xavier Bachelot bda746a04b 1.0.12 2018-01-17 14:13:18 +01:00
Xavier Bachelot 26bebb1de0 1.0.11 2017-12-12 09:29:00 +01:00
Xavier Bachelot 42e0a139cc 1.0.10 2017-11-03 14:20:46 +01:00
Xavier Bachelot 5a581f1f46 1.0.9 2017-09-18 11:57:36 +02:00
Fedora Release Engineering 8e389e6fdb - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 09:05:55 +00:00
Fedora Release Engineering 92f46d408c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 19:49:15 +00:00
Xavier Bachelot 772f6addbe Add patch from Honza Horak to fix build against mariadb 10.2 (RHBZ#1470540) 2017-07-13 14:18:53 +02:00
Xavier Bachelot 4f2c5d5b82 1.0.8 2017-07-05 15:42:06 +02:00
Xavier Bachelot c4e4a69c13 1.0.7 2017-05-16 14:31:53 +02:00
Xavier Bachelot c082ca961c 1.0.6 2017-05-12 17:40:27 +02:00
Xavier Bachelot 90e98fa85c 1.0.5 2017-04-07 09:36:53 +02:00
Xavier Bachelot a314af322e Don't build aarch64 on el7 2017-03-13 17:36:23 +01:00
Xavier Bachelot 62ef260bf5 sysbench 1.0.4 2017-03-13 14:35:39 +01:00
Xavier Bachelot 84da46c135 Ignore test suite results for aarch64 rather than not run it 2017-03-08 02:57:45 +01:00
Xavier Bachelot 1e4682c164 Disable test suite for aarch64, it segfault in koji (but works on different hardware) 2017-02-28 15:30:36 +01:00
Xavier Bachelot 8b5e3241af Fix build on %{arm} and aarch64 2017-02-28 14:58:49 +01:00
Xavier Bachelot 335b83e967 Dont build for ppc64* 2017-02-27 20:09:14 +01:00
Xavier Bachelot cfd77b9810 1.0.3 2017-02-26 20:29:46 +01:00
Xavier Bachelot 9bf13dd9c7 Run test suite 2017-02-25 16:39:09 +01:00
Xavier Bachelot c01e4dba53 Update to sysbench 1.0.2 2017-02-25 15:28:25 +01:00
Honza Horak f1760203ff Update to the first proper release 1.0.0 2017-02-25 14:46:29 +01:00
Fedora Release Engineering 91525a88c7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 14:21:39 +00:00
Fedora Release Engineering 741d0e88a5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 01:07:44 +00:00
Dennis Gilmore ba6735f0d9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 02:19:29 +00:00
Xavier Bachelot 1d5b8b5ffc fix bogus date in changelog 2014-09-04 22:50:20 +02:00
Xavier Bachelot 0f2a9da46b modernize specfile 2014-09-04 22:36:41 +02:00
Peter Robinson 9e6ae4ab9a - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 04:34:07 +00:00
Dennis Gilmore 508c1f4ec4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 02:54:03 -05:00
Dennis Gilmore 31d3a51054 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 11:21:50 -05:00
Dennis Gilmore 9ea8b8bb53 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 19:07:25 -06:00
Dennis Gilmore 9bafc16c69 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 17:26:41 -05:00
Dennis Gilmore 99866f0b8b - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 00:08:00 -06:00
Xavier Bachelot 7adb7ad6e5 Add BR: libaio-devel (rhbz#735882) 2011-09-06 23:57:33 +02:00
Dan Horák 9b350a3724 rebuilt for mysql 5.5.10 (soname bump in libmysqlclient) 2011-03-23 19:52:15 +01:00
Dennis Gilmore 5201c376a2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 11:27:33 -06:00
Xavier Bachelot 053b8a32c8 Rebuild against new mysql 2010-12-24 14:08:57 +01:00
Fedora Release Engineering f5da63f395 dist-git conversion 2010-07-29 13:32:19 +00:00
Xavier Bachelot 291918802e update to 0.4.12 2010-07-19 01:11:17 +00:00
Bill Nottingham bd038c662c Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:15:42 +00:00
Tomáš Mráz f34e9dab15 - rebuilt with new openssl 2009-08-21 16:03:20 +00:00
Jesse Keating ed62ee354f - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 05:18:55 +00:00
Xavier Bachelot 9616b91dde Bump release 2009-03-18 08:32:42 +00:00
Xavier Bachelot 4e745d3f83 fix license according to review 2009-03-18 08:30:29 +00:00
Xavier Bachelot a75f05a6af Initial import. 2009-03-18 08:28:43 +00:00
5 changed files with 283 additions and 21 deletions

View File

16
.gitignore vendored Normal file
View File

@ -0,0 +1,16 @@
sysbench-0.4.12.tar.gz
/sysbench-1.0.2.tar.gz
/sysbench-1.0.3.tar.gz
/sysbench-1.0.4.tar.gz
/sysbench-1.0.5.tar.gz
/sysbench-1.0.6.tar.gz
/sysbench-1.0.7.tar.gz
/sysbench-1.0.8.tar.gz
/sysbench-1.0.9.tar.gz
/sysbench-1.0.10.tar.gz
/sysbench-1.0.11.tar.gz
/sysbench-1.0.12.tar.gz
/sysbench-1.0.14.tar.gz
/sysbench-1.0.15.tar.gz
/sysbench-1.0.16.tar.gz
/sysbench-1.0.17.tar.gz

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: sysbench
# $Id$
NAME := sysbench
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -0,0 +1 @@
SHA512 (sysbench-1.0.17.tar.gz) = 95a6bb7ec9b0fb111bf2844e110b8fb51c006fd68b5bac75c1b80e2ed18e839d6f07f79d55fb5adef67b41d00f67bbf659d129d1cb593d4fd118092b15431815

266
sysbench.spec Normal file
View File

@ -0,0 +1,266 @@
Summary: System performance benchmark
Name: sysbench
Version: 1.0.17
Release: 3%{?dist}
License: GPLv2+
Source0: https://github.com/akopytov/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
URL: https://github.com/akopytov/sysbench/
BuildRequires: automake
BuildRequires: ck-devel
BuildRequires: docbook-style-xsl
BuildRequires: libaio-devel
BuildRequires: libtool
BuildRequires: libxslt
BuildRequires: luajit-devel
%if 0%{?el6}
BuildRequires: mysql-devel
%endif
%if 0%{?el7}
BuildRequires: mariadb-devel
%endif
%if 0%{?fedora} || 0%{?rhel} > 7
BuildRequires: mariadb-connector-c-devel
%endif
%if 0%{?fedora} || 0%{?rhel} > 7
BuildRequires: libpq-devel
%else
BuildRequires: postgresql-devel
%endif
# Tests
%{!?el6:BuildRequires: /usr/bin/cram}
# luajit is needed and is not available for ppc64 and ppc64le.
# Use the same arches as luajit.
# luajit 2.0.4, which is in EL6 and EL7, doesn't have support for aarch64
%if 0%{?el6} || 0%{?el7}
ExclusiveArch: %{arm} %{ix86} x86_64 %{mips}
%else
ExclusiveArch: %{arm} %{ix86} x86_64 %{mips} aarch64
%endif
%description
SysBench is a modular, cross-platform and multi-threaded benchmark
tool for evaluating OS parameters that are important for a system
running a database under intensive load.
The idea of this benchmark suite is to quickly get an impression about
system performance without setting up complex database benchmarks or
even without installing a database at all. Current features allow to
test the following system parameters:
- file I/O performance
- scheduler performance
- memory allocation and transfer speed
- POSIX threads implementation performance
- database server performance (OLTP benchmark)
Primarily written for MySQL server benchmarking, SysBench will be
further extended to support multiple database backends, distributed
benchmarks and third-party plug-in modules.
%prep
%setup -q
rm -r third_party/luajit/luajit/
rm -r third_party/concurrency_kit/ck/
%{!?el6:rm -r third_party/cram/}
%build
export CFLAGS="%{optflags}"
autoreconf -vif
%configure --with-mysql \
--with-pgsql \
--with-system-ck \
--with-system-luajit \
--without-gcc-arch
%make_build
%install
%make_install
mv %{buildroot}%{_docdir}/sysbench/manual.html .
%check
cd tests
# opt_repot_interval test never returns on armv7hl
%ifarch armv7hl
rm t/opt_report_interval.t
%endif
# Test suite segfaults in koji aarch64
# Although it works on different aarch64 hardware...
%ifnarch aarch64
./test_run.sh
%else
./test_run.sh || :
%endif
%files
%doc ChangeLog README.md manual.html
%license COPYING
%{_bindir}/*
%{_datadir}/%{name}
%changelog
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.17-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* 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
- Update to 1.0.17 (RHBZ#1689249).
* Tue Feb 12 2019 Xavier Bachelot <xavier@bachelot.org> 1.0.16-1
- Update to 1.0.16.
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.15-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Jul 24 2018 Xavier Bachelot <xavier@bachelot.org> 1.0.15-3
- Remove opt_report_interval test for armv7hl (RHBZ#1606468).
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jul 04 2018 Xavier Bachelot <xavier@bachelot.org> 1.0.15-1
- Update to 1.0.15 (RHBZ#1597935).
* Mon Apr 09 2018 Xavier Bachelot <xavier@bachelot.org> 1.0.14-1
- Update to 1.0.14 (RHBZ#1547329).
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jan 17 2018 Xavier Bachelot <xavier@bachelot.org> 1.0.12-1
- Update to 1.0.12 (RHBZ#1535455).
* Tue Dec 12 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.11-1
- Update to 1.0.11 (RHBZ#1524754).
* Thu Nov 02 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.10-1
- Update to 1.0.10 (RHBZ#1508249).
- Build against mariadb-connector-c for Fedora 27+ (RHBZ#1493697).
* Mon Sep 18 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.9-2
- Add patch to fix build against mariadb 10.2.8.
* Wed Sep 06 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.9-1
- Update to 1.0.9 (RHBZ#1488694).
- Drop upstreamed patch.
- Drop Group: tag.
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Thu Jul 13 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.8-2
- Add patch from Honza Horak to fix build against mariadb 10.2 (RHBZ#1470540).
* Wed Jul 05 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.8-1
- Update to 1.0.8.
- Fix creation and installation of manual.html file.
- Sort BuildRequires.
* Tue May 16 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.7-1
- Update to 1.0.7.
* Sun Apr 16 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.6-1
- Update to 1.0.6.
- Use bundled cram for EL6.
- Tweak conditionals.
- Remove --with-gcc-arch=native hack on arm.
* Fri Apr 07 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.5-1
- Update to 1.0.5.
- Fix conditional around ExclusiveArch.
- Restore EL6 support, luajit (RHBZ#1432377) and python-cram (RHBZ#1432378) are
currently missing though.
* Mon Mar 13 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.4-2
- Don't build aarch64 on el7.
* Mon Mar 13 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.4-1
- Fix build for i686.
- Drop bundled cram.
* Wed Mar 08 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.3-1
- Update to 1.0.3 (RHBZ#1424670).
- Restrict arches to the same ones as luajit.
- Add --with-gcc-arch=native to configure for %%{arm} and aarch64.
- Ignore test suite results for aarch64, it segfaults in koji.
* Sat Feb 25 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.2-2
- Run test suite.
* Sat Feb 25 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.2-1
- Update to 1.0.2 (RHBZ#1424670).
* Sun Feb 12 2017 Honza Horak <hhorak@redhat.com> - 1.0.0-1
- Update to the first proper release 1.0.0
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.12-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.12-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.12-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Thu Sep 04 2014 Xavier Bachelot <xavier@bachelot.org> 0.4.12-12
- Modernize specfile.
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.12-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.12-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.12-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.12-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.12-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.12-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Sep 06 2011 Xavier Bachelot <xavier@bachelot.org> 0.4.12-5
- Add BR: libaio-devel (rhbz#735882).
* Wed Mar 23 2011 Dan Horák <dan@danny.cz> - 0.4.12-4
- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Dec 24 2010 Xavier Bachelot <xavier@bachelot.org> 0.4.12-2
- Rebuild against new mysql.
* Wed Jul 07 2010 Xavier Bachelot <xavier@bachelot.org> 0.4.12-1
- Update to 0.4.12.
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.4.10-5
- rebuilt with new openssl
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Mar 18 2009 Xavier Bachelot <xavier@bachelot.org> 0.4.10-3
- License is GPLv2+, not GPLv2.
* Sat Mar 14 2009 Xavier Bachelot <xavier@bachelot.org> 0.4.10-2
- Make postgres support optional, the version in rhel4 is too old.
- Drop TODO and manual.html from %%doc, they are empty.
* Thu Mar 05 2009 Xavier Bachelot <xavier@bachelot.org> 0.4.10-1
- Adapt original spec file taken from PLD.