File project.diff of Package osc

--- debian.changelog.orig
+++ debian.changelog
@@ -1,3 +1,9 @@
+osc (0.119-1) unstable; urgency=high
+  - fixed Exception handling bug in upstream
+  - Debian packaging now works with lenny and etch
+
+ -- Marko Jung <marko.jung@oucs.ox.ac.uk>  Thu,  03 Jun  2009 15:00:00 +0100
+
 osc (0.117-1) unstable; urgency=high
   - new repairlink command for repairing a broken source link (requires server version 1.6)
   - new vc command for editing the changes files (requires build.rpm 2009.04.17 or newest)
--- osc.changes.orig
+++ osc.changes
@@ -1,4 +1,46 @@
 -------------------------------------------------------------------
+Wed Jun  3 13:45:52 CEST 2009 - adrian@suse.de
+
+- update to r7475 (version 0.119)
+  - Support new request types
+    - "submitreq" command has a new syntax (incompatible !)
+    - new "deleterequest" command
+    - new "changedevelrequest" command
+    - new "request" command for showing/modifing requests
+    - Multiple actions in one request is not yet supported by osc
+    - The new commands require an OBS 1.7 server, submitreq is still working with
+      older servers.
+  - support of added .changes in commit message template
+  - make submit request listing fast by server side filtering
+  - allow pulling of conflicting changes via "osc repairlink"
+  - delete commands consolidated:
+    * deleteprj and deletepac are obsolete.
+    * delete and rdelete take over
+  - enable package tracking by default
+  - bugfix: templates in edit commit message causes an empty commit logs
+  - osc submitrequest consumes DESTPRJ [DESTPKG] arguments only
+  - osc build now also tested on native arm targets where uname -m reports a string
+    like armv{4l,5el,6l,7el,7l}
+  - osc rlog now works with srcmd5 also
+  - plugins now should be placed in /usr/lib/osc-plugins to match FHS (the /var path
+    is still supported though)
+  - osc now includes automatically generated man page
+  - osc can now store credentials in Gnome keyring if it is available
+  - new support for osc linkpac to specify cicount attribute
+  - new log/rlog output formats (CSV and XML)
+  - new jobhistory/buildhistory/search output format (CSV)
+  - new option to fetch buildlogs starting at given offset
+  - new option for copypac
+    * -r to specify source revision
+    * -m to specify a comment (and send default comment if not specified)
+  - new option to results(r), and rresults:
+    * -r|--repo to specify a repository(repositories)
+    * -a|--arch to specify a architexure(s)
+    * --xml for xml output (makes results_meta obsolete)
+  - request list -M shows open SRs created by the user.
+  - Fixed build support for images, only refered packages from buildinfo get used. (#485047)
+
+-------------------------------------------------------------------
 Wed Apr 22 13:19:28 CEST 2009 - adrian@suse.de
 
 - update to r7162 (version 0.117)
--- osc.dsc.orig
+++ osc.dsc
@@ -1,8 +1,8 @@
 Format: 1.0
 Source: osc
-Version: 0.117-1
+Version: 0.119-1
 Binary: osc
 Maintainer: Adrian Schroeter <adrian@suse.de>
 Architecture: any
 Standards-Version: 3.7.1
-Build-Depends: debhelper (>= 4.0.0), python-dev
+Build-Depends: debhelper (>= 4.0.0), python-dev, python-celementtree
--- osc.spec.orig
+++ osc.spec
@@ -12,7 +12,7 @@
 
 Name:           osc
 BuildRequires:  python-devel
-Version:        0.117
+Version:        0.119
 Release:        0
 Group:          Development/Tools/Other
 License:        GNU General Public License (GPL)
@@ -20,27 +20,26 @@ BuildRoot:      %{_tmppath}/%{name}-%{ve
 URL:            https://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/clientlib/python/osc/
 # v=0.114; svn export https://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/clientlib/python/osc osc-$v && tar czf osc-$v.tar.gz osc-$v
 Source:         osc-%{version}.tar.gz
-Patch:          TRUNK.diff
 Summary:        openSUSE (build service) commander
 Requires:       python-urlgrabber
 #
 %if 0%{?suse_version}
 %if %suse_version < 1020
+BuildRequires:  python-elementtree
 Requires:       python-elementtree
 %else
+BuildRequires:  python-xml
 Requires:       python-xml
-Recommends:     build > 2009.04.22
 %endif
 %if %suse_version > 1000
 Recommends:     rpm-python
+Recommends:     build > 2009.06.03
 %endif
 %endif
-#
-%if 0%{?fedora_version}
-%if %fedora_version < 7
+%if 0%{?rhel_version} || 0%{?centos_version}
+BuildRequires:  python-elementtree
 Requires:       python-elementtree
 %endif
-%endif
 #
 %{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
@@ -59,8 +58,7 @@ See AUTHORS file in the package or
 https://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/clientlib/python/osc/AUTHORS
 
 %prep
-%setup -q -n osc-%{version}
-%patch
+%setup -q
 
 %build
 CFLAGS="%{optflags}" \
@@ -80,5 +78,6 @@ mkdir -p %{buildroot}/var/lib/osc-plugin
 %{python_sitelib}/*
 %dir /var/lib/osc-plugins
 %doc AUTHORS README TODO NEWS
+%doc %_mandir/man1/osc.*
 
 %changelog
openSUSE Build Service is sponsored by