Hello community, here is the log from the commit of package bleachbit for openSUSE:Factory checked in at Mon Aug 29 10:54:17 CEST 2011.
-------- --- bleachbit/bleachbit.changes 2011-06-15 21:47:01.000000000 +0200 +++ /mounts/work_src_done/STABLE/bleachbit/bleachbit.changes 2011-08-28 11:55:06.000000000 +0200 @@ -1,0 +2,27 @@ +Sun Aug 28 09:53:37 UTC 2011 - sascha.ma...@open-slx.de + +- finished bug bnc#712471 + + make fit for using with Kernel >= 3.x + +------------------------------------------------------------------- +Sat Aug 27 10:28:22 UTC 2011 - sascha.ma...@open-slx.de + +- rewritten Patch bleachbit-bnc712471.patch + +------------------------------------------------------------------- +Thu Aug 25 16:26:08 UTC 2011 - sascha.ma...@open-slx.de + +- Updated Patch with using Larry Fingers proposals in bnc#712471 + +------------------------------------------------------------------- +Wed Aug 24 10:30:30 UTC 2011 - sascha.ma...@open-slx.de + +- fixed Bug bnc#712471 (fix for using Linux Kernel > 3) thanks to + Larry Finger for helping out + +------------------------------------------------------------------- +Wed Aug 17 21:30:34 UTC 2011 - sascha.ma...@open-slx.de + +- removed the *.py[co] remover + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- bleachbit-bnc712471.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bleachbit.spec ++++++ --- /var/tmp/diff_new_pack.xOuPVF/_old 2011-08-29 10:53:01.000000000 +0200 +++ /var/tmp/diff_new_pack.xOuPVF/_new 2011-08-29 10:53:01.000000000 +0200 @@ -2,7 +2,8 @@ # spec file for package bleachbit # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. -# Copyright (c) 2010 - 2011 by Sascha Manns <saigk...@opensuse.org> +# Copyright (c) 8/2011 by open-slx GmbH <sascha.ma...@open-slx.de> +# Copyright (c) 2010 - 7/2011 by Sascha Manns <saigk...@opensuse.org> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +21,7 @@ Name: bleachbit Version: 0.8.8 -Release: 1 +Release: 4 License: GPL v3 only Summary: Remove unnecessary files, free space, and maintain privacy BuildRequires: fdupes @@ -37,6 +38,8 @@ Group: Productivity/File utilities Source0: %{name}-%{version}.tar.bz2 Source1: %{name}.desktop +# Bugreport #712471 +Patch0: %{name}-bnc712471.patch Requires: python-gnome Requires: python-gtk >= 2.6 Requires: xdg-utils @@ -58,6 +61,7 @@ %prep %setup -q +%patch0 -p0 %__sed -i -e 's|%{_bindir}/env python|%{_bindir}/python|g' \ bleachbit/GUI.py @@ -83,7 +87,7 @@ %find_lang %{name} %fdupes -s %{buildroot} -%__rm %{buildroot}%{_datadir}/%{name}/*.py[co] +#%%__rm %{buildroot}%%{_datadir}/%%{name}/*.py[co] # Hack to fix non-executable-script %{__chmod} +x %{buildroot}%{_datadir}/%{name}/CLI.py ++++++ bleachbit-bnc712471.patch ++++++ Index: bleachbit/Cleaner.py =================================================================== --- bleachbit/Cleaner.py.orig +++ bleachbit/Cleaner.py @@ -373,7 +373,7 @@ class System(Cleaner): self.add_option('rotated_logs', _('Rotated logs'), _('Delete old system logs')) self.add_option('recent_documents', _('Recent documents list'), _('Delete the list of recently used documents')) self.add_option('trash', _('Trash'), _('Empty the trash')) - if 'linux2' == sys.platform: + if sys.platform.startswith('linux'): self.add_option('memory', _('Memory'), \ # TRANSLATORS: 'free' means 'unallocated' _('Wipe the swap and free memory')) @@ -479,7 +479,7 @@ class System(Cleaner): files += [ globbed ] # memory - if 'linux2' == sys.platform and 'memory' == option_id: + if sys.platform.startswith('linux') and 'memory' == option_id: yield Command.Function(None, Memory.wipe_memory, _('Memory')) # memory dump Index: bleachbit/CleanerML.py =================================================================== --- bleachbit/CleanerML.py.orig +++ bleachbit/CleanerML.py @@ -74,7 +74,7 @@ class CleanerML: if len(os_str) == 0 or None != self.xlate_cb: return True # Otherwise, check platform. - if os_str == 'linux' and sys.platform == 'linux2': + if os_str == 'linux' and sys.platform.startswith('linux'): return True if os_str == 'windows' and sys.platform == 'win32': return True Index: bleachbit/Common.py =================================================================== --- bleachbit/Common.py.orig +++ bleachbit/Common.py @@ -91,7 +91,7 @@ personal_cleaners_dir = os.path.join(opt # system cleaners system_cleaners_dir = None -if sys.platform == 'linux2': +if sys.platform.startswith('linux'): system_cleaners_dir = '/usr/share/bleachbit/cleaners' elif sys.platform == 'win32': system_cleaners_dir = os.path.join(bleachbit_exe_path, 'share\\cleaners\\') @@ -119,7 +119,7 @@ if os.path.exists("./locale/"): print "debug: locale_dir = '%s'" % (locale_dir, ) else: # system-wide installed locale - if sys.platform == 'linux2': + if sys.platform.startswith('linux'): locale_dir = "/usr/share/locale/" elif sys.platform == 'win32': locale_dir = os.path.join(bleachbit_exe_path, 'share\\locale\\') Index: bleachbit/Diagnostic.py =================================================================== --- bleachbit/Diagnostic.py.orig +++ bleachbit/Diagnostic.py @@ -59,7 +59,7 @@ def diagnostic_info(): for env in envs: s += "\nos.getenv('%s') = %s" % (env, os.getenv(env)) s += "\nos.expanduser('~') = %s" % os.path.expanduser('~') - if 'linux2' == sys.platform: + if sys.platform.startswith('linux'): if hasattr(platform, 'linux_distribution'): s += "\nplatform.linux_distribution() = %s" % str(platform.linux_distribution()) else: Index: bleachbit/General.py =================================================================== --- bleachbit/General.py.orig +++ bleachbit/General.py @@ -152,7 +152,7 @@ def run_external(args, stdout = False, e def sudo_mode(): """Return whether running in sudo mode""" - if 'linux2' != sys.platform: + if not sys.platform.startswith('linux'): return False #if 'root' == os.getenv('USER'): Index: bleachbit/Memory.py =================================================================== --- bleachbit/Memory.py.orig +++ bleachbit/Memory.py @@ -200,7 +200,7 @@ def physical_free_windows(): def physical_free(): - if 'linux2' == sys.platform: + if sys.platform.startswith('linux'): return physical_free_linux() elif 'win32' == sys.platform: return physical_free_windows() Index: bleachbit/Update.py =================================================================== --- bleachbit/Update.py.orig +++ bleachbit/Update.py @@ -82,7 +82,7 @@ def user_agent(): if sys.platform == "win32": # misleading: Python 2.5.4 shows uname()[2] as Vista on Windows 7 __os = platform.uname()[3][0:3] # 5.1 = Windows XP, 6.0 = Vista, 6.1 = 7 - elif sys.platform == 'linux2': + elif sys.platform.startswith('linux'): dist = platform.dist() # example: ('fedora', '11', 'Leonidas') # example: ('', '', '') for Arch Linux ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org