[packages/phpMyAdmin] fix rpmlint E: backup-file-in-package

glen glen at pld-linux.org
Wed Feb 5 00:15:43 CET 2014


commit 218e7bb64d4711102e4831277bf2a5d6af95bb55
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Feb 5 01:13:42 2014 +0200

    fix rpmlint E: backup-file-in-package

 phpMyAdmin.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/phpMyAdmin.spec b/phpMyAdmin.spec
index 012cb6c..7c7fc04 100644
--- a/phpMyAdmin.spec
+++ b/phpMyAdmin.spec
@@ -89,6 +89,9 @@ podręcznika MySQL). Aktualnie phpMyAdmin potrafi:
 %patch1 -p0
 %patch2 -p0
 
+# cleanup backups after patching
+find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/phpMyAdmin.git/commitdiff/218e7bb64d4711102e4831277bf2a5d6af95bb55



More information about the pld-cvs-commit mailing list