Blob Blame History Raw
From d79cc0ca76999082860d635d6913c3fd0655c0a1 Mon Sep 17 00:00:00 2001
From: Christopher Meng <i@cicku.me>
Date: Tue, 21 Jul 2015 20:24:12 +0800
Subject: [PATCH] Fulfill Fedora license file location change

Fedora bleachbit maintainer here:

Owing to the change at https://fedoraproject.org/wiki/Changes/Use_license_macro_in_RPMs_for_packages_in_Cloud_Image, this path should be included.

It's intended for Fedora 21+ and RHEL 7+.
---
 bleachbit/Common.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bleachbit/Common.py b/bleachbit/Common.py
index e15721e..95313fd 100644
--- a/bleachbit/Common.py
+++ b/bleachbit/Common.py
@@ -68,8 +68,8 @@
                          bleachbit_exe_path, 'COPYING'),  # Microsoft Windows
                      '/usr/share/doc/bleachbit-' + APP_VERSION +
                      '/COPYING',  # CentOS, Fedora, RHEL
-                     '/usr/share/doc/packages/bleachbit/COPYING',
-                     # OpenSUSE 11.1
+                     '/usr/share/licenses/bleachbit/COPYING',  # Fedora 21+, RHEL 7+
+                     '/usr/share/doc/packages/bleachbit/COPYING',  # OpenSUSE 11.1
                      '/usr/share/doc/bleachbit/COPYING',  # Mandriva
                      '/usr/pkg/share/doc/bleachbit/COPYING',  # NetBSD 5
                      '/usr/share/licenses/common/GPL3/license.txt')  # Arch Linux