From 5ec421ec4ae27d70daf6cc2f7ed9055bb6015020eec0ae7f8eab0720ddf08b16 Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Fri, 17 Aug 2018 12:03:23 +0000 Subject: [PATCH] clean OBS-URL: https://build.opensuse.org/package/show/server:database/percona-toolkit?expand=0&rev=60 --- percona-toolkit.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/percona-toolkit.spec b/percona-toolkit.spec index 3af5264..3524fad 100644 --- a/percona-toolkit.spec +++ b/percona-toolkit.spec @@ -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