Hello community, here is the log from the commit of package xdg-menu for openSUSE:Factory checked in at 2013-03-12 22:39:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xdg-menu (Old) and /work/SRC/openSUSE:Factory/.xdg-menu.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xdg-menu", Maintainer is "nadvor...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/xdg-menu/xdg-menu.changes 2011-09-23 12:51:04.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xdg-menu.new/xdg-menu.changes 2013-03-12 22:39:04.000000000 +0100 @@ -1,0 +2,7 @@ +Wed Feb 27 19:30:25 UTC 2013 - asterios.dra...@gmail.com + +- Added a patch (xdg-menu-su.patch) to use "su" instead of "sux" to run + commands with root privileges in xdg_menu_su (sux is deprecated). +- Made the package noarch. + +------------------------------------------------------------------- New: ---- xdg-menu-su.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xdg-menu.spec ++++++ --- /var/tmp/diff_new_pack.zSQnPt/_old 2013-03-12 22:39:05.000000000 +0100 +++ /var/tmp/diff_new_pack.zSQnPt/_new 2013-03-12 22:39:05.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package xdg-menu (Version 0.2) +# spec file for package xdg-menu # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,43 +15,39 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: xdg-menu Version: 0.2 -Release: 194 +Release: 0 Summary: XDG Menus for WindowMaker and other Window Managers License: GPL-2.0+ Group: System/GUI/Other -BuildRoot: %{_tmppath}/%{name}-%{version}-build -AutoReqProv: on -Requires: perl-XML-Parser desktop-data xterm -Source: %name.tar.bz2 -Patch: %name-xfce4.patch -Patch1: %name-box.patch -Patch2: %name-twm.patch -Patch3: %name-xfce4-icon.patch -Patch4: %name-gnome-path.patch -Patch5: %name-icewm.patch -Patch6: %name-pekwm.patch -Patch7: %name-translation-bnc463972.patch -Patch8: %name-accept-defaultlayout-bnc529057.patch +Source0: %{name}.tar.bz2 +Patch0: %{name}-xfce4.patch +Patch1: %{name}-box.patch +Patch2: %{name}-twm.patch +Patch3: %{name}-xfce4-icon.patch +Patch4: %{name}-gnome-path.patch +Patch5: %{name}-icewm.patch +Patch6: %{name}-pekwm.patch +Patch7: %{name}-translation-bnc463972.patch +Patch8: %{name}-accept-defaultlayout-bnc529057.patch +# PATCH-FIX-OPENSUSE xdg-menu-su.patch asterios.dra...@gmail.com -- Use "su" instead of "sux" to run commands with root privileges in xdg_menu_su (sux is deprecated) +Patch9: xdg-menu-su.patch +Requires: desktop-data +Requires: perl-XML-Parser +Requires: xterm Requires: perl(Locale::gettext) +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package contains a Perl script which converts XDG menus to formats used by WindowMaker and other window managers. - - -Authors: --------- - Vladimir Nadvornik <nadvor...@suse.cz> - %prep -%setup -n xdg-menu -%patch +%setup -q -n xdg-menu +%patch0 %patch1 -p1 %patch2 %patch3 @@ -60,19 +56,17 @@ %patch6 %patch7 %patch8 +%patch9 %build %install -mkdir -p $RPM_BUILD_ROOT/usr/bin -install -m 755 * $RPM_BUILD_ROOT/usr/bin - -%clean -rm -rf $RPM_BUILD_ROOT +mkdir -p %{buildroot}%{_bindir} +install -pm 0755 * %{buildroot}%{_bindir} %files -%defattr(-,root,root) -/usr/bin/xdg_menu -/usr/bin/xdg_menu_su +%defattr(-,root,root,-) +%{_bindir}/xdg_menu +%{_bindir}/xdg_menu_su %changelog ++++++ xdg-menu-su.patch ++++++ --- xdg_menu_su.orig 2003-09-17 11:23:38.000000000 +0300 +++ xdg_menu_su 2013-02-27 21:01:07.457209243 +0200 @@ -2,5 +2,5 @@ xterm -bg LightGoldenRod -fn 9x15 -geometry 34x4 \ -vb +sb -T "root permission" \ - -e sh -c "echo \"Run command with root privileges\"; echo \"Command: $*\"; sux -c \"/usr/bin/env LANG=${LANG} $*\"" + -e sh -c "echo \"Run command with root privileges\"; echo \"Command: $*\"; su -c \"/usr/bin/env LANG=${LANG} $*\"" -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org