rpms/olpc-utils/OLPC-2 become_root, NONE, 1.1 olpc-utils.spec, 1.30, 1.31
Michael Stone (mstone)
fedora-extras-commits at redhat.com
Sat Jan 12 05:42:20 UTC 2008
- Previous message (by thread): rpms/snownews/F-7 .cvsignore, 1.4, 1.5 snownews-1.5.7-charset.patch, 1.2, 1.3 snownews.spec, 1.10, 1.11 sources, 1.4, 1.5
- Next message (by thread): rpms/uniconvertor/devel UniConvertor-1.1.0-simplify.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 uniconvertor.spec, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mstone
Update of /cvs/pkgs/rpms/olpc-utils/OLPC-2
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30187
Modified Files:
olpc-utils.spec
Added Files:
become_root
Log Message:
* Fri Jan 12 2008 Michael Stone <michael at laptop.org> - 0.63-2
- Install a simple 'become_root' script to ease dlo#5537.
--- NEW FILE become_root ---
#!/bin/bash
if [ -x /usr/bin/sudo ]; then
sudo su -
else
su -
fi
Index: olpc-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/olpc-utils/OLPC-2/olpc-utils.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- olpc-utils.spec 5 Jan 2008 03:22:42 -0000 1.30
+++ olpc-utils.spec 12 Jan 2008 05:41:42 -0000 1.31
@@ -1,6 +1,6 @@
Name: olpc-utils
Version: 0.63
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: OLPC utilities
URL: http://dev.laptop.org/git?p=projects/olpc-utils;a=summary
Group: System Environment/Base
@@ -14,6 +14,7 @@
# make dist
Source0: olpc-utils-%{version}.tar.bz2
Source100: dot-xsession-example
+Source101: become_root
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# for olpc-dm
@@ -31,6 +32,9 @@
# for olpc-configure
Requires: /usr/bin/find
+# for become_root
+Requires: /bin/su
+
%description
Tools for starting an X session, mapping keys on the OLPC keyboards
@@ -50,6 +54,7 @@
make install DESTDIR=%{buildroot}
install -D -m 0644 %{SOURCE100} $RPM_BUILD_ROOT/etc/skel/.xsession-example
+install -D -m 0755 %{SOURCE101} $RPM_BUILD_ROOT/%{_bindir}/become_root
%post
@@ -81,6 +86,7 @@
%{_bindir}/olpc-session
%{_bindir}/olpc-pwr-prof
%{_bindir}/olpc-pwr-prof-send
+%{_bindir}/become_root
%{_sysconfdir}/profile.d/zzz_olpc.sh
%{_sysconfdir}/cron.d/olpc-pwr-prof.cron
%{_sysconfdir}/motd.olpc
@@ -94,6 +100,9 @@
%changelog
+* Fri Jan 12 2008 Michael Stone <michael at laptop.org> - 0.63-2
+- Install a simple 'become_root' script to ease dlo#5537.
+
* Sat Jan 05 2008 Bernardo Innocenti <bernie at codewiz.org> - 0.63-1
- Rename RPMDIST to DISTVER and DISTVAR to DIST
- dlo#5626: Fix permissions in /home/bernie.
- Previous message (by thread): rpms/snownews/F-7 .cvsignore, 1.4, 1.5 snownews-1.5.7-charset.patch, 1.2, 1.3 snownews.spec, 1.10, 1.11 sources, 1.4, 1.5
- Next message (by thread): rpms/uniconvertor/devel UniConvertor-1.1.0-simplify.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 uniconvertor.spec, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list