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
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,9 +20,9 @@ Name: percona-toolkit
|
|||||||
Version: 3.0.11
|
Version: 3.0.11
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Advanced MySQL and system command-line tools
|
Summary: Advanced MySQL and system command-line tools
|
||||||
License: GPL-2.0
|
License: GPL-2.0-only
|
||||||
Group: Productivity/Databases/Tools
|
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
|
Source: https://www.percona.com/downloads/%{name}/%{version}/tarball/%{name}-%{version}.tar.gz
|
||||||
Source2: %{name}.conf
|
Source2: %{name}.conf
|
||||||
Requires: perl(DBD::mysql) >= 1.0
|
Requires: perl(DBD::mysql) >= 1.0
|
||||||
@ -32,7 +32,6 @@ Requires: perl(Term::ReadKey) >= 2.10
|
|||||||
Requires: perl(Time::HiRes)
|
Requires: perl(Time::HiRes)
|
||||||
Provides: maatkit = 7410.%{version}
|
Provides: maatkit = 7410.%{version}
|
||||||
Obsoletes: maatkit < 7410
|
Obsoletes: maatkit < 7410
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if 0%{?suse_version} < 1140
|
%if 0%{?suse_version} < 1140
|
||||||
Requires: perl = %{perl_version}
|
Requires: perl = %{perl_version}
|
||||||
@ -67,7 +66,7 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
rm -rf %{buildroot}/usr/lib
|
rm -rf %{buildroot}%{_libexecdir}
|
||||||
rm -rf %{buildroot}/lib
|
rm -rf %{buildroot}/lib
|
||||||
%if 0%{?suse_version} < 1130
|
%if 0%{?suse_version} < 1130
|
||||||
rm -rf %{buildroot}/%{perl_vendorarch}/auto/%{name}
|
rm -rf %{buildroot}/%{perl_vendorarch}/auto/%{name}
|
||||||
@ -78,11 +77,11 @@ mkdir -p %{buildroot}%{_sysconfdir}/%{name}
|
|||||||
cp %{SOURCE2} %{buildroot}%{_sysconfdir}/%{name}/
|
cp %{SOURCE2} %{buildroot}%{_sysconfdir}/%{name}/
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%license COPYING
|
||||||
%doc COPYING README.md Changelog
|
%doc README.md Changelog
|
||||||
%dir %{_sysconfdir}/%{name}
|
%dir %{_sysconfdir}/%{name}
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man1/*.1*
|
%{_mandir}/man1/*.1%{?ext_man}
|
||||||
%config %{_sysconfdir}/%{name}/%{name}.conf
|
%config %{_sysconfdir}/%{name}/%{name}.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user