clean
OBS-URL: https://build.opensuse.org/package/show/server:database/percona-toolkit?expand=0&rev=60
This commit is contained in:
parent
8df6fe3dd1
commit
5ec421ec4a
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package percona-toolkit
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -20,9 +20,9 @@ Name: percona-toolkit
|
||||
Version: 3.0.11
|
||||
Release: 0
|
||||
Summary: Advanced MySQL and system command-line tools
|
||||
License: GPL-2.0
|
||||
License: GPL-2.0-only
|
||||
Group: Productivity/Databases/Tools
|
||||
Url: https://www.percona.com/software/percona-toolkit/
|
||||
URL: https://www.percona.com/software/percona-toolkit/
|
||||
Source: https://www.percona.com/downloads/%{name}/%{version}/tarball/%{name}-%{version}.tar.gz
|
||||
Source2: %{name}.conf
|
||||
Requires: perl(DBD::mysql) >= 1.0
|
||||
@ -32,7 +32,6 @@ Requires: perl(Term::ReadKey) >= 2.10
|
||||
Requires: perl(Time::HiRes)
|
||||
Provides: maatkit = 7410.%{version}
|
||||
Obsoletes: maatkit < 7410
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%if 0%{?suse_version} < 1140
|
||||
Requires: perl = %{perl_version}
|
||||
@ -67,7 +66,7 @@ make %{?_smp_mflags}
|
||||
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
rm -rf %{buildroot}/usr/lib
|
||||
rm -rf %{buildroot}%{_libexecdir}
|
||||
rm -rf %{buildroot}/lib
|
||||
%if 0%{?suse_version} < 1130
|
||||
rm -rf %{buildroot}/%{perl_vendorarch}/auto/%{name}
|
||||
@ -78,11 +77,11 @@ mkdir -p %{buildroot}%{_sysconfdir}/%{name}
|
||||
cp %{SOURCE2} %{buildroot}%{_sysconfdir}/%{name}/
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING README.md Changelog
|
||||
%license COPYING
|
||||
%doc README.md Changelog
|
||||
%dir %{_sysconfdir}/%{name}
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man1/*.1*
|
||||
%{_mandir}/man1/*.1%{?ext_man}
|
||||
%config %{_sysconfdir}/%{name}/%{name}.conf
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user