Hello community,
here is the log from the commit of package osc
checked in at Wed May 16 16:22:22 CEST 2007.
--------
--- osc/osc.changes 2007-05-12 23:26:42.000000000 +0200
+++ /mounts/work_src_done/STABLE/osc/osc.changes 2007-05-14 12:14:58.000000000 +0200
@@ -1,0 +2,7 @@
+Mon May 14 12:13:00 CEST 2007 - poeml@suse.de
+
+- update to r1657:
+ - rebuildpac: fix mistyped repository parameter
+ - build: add --userootforbuild option
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ osc.spec ++++++
--- /var/tmp/diff_new_pack.Io5918/_old 2007-05-16 16:21:40.000000000 +0200
+++ /var/tmp/diff_new_pack.Io5918/_new 2007-05-16 16:21:40.000000000 +0200
@@ -13,7 +13,7 @@
Name: osc
BuildRequires: python-devel
Version: 0.96
-Release: 6
+Release: 8
Group: Development/Tools/Other
License: GNU General Public License (GPL)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -63,6 +63,10 @@
%doc README TODO NEWS
%changelog
+* Mon May 14 2007 - poeml@suse.de
+- update to r1657:
+ - rebuildpac: fix mistyped repository parameter
+ - build: add --userootforbuild option
* Sat May 12 2007 - poeml@suse.de
- update to r1655:
- build: fix bug introduced with r1652: for the buildinfo, POST
++++++ debian.changelog ++++++
--- osc/debian.changelog 2007-05-12 23:28:20.000000000 +0200
+++ /mounts/work_src_done/STABLE/osc/debian.changelog 2007-05-14 12:16:44.000000000 +0200
@@ -1,3 +1,10 @@
+osc (0.96-5) unstable; urgency=high
+ * update to r1657:
+ - rebuildpac: fix mistyped repository parameter
+ - build: add --userootforbuild option
+
+ -- Peter Poeml Mon, 14 May 2007 00:00:00 +0200
+
osc (0.96-4) unstable; urgency=high
* update to r1655:
- build: fix bug introduced with r1652: for the buildinfo, POST the
++++++ osc-0.96.tar.gz ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/osc-0.96/osc/build.py new/osc-0.96/osc/build.py
--- old/osc-0.96/osc/build.py 2007-05-12 22:18:23.000000000 +0200
+++ new/osc-0.96/osc/build.py 2007-05-14 10:29:50.000000000 +0200
@@ -212,6 +212,8 @@
spec = argv[2]
buildargs = []
+ if not opts.userootforbuild:
+ buildargs.append('--norootforbuild')
if opts.clean:
buildargs.append('--clean')
if opts.noinit:
@@ -314,7 +316,7 @@
print 'Running build'
- cmd = '%s --root=%s --norootforbuild --rpmlist=%s --dist=%s %s %s' \
+ cmd = '%s --root=%s --rpmlist=%s --dist=%s %s %s' \
% (config['build-cmd'],
config['build-root'],
rpmlist_file.name,
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/osc-0.96/osc/commandline.py new/osc-0.96/osc/commandline.py
--- old/osc-0.96/osc/commandline.py 2007-05-10 16:29:04.000000000 +0200
+++ new/osc-0.96/osc/commandline.py 2007-05-14 10:29:50.000000000 +0200
@@ -1062,6 +1062,10 @@
help='Save built packages into this directory')
@cmdln.option('-x', '--extra-pkgs', metavar='PAC', action='append',
help='Add this package when installing the build-root')
+ @cmdln.option('--userootforbuild', action='store_true',
+ help='Run build as root. The default is to build as '
+ 'unprivileged user. Note that a line "# norootforbuild" '
+ 'in the spec file will invalidate this option.')
def do_build(self, subcmd, opts, *args):
"""${cmd_name}: Build a package on your local machine
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/osc-0.96/osc/core.py new/osc-0.96/osc/core.py
--- old/osc-0.96/osc/core.py 2007-05-10 15:52:13.000000000 +0200
+++ new/osc-0.96/osc/core.py 2007-05-14 12:13:47.000000000 +0200
@@ -1322,7 +1322,7 @@
if package:
query.append('package=%s' % quote_plus(package))
if repo:
- query.append('repo=%s' % quote_plus(repo))
+ query.append('repository=%s' % quote_plus(repo))
if arch:
query.append('arch=%s' % quote_plus(arch))
if code:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org