[packages/mysqldumpgrants] requires Encode perl module
glen
glen at pld-linux.org
Fri Dec 16 09:58:50 CET 2016
commit 922760436808d630f2ec3b942a3aee1ca1367047
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Dec 16 10:58:00 2016 +0200
requires Encode perl module
mysqldumpgrants.spec | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/mysqldumpgrants.spec b/mysqldumpgrants.spec
index 99a6cc5..e91417d 100644
--- a/mysqldumpgrants.spec
+++ b/mysqldumpgrants.spec
@@ -3,14 +3,15 @@ Summary: Dumps grants from a MySQL database as valid SQL
Summary(pl.UTF-8): Wyciąganie uprawnień z bazy danych MySQL w postaci poprawnego SQL-a
Name: mysqldumpgrants
Version: 1.0
-Release: 3
+Release: 4
License: GPL
Group: Applications/Databases/Interfaces
-Source0: mysqldumpgrants.pl
+Source0: %{name}.pl
URL: http://forge.mysql.com/tools/tool.php?id=12
BuildRequires: perl-tools-pod
BuildRequires: rpm-perlprov >= 4.1-13
Requires: perl-DBD-mysql
+Requires: perl-Encode
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -18,13 +19,16 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
mysqldumpgrants dumps the grants of a MySQL database as valid SQL
commands.
+this package is not maintained, use mk-show-grants from maatkit
+instead.
+
%description -l pl.UTF-8
mysqldumpgrants wyciąga informacje o uprawnieniach z bazy danych MySQL
w postaci poprawnych poleceń SQL.
%prep
%setup -qcT
-install %{SOURCE0} %{name}
+install -p %{SOURCE0} %{name}
%build
pod2man %{name} > %{name}.1
@@ -32,8 +36,8 @@ pod2man %{name} > %{name}.1
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
-install %{name} $RPM_BUILD_ROOT%{_bindir}
-install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
+install -p %{name} $RPM_BUILD_ROOT%{_bindir}
+cp -p %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mysqldumpgrants.git/commitdiff/922760436808d630f2ec3b942a3aee1ca1367047
More information about the pld-cvs-commit
mailing list