- Cleanup spec file
- Fetch correct sources OBS-URL: https://build.opensuse.org/package/show/server:database/percona-toolkit?expand=0&rev=75
This commit is contained in:
parent
49c4c16f29
commit
5080a7cc39
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:1a4a5a2a9778bbb0f6959b5a8e5f46099e03d974c35ac49fc630af1a78837728
|
oid sha256:0a71e3bfa1eec7c9d8941080d2852d4d4354c2c1fe303f2f28f6352627549d16
|
||||||
size 22139239
|
size 15342520
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 26 07:40:18 UTC 2021 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Cleanup spec file
|
||||||
|
- Fetch correct sources
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Apr 24 08:12:21 UTC 2021 - Denys Kondratenko <stdden@opensuse.org>
|
Sat Apr 24 08:12:21 UTC 2021 - Denys Kondratenko <stdden@opensuse.org>
|
||||||
|
|
||||||
|
@ -33,11 +33,7 @@ Requires: perl(Time::HiRes)
|
|||||||
Provides: maatkit = 7410.%{version}
|
Provides: maatkit = 7410.%{version}
|
||||||
Obsoletes: maatkit < 7410
|
Obsoletes: maatkit < 7410
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if 0%{?suse_version} < 1140
|
|
||||||
Requires: perl = %{perl_version}
|
|
||||||
%else
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Percona Toolkit is a collection of advanced command-line tools used by
|
Percona Toolkit is a collection of advanced command-line tools used by
|
||||||
@ -56,7 +52,7 @@ visit http://www.percona.com/software/.
|
|||||||
This collection was formerly known as Maatkit.
|
This collection was formerly known as Maatkit.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor < /dev/null
|
perl Makefile.PL INSTALLDIRS=vendor < /dev/null
|
||||||
@ -65,15 +61,12 @@ sed -i 's|%{_bindir}/env bash|%{_bindir}/bash|' bin/*
|
|||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
rm -rf %{buildroot}%{_prefix}/lib
|
rm -rf %{buildroot}%{_prefix}/lib
|
||||||
rm -rf %{buildroot}/lib
|
rm -rf %{buildroot}/lib
|
||||||
%if 0%{?suse_version} < 1130
|
|
||||||
rm -rf %{buildroot}/%{perl_vendorarch}/auto/%{name}
|
rm -rf %{buildroot}/%{perl_vendorarch}/auto/%{name}
|
||||||
rm -rf %{buildroot}%{_localstatedir}/adm/perl-modules/%{name}
|
rm -rf %{buildroot}%{_localstatedir}/adm/perl-modules/%{name}
|
||||||
%endif
|
|
||||||
# a blank configuration file
|
# a blank configuration file
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/%{name}
|
mkdir -p %{buildroot}%{_sysconfdir}/%{name}
|
||||||
cp %{SOURCE2} %{buildroot}%{_sysconfdir}/%{name}/
|
cp %{SOURCE2} %{buildroot}%{_sysconfdir}/%{name}/
|
||||||
|
Loading…
Reference in New Issue
Block a user