From e508ef4560da12c816f58791be8159ff78df37b21707de721d261aad3f85748a Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 7 Feb 2007 18:37:28 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kbd?expand=0&rev=2 --- kbd.changes | 5 +++++ kbd.spec | 14 +++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/kbd.changes b/kbd.changes index 3f2bb2a..25e1fe8 100644 --- a/kbd.changes +++ b/kbd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 7 18:31:11 CET 2007 - ro@suse.de + +- do not build as root + ------------------------------------------------------------------- Mon Oct 23 15:05:04 CEST 2006 - olh@suse.de diff --git a/kbd.spec b/kbd.spec index b67f66c..9cc0dc8 100644 --- a/kbd.spec +++ b/kbd.spec @@ -1,21 +1,22 @@ # # spec file for package kbd (Version 1.12) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +# norootforbuild Name: kbd URL: ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/utils/kbd -License: GNU General Public License (GPL) - all versions +License: GNU General Public License (GPL) Group: System/Console Autoreqprov: on Version: 1.12 -Release: 80 +Release: 92 Summary: Keyboard and Font Utilities Source: ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/utils/kbd/%{name}-%{version}.tar.bz2 Source1: kbd_fonts.tar.bz2 @@ -212,8 +213,8 @@ done ) FILLUP_DIR=$RPM_BUILD_ROOT/var/adm/fillup-templates mkdir -p $FILLUP_DIR -install -o root -g root %SOURCE8 $FILLUP_DIR/sysconfig.console -install -o root -g root %SOURCE9 $FILLUP_DIR/sysconfig.keyboard +install %SOURCE8 $FILLUP_DIR/sysconfig.console +install %SOURCE9 $FILLUP_DIR/sysconfig.keyboard %ifarch %ix86 alpha ia64 x86_64 cat %SOURCE5 >> $FILLUP_DIR/sysconfig.keyboard %else @@ -241,6 +242,7 @@ install -m 755 ./testutf8 $RPM_BUILD_ROOT/bin/ %{insserv_cleanup} %files +%defattr(-,root,root) #%config(noreplace) /etc/sysconfig/console %doc %{_defaultdocdir}/kbd #%doc COPYING CHANGES README CREDITS @@ -318,6 +320,8 @@ rm -rf $RPM_BUILD_ROOT #rm -rf $RPM_BUILD_DIR/kbd-%{version} %changelog -n kbd +* Wed Feb 07 2007 - ro@suse.de +- do not build as root * Mon Oct 23 2006 - olh@suse.de - update mac-de []|{} mapping to match the X11 and MacOS mapping * Fri Aug 11 2006 - jw@suse.de