From 95a6a64ceddace9539b08b091c9f968d657b5b67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Hor=C3=A1k?= Date: Wed, 12 Dec 2012 16:50:50 +0100 Subject: [PATCH] Use --no-backup-if-mismatch to prevent including backup files --- mysql.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mysql.spec b/mysql.spec index cdfcf4f..a6facc5 100644 --- a/mysql.spec +++ b/mysql.spec @@ -81,6 +81,11 @@ Obsoletes: mysql-cluster < 5.1.44 %global __perl_requires %{SOURCE999} %global __perllib_requires %{SOURCE999} +# patch utility does automatically back-up of chunks that didn't apply +# smoothly, but we don't want to create that files because they could be +# included in RPM incorrectly +%global _default_patch_flags --no-backup-if-mismatch + %description MySQL is a multi-user, multi-threaded SQL database server. MySQL is a client/server implementation consisting of a server daemon (mysqld) @@ -707,6 +712,7 @@ fi %changelog * Thu Dec 6 2012 Honza Horak 5.5.28-3 - Rebase patches to not leave backup files when not applied smoothly +- Use --no-backup-if-mismatch to prevent including backup files * Wed Dec 5 2012 Tom Lane 5.5.28-2 - Add patch for CVE-2012-5611