Search
j0ke.net Open Build Service
>
Projects
>
server:database
:
percona
>
percona-toolkit
> percona-toolkit.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File percona-toolkit.spec of Package percona-toolkit (Revision 3)
Currently displaying revision
3
,
show latest
# # spec file for package percona-toolkit # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: percona-toolkit Summary: Advanced MySQL and system command-line tools License: GPL-2.0 Group: Productivity/Databases/Tools Version: 2.2.2 Release: 15.1 Url: https://www.percona.com/software/percona-toolkit/ Source: https://www.percona.com/redir/downloads/%{name}/%{version}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} < 1140 Requires: perl = %{perl_version} %else %{perl_requires} %endif Requires: perl(DBD::mysql) >= 1.0 Requires: perl(DBI) >= 1.13 Requires: perl(IO::Socket::SSL) Requires: perl(Term::ReadKey) >= 2.10 Requires: perl(Time::HiRes) Provides: maatkit = 7410.%{version} Obsoletes: maatkit < 7410 BuildArch: noarch %description Percona Toolkit is a collection of advanced command-line tools used by Percona (http://www.percona.com/) support staff to perform a variety of MySQL and system tasks that are too difficult or complex to perform manually. These tools are ideal alternatives to private or "one-off" scripts because they are professionally developed, formally tested, and fully documented. They are also fully self-contained, so installation is quick and easy and no libraries are installed. Percona Toolkit is developed and supported by Percona Inc. For more information and other free, open-source software developed by Percona, visit http://www.percona.com/software/. This collection was formerly known as Maatkit. %prep %setup -q %build %{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null make %{?_smp_mflags} %install %if 0%{?suse_version} %perl_make_install %perl_process_packlist %if 0%{?suse_version} < 1130 %__rm -rf $RPM_BUILD_ROOT%perl_vendorarch/auto/%{name} %__rm -rf $RPM_BUILD_ROOT/var/adm/perl-modules/%{name} %endif %else %__make DESTDIR=%{buildroot} install ### Clean up buildroot %{__rm} -rf %{buildroot}%{perl_archlib} %{buildroot}%{perl_vendorarch} %endif %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING README Changelog %{_bindir}/* %{_mandir}/man1/*.1* %changelog * Mon Apr 8 2013 andreas.stieger@gmx.de - update to 2.2.1 This is the first release in the 2.2 series. Users are advised to re-read documentation for tools. - new features: * Support for MySQL 5.6 * Support for Percona XtraDB Cluster - major updates: * Redesigned pt-query-digest * Redesigned pt-upgrade * Redesigned pt-fk-error-logger * Redesigned pt-deadlock-logger - changed options: * Changed --set-vars in all tools * Renamed --retries to --tries in pt-online-schema-change * Added --check-read-only to pt-heartbeat * Added MySQL options to pt-mysql-summary * Added MySQL options to pt-stalk - removed switches: * Removed --lock-wait-timeout from pt-online-schema-change (use --set-vars) * Removed --lock-wait-timeout from pt-table-checksum (use --set-vars) - removed tools: * Removed pt-query-advisor * Removed pt-tcp-model * Removed pt-trend * Removed pt-log-player - new defaults: * Enabled --version-check by default in all tools - fixing the following bugs: * Fixed bug: Several tools don't have --database * Fixed bug: Quoter::serialize_list() doesn't handle multiple NULL values * Fixed bug: pt-config-diff needs to parse wsrep_provider_options * Fixed bug: pt-fk-error-logger --run-time works differently than pt-deadlock-logger --run-time * Fixed bug: pt-online-schema-change doesn't retry RENAME TABLE * Fixed bug: pt-online-schema-change blocks on metadata locks * Fixed bug: pt-stalk --no-stalk silently clobbers other options, acts magically * Fixed bug: pt-stalk truncates InnoDB status if there are too many transactions * Fixed bug: pt-table-checksum doesn't warn if no slaves are found * Fri Feb 15 2013 andreas.stieger@gmx.de - update to 2.1.9 [bnc#804102], fixing the following bugs: * pt-heartbeat 2.1.8 doesn't use precision/sub-second timestamps * pt-heartbeat 2.1.8 reports big time drift with UTC_TIMESTAMP * pt-online-schema-change fails with "Duplicate entry" on MariaDB * pt-online-schema-change makes bad DELETE trigger if PK is re-created with new columns * pt-pmp doesn't list the origin lib for each function * pt-query-digest shouldn't print "Error: none" for tcpdump * pt-query-digest fails to parse non-SQL errors * pt-table-checksum: Confusing error message with binlog_format ROW or MIXED on slave * pt-table-sync false-positive error "Cannot nibble table because MySQL chose no index instead of the PRIMARY index" * pt-stalk is too verbose, fills up log * Fri Jan 11 2013 andreas.stieger@gmx.de - update to 2.1.8 * Beta support for MySQL 5.6 * Beta support for Percona XtraDB Cluster * pt-online-schema-change: If ran on Percona XtraDB Cluster, requires PXC 5.5.28 or newer * pt-table-checksum: If ran on Percona XtraDB Cluster, requires PXC 5.5.28 or newer * pt-upgrade: Added --[no]disable-query-cache - fixing the following bugs: * Bad pod2rst transformation * Bad online docs formatting for --[no]vars * pt-config-diff is case-sensitive * pt-config-diff doesn't handle end-of-line comments * pt-config-diff Use of uninitialized value in substitution (s///) at line 1996 * pt-deadlock-logger doesn't handle usernames with dashes * pt-heartbeat handles timezones inconsistently * pt-kill --log-dsn timestamp is wrong * pt-mysql-summary doesn't handle renamed variables in Percona Server 5.5 * pt-online-schema-change checks for foreign keys on MyISAM tables * pt-query-advisor hangs on big queries * pt-query-advisor RES.001 is incorrect * pt-query-advisor false positive on RES.001 * pt-query-advisor issues wrong RES.001 * pt-query-digest fails to parse timestamp with no query * pt-query-digest doesn't parse general log with "Connect user as user" * pt-query-digest with custom --group-by throws error * pt-query-digest prints negative byte offset * pt-query-digest help output mangled * pt-slave-restart CHANGE MASTER query causes error * pt-stalk purge_samples slows down checks * pt-stalk does not report NFS iostat * pt-table-checksum doesn't ignore tables for --replicate-check-only * pt-table-checksum v2 fails when --resume + --ignore-database is used * pt-table-checksum debug statement for "Chosen hash func" prints undef * pt-table-checksum Illegal division by zero at line 7950 * pt-table-checksum uninitialized value in numeric lt (<) at line 8611 * Tools let --set-vars clobber the required SQL mode - also contains fixes from 2.1.7: * pt-table-checksum 2.1.6 crashes using PTDEBUG * pt-table-checksum 2.1.6 --check-binlog-format doesn't ignore PXC nodes * Mon Nov 19 2012 andreas.stieger@gmx.de - update to 2.1.6 * pt-online-schema-change: Columns can now be renamed without data loss * pt-online-schema-change: New --default-engine option * pt-stalk: Plugin hooks available through the --plugin option to extend the tool's functionality - fixing the following bugs * --version-check default should be explicitly "off" * LOAD DATA LOCAL INFILE broken in some platforms * Useless use of cat in Daemon.pm * Tools exit 0 on error parsing options, should exit non-zero * pt-table-checksum doesn't warn if binlog_format=row or mixed on slaves * pt-table-checksum breaks replication if a slave table is missing or different * pt-table-checksum doesn't honor --run-time while checking replication lag * pt-table-checksum error: Use of uninitialized value in int at line 2778 * pt-table-checksum can crash with --columns if none match * pt-table-checksum dies if creating the --replicate table fails * pt-table-checksum doesn't test all hash functions * pt-table-checksum 2.1.4 doesn't detect diffs on Percona XtraDB Cluster nodes * pt-deadlock-logger can't parse db/tbl/index on partitioned tables * pt-online-schema-change DELETE trigger fails when altering primary key * pt-online-schema-change fails if sql_mode explicitly or implicitly uses ANSI_QUOTES * pt-online-schema-change fails with "I need a max_rows argument" * pt-online-schema-change --quiet doesn't disable --progress * pt-online-schema-change doesn't report how many warnings it suppressed * pt-upgrade fails if select column > 64 chars * pt-mysql-summary may report the wrong cnf file * pt-mysql-summary incorrectly categorizes databases * pt-show-grant doesn't support column-level grants * pt-query-digest review table privilege checks don't work * pt-query-digest docs for event attributes link to defunct Maatkit wiki * pt-duplicate-key-checker fails when it encounters a crashed table * pt-stalk deletes non-empty files * pt-stalk --no-stalk and --iterations 1 don't wait for the collect * pt-fifo-split is processing n-1 rows initially * pt-find documentation error with mtime and InnoDB * pt-trend output has no header * pt-visual-explain docs link to missing pdf * pt-fk-error-logger crashes if there's no foreign key error * pt-fk-error-logger --dest table example doesn't work * Sun Nov 11 2012 andreas.stieger@gmx.de - fix SLE 11 build by adding alternative perl macros * Tue Oct 16 2012 andreas.stieger@gmx.de - update to 2.1.5 * pt-table-checksum 2.1.4 doesn't detect diffs on Percona XtraDB Cluster nodes * pt-table-checksum 2.1.4 miscategorizes Percona XtraDB Cluster-based slaves as cluster nodes * pt-table-sync 2.1.4 --version-check may not work with HTTPS/SSL * Missing version-check page * Tue Oct 2 2012 andreas.stieger@gmx.de - update to 2.1.4 * pt-table-checksum: Percona XtraDB Cluster support * pt-table-checksum: Implemented the standard --run-time option * Implemented the version-check feature in several tools, enabled with the --version-check option * Document gdb dependency * Unquoted arguments to tr break the bash tools - fixing the following Percona bugs: * pt-diskstats shows wrong device names * pt-duplicate-key-checker error parsing InnoDB table with no PK or unique keys * pt-online-schema-change dropping FK limitation isn't documented * pt-online-schema-changes fails if db+tbl name exceeds 64 characters * pt-query-digest --type tcpdump memory usage keeps increasing * pt-query-digest won't distill LOCK TABLES in lowercase * pt-stalk warns about bad "find" usage * pt-stalk df -h throws away needed details * pt-stalk --notify-by-email fails * pt-stalk does not get all InnoDB lock data * pt-summary should show information about Fusion-io cards * pt-table-checksum doesn't work if slaves use RBR * pt-table-checksum --check-slave-lag docs aren't clear * pt-table-checksum --defaults-file isn't used for slaves * pt-table-sync and text columns with just whitespace * pt-table-sync base_count fails on n = 1000, base = 10 * pt-table-sync division by zero error with varchar primary key * pt-table-sync priv checks need to be removed * pt-upgrade error "I need a right_sth argument" * sh warnings in pt-summary and pt-mysql-summary * ChangeHandler doesn't quote varchar columns with hex-looking values * CentOS 5 yum dependency resolution for perl module is wrong * Percona Toolkit RPM should contain a dependency on perl-Time-HiRes * Wed Sep 5 2012 andreas.stieger@gmx.de - initial package for Percona Toolkit 2.1.3, based on upstream spec file some OBS occurrences - based on and replacing Maatkit, obsoleting their last release 7410