File project.diff of Package osc

--- osc.changes.orig
+++ osc.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Sun Aug 16 14:29:49 CEST 2009 - suse-tux@gmx.de
+
+- initial build of the osc oauth version
+
+-------------------------------------------------------------------
 Thu Jun 18 19:16:22 CEST 2009 - adrian@suse.de
 
 - use completion script from tar ball
--- osc.spec.orig
+++ osc.spec
@@ -20,16 +20,16 @@
 
 Name:           osc
 BuildRequires:  python-devel
-Version:        0.120
-Release:        1
+Version:        0.120.001
+Release:        0
 Group:          Development/Tools/Other
 License:        GPL v2 or later
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 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
+Source:         osc-oauth.tar.bz2
 Summary:        openSUSE (build service) commander
-Requires:       python-urlgrabber
+Requires:       python-urlgrabber, python-oauth
 #
 %if 0%{?suse_version}
 %if %suse_version < 1020
@@ -65,7 +65,7 @@ Authors:
     Peter Poeml <poeml@suse.de>
 
 %prep
-%setup -q
+%setup -q -n osc-oauth
 
 %build
 CFLAGS="%{optflags}" \
@@ -77,9 +77,9 @@ ln -s osc-wrapper.py %{buildroot}/%{_bin
 mkdir -p %{buildroot}/var/lib/osc-plugins
 mkdir -p %{buildroot}%{_prefix}/%{_lib}/osc
 mkdir -p %{buildroot}%{_sysconfdir}/profile.d
-install -m 0755 dist/osc.complete %{buildroot}%{_prefix}/%{_lib}/osc/complete
-install -m 0755 dist/complete.csh %{buildroot}%{_sysconfdir}/profile.d/osc.csh
-install -m 0755 dist/complete.sh %{buildroot}%{_sysconfdir}/profile.d/osc.sh
+#install -m 0755 dist/osc.complete %{buildroot}%{_prefix}/%{_lib}/osc/complete
+#install -m 0755 dist/complete.csh %{buildroot}%{_sysconfdir}/profile.d/osc.csh
+#install -m 0755 dist/complete.sh %{buildroot}%{_sysconfdir}/profile.d/osc.sh
 
 %clean
 %{__rm} -rf %{buildroot}
@@ -88,9 +88,9 @@ install -m 0755 dist/complete.sh %{build
 %defattr(-,root,root)
 %{_bindir}/osc*
 %{python_sitelib}/*
-%{_sysconfdir}/profile.d/*
+#%{_sysconfdir}/profile.d/*
 %dir %{_prefix}/%{_lib}/osc
-%{_prefix}/%{_lib}/osc/*
+#%{_prefix}/%{_lib}/osc/*
 %dir /var/lib/osc-plugins
 %doc AUTHORS README TODO NEWS
 %doc %_mandir/man1/osc.*
openSUSE Build Service is sponsored by