--- libzypp-9.8.3.orig/debian/control
+++ libzypp-9.8.3/debian/control
@@ -0,0 +1,26 @@
+Source: libzypp
+Section: lib
+Priority: optional
+Maintainer: Gui Chen <gui.chen@intel.com>
+Build-Depends: debhelper (>= 4.0.0), dpatch, cdbs, cmake, g++, zlib1g-dev, libssl-dev, libdb-dev, libudev-dev | libhal-dev, libboost1.46-dev | libboost1.49-dev | libboost1.53-dev | libboost1.54-dev | libboost1.55-dev, libboost-signals1.46-dev | libboost-signals1.49-dev | libboost-signals1.53-dev | libboost-signals1.54-dev | libboost-signals1.55-dev, libboost-program-options1.46-dev | libboost-program-options1.49-dev | libboost-program-options1.53-dev | libboost-program-options1.54-dev | libboost-program-options1.55-dev | libboost-test-dev, dejagnu, doxygen, gettext, graphviz, libxml2-dev, libsatsolver-dev, ruby, libexpat1-dev, librpm-dev, libglib2.0-dev, libpopt-dev, libcurl4-openssl-dev 
+Standards-Version: 3.7.1
+Homepage: git://gitorious.org/opensuse/libzypp.git
+
+Package: libzypp
+Architecture: amd64 i386
+Depends: satsolver-tools (>=0.17.0), uuid-runtime, e2fsprogs, gnupg2, libcurl3, librpm0 | librpm1 | librpm2 | librpm3
+Provides: tizen-libzypp-20131212
+Description: Package, Patch, Pattern, and Product Management
+ libzypp is a package, patch, pattern and product management
+ library, zypper used it to manage rpm packages, it is developed
+ by SUSE developers and used by Novell SUSE distros.
+
+Package: libzypp-dev
+Architecture: amd64 i386
+Depends: libzypp (>= 9.8.3), libxml2-dev, libssl-dev, libdb-dev, librpm-dev, libc6-dev, zlib1g-dev, bzip2, libpopt-dev, libboost1.46-dev | libboost1.49-dev | libboost1.53-dev | libboost1.54-dev | libboost1.55-dev, libboost-signals1.46-dev | libboost-signals1.49-dev | libboost-signals1.53-dev | libboost-signals1.54-dev | libboost-signals1.55-dev , libboost-program-options1.46-dev | libboost-program-options1.49-dev | libboost-program-options1.53-dev | libboost-program-options1.54-dev | libboost-program-options1.55-dev, libudev-dev | libhal-dev, libstdc++6-4.3-dev | libstdc++6-4.4-dev | libstdc++6-4.5-dev, cmake, libcurl4-openssl-dev, libsatsolver-dev
+Description: Package, Patch, Pattern, and Product Management
+ libzypp is a package, patch, pattern and product management
+ library, zypper used it to manage rpm packages, it is developed
+ by SUSE developers and used by Novell SUSE distros.
+ .
+ This package contains development files for libzypp.
--- libzypp-9.8.3.orig/debian/rules
+++ libzypp-9.8.3/debian/rules
@@ -0,0 +1,84 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+unexport LDFLAGS
+
+build: build-stamp
+patch: patch-stamp
+patch-stamp:
+	dh_testdir
+	dpatch apply-all
+	dpatch cat-all > patch-stampT
+	mv -f patch-stampT patch-stamp
+
+unpatch:
+	dpatch deapply-all
+	rm -rf patch-stampT patch-stamp debian/patched
+
+build-stamp: patch-stamp
+	dh_testdir
+	cmake -DCMAKE_INSTALL_PREFIX=/usr -DDOC_INSTALL_DIR=/usr/share/doc -DLIB=lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_RPATH=1
+	make VERBOSE=1  
+	make -C doc/autodoc
+	make -C po translations
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Cleaning package
+	[ ! -f Makefile ] || $(MAKE) clean
+	rm -rf build
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Installing package
+	mkdir -p $(CURDIR)/debian/libzypp
+	make DESTDIR=$(CURDIR)/debian/libzypp install
+	make install DESTDIR=$(CURDIR)/debian/libzypp
+	make -C doc/autodoc install DESTDIR=$(CURDIR)/debian/libzypp 
+	mkdir -p $(CURDIR)/debian/libzypp/etc/zypp/repos.d  
+	mkdir -p $(CURDIR)/debian/libzypp/etc/zypp/services.d  
+	mkdir -p $(CURDIR)/debian/libzypp/usr/lib/zypp  
+	mkdir -p $(CURDIR)/debian/libzypp/usr/lib/zypp/plugins  
+	mkdir -p $(CURDIR)/debian/libzypp/usr/lib/zypp/plugins/commit  
+	mkdir -p $(CURDIR)/debian/libzypp/usr/lib/zypp/plugins/services  
+	mkdir -p $(CURDIR)/debian/libzypp/usr/lib/zypp/plugins/system  
+	mkdir -p $(CURDIR)/debian/libzypp/usr/lib/zypp/plugins/urlresolver  
+	mkdir -p $(CURDIR)/debian/libzypp/var/lib/zypp  
+	mkdir -p $(CURDIR)/debian/libzypp/var/log/zypp  
+	mkdir -p $(CURDIR)/debian/libzypp/var/cache/zypp
+	make -C po install DESTDIR=$(CURDIR)/debian/libzypp
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_install
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- libzypp-9.8.3.orig/debian/changelog
+++ libzypp-9.8.3/debian/changelog
@@ -0,0 +1,10 @@
+libzypp (9.8.3-tizen20131209) unstable; urgency=low
+
+  * Update to 9.8.3
+
+ -- Gui Chen <gui.chen@intel.com>  Thu, 28 July 2011 10:37:32 +0800
+libzypp (8.8.0) unstable; urgency=low
+
+  * Debianized
+
+ -- Yi Yang <yi.y.yang@intel.com>  Tue, 23 Nov 2010 16:40:52 +0800
--- libzypp-9.8.3.orig/debian/patches/fix-gcc47-build.patch
+++ libzypp-9.8.3/debian/patches/fix-gcc47-build.patch
@@ -0,0 +1,109 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 03-ubuntu-fix.patch
+##
+##
+
+@DPATCH@
+
+diff --git a/zypp/ExternalProgram.h b/zypp/ExternalProgram.h
+index dd5b089..31a293a 100644
+--- a/zypp/ExternalProgram.h
++++ b/zypp/ExternalProgram.h
+@@ -13,6 +13,8 @@
+ #ifndef ZYPP_EXTERNALPROGRAM_H
+ #define ZYPP_EXTERNALPROGRAM_H
+ 
++#include <unistd.h>
++
+ #include <map>
+ #include <string>
+ #include <vector>
+diff --git a/zypp/base/PtrTypes.h b/zypp/base/PtrTypes.h
+index 8af6174..f716807 100644
+--- a/zypp/base/PtrTypes.h
++++ b/zypp/base/PtrTypes.h
+@@ -361,6 +361,15 @@ namespace zypp
+ 
+     ///////////////////////////////////////////////////////////////////
+ 
++    /** \relates RWCOW_pointer Clone the underlying object.
++     * Calls \a rhs <tt>-\>clone()</tt>. Being defined as a
++     * function outside \ref RWCOW_pointer allows to overload
++     * it, in case a specific \a _D does not have <tt>clone()</tt>.
++    */
++    template<class _D>
++      inline _D * rwcowClone( const _D * rhs )
++      { return rhs->clone(); }
++
+     ///////////////////////////////////////////////////////////////////
+     //
+     //	CLASS NAME : RWCOW_pointer
+@@ -448,17 +457,6 @@ namespace zypp
+       };
+     ///////////////////////////////////////////////////////////////////
+ 
+-    /** \relates RWCOW_pointer Clone the underlying object.
+-     * Calls \a rhs <tt>-\>clone()</tt>. Being defined as a
+-     * function outside \ref RWCOW_pointer allows to overload
+-     * it, in case a specific \a _D does not have <tt>clone()</tt>.
+-    */
+-    template<class _D>
+-      inline _D * rwcowClone( const _D * rhs )
+-      { return rhs->clone(); }
+-
+-    ///////////////////////////////////////////////////////////////////
+-
+     /** \relates RWCOW_pointer Stream output.
+      *
+      * Print the \c _D object the RWCOW_pointer refers, or \c "NULL"
+diff --git a/zypp/base/Random.cc b/zypp/base/Random.cc
+index 123da94..7916903 100644
+--- a/zypp/base/Random.cc
++++ b/zypp/base/Random.cc
+@@ -1,4 +1,5 @@
+ 
++#include <unistd.h>
+ #include <cstdlib>
+ #include <cstdio>
+ #include <iostream>
+diff --git a/zypp/base/Tr1hash.h b/zypp/base/Tr1hash.h
+index 617febe..8271be1 100644
+--- a/zypp/base/Tr1hash.h
++++ b/zypp/base/Tr1hash.h
+@@ -36,20 +36,26 @@ namespace std { namespace tr1 {              \
+ }}
+ 
+ ///////////////////////////////////////////////////////////////////
+-namespace zypp
++namespace std
+ { /////////////////////////////////////////////////////////////////
++  ///////////////////////////////////////////////////////////////////
++  namespace tr1
++  { /////////////////////////////////////////////////////////////////
+ 
+-  /** clone function for RW_pointer */
+-  template<class _D>
+-  inline std::tr1::unordered_set<_D> * rwcowClone( const std::tr1::unordered_set<_D> * rhs )
+-  { return new std::tr1::unordered_set<_D>( *rhs ); }
++    /** clone function for RW_pointer */
++    template<class _D>
++    inline unordered_set<_D> * rwcowClone( const std::tr1::unordered_set<_D> * rhs )
++    { return new std::tr1::unordered_set<_D>( *rhs ); }
+ 
+-  /** clone function for RW_pointer */
+-  template<class _K, class _V>
+-  inline std::tr1::unordered_map<_K,_V> * rwcowClone( const std::tr1::unordered_map<_K,_V> * rhs )
+-  { return new std::tr1::unordered_map<_K,_V>( *rhs ); }
++    /** clone function for RW_pointer */
++    template<class _K, class _V>
++    inline std::tr1::unordered_map<_K,_V> * rwcowClone( const std::tr1::unordered_map<_K,_V> * rhs )
++    { return new std::tr1::unordered_map<_K,_V>( *rhs ); }
+ 
++    /////////////////////////////////////////////////////////////////
++  } // namespace tr1
++  ///////////////////////////////////////////////////////////////////
+   /////////////////////////////////////////////////////////////////
+-} // namespace zypp
++} // namespace std
+ ///////////////////////////////////////////////////////////////////
+ #endif // ZYPP_BASE_TR1HASH_H
--- libzypp-9.8.3.orig/debian/patches/linker.patch
+++ libzypp-9.8.3/debian/patches/linker.patch
@@ -0,0 +1,19 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 03-ubuntu-fix.patch
+##
+##
+
+@DPATCH@
+
+Index: libzypp-9.8.3/zypp/CMakeLists.txt
+===================================================================
+--- libzypp-9.8.3.orig/zypp/CMakeLists.txt
++++ libzypp-9.8.3/zypp/CMakeLists.txt
+@@ -917,6 +917,7 @@ SET_LOGGROUP( "satsolver" ${zypp_sat_SRC
+ #SET_LOGGROUP( "group" ${zypp_pool_SRCS} )
+ 
+ 
++list( REVERSE zypp_lib_SRCS )
+ ADD_LIBRARY(zypp SHARED ${zypp_lib_SRCS})
+ SET_TARGET_PROPERTIES( zypp PROPERTIES VERSION "${LIBZYPP_VERSION_INFO}" )
+ SET_TARGET_PROPERTIES( zypp PROPERTIES SOVERSION "${LIBZYPP_SOVERSION_INFO}" )
--- libzypp-9.8.3.orig/debian/patches/0002-support-none-proxy.patch
+++ libzypp-9.8.3/debian/patches/0002-support-none-proxy.patch
@@ -0,0 +1,33 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 0002-support-none-proxy.patch
+##
+##
+
+@DPATCH@
+
+diff -uNr libzypp-9.8.3/zypp/media/MediaCurl.cc libzypp-9.8.3.new/zypp/media/MediaCurl.cc
+--- libzypp-9.8.3/zypp/media/MediaCurl.cc	2011-07-04 22:04:11.000000000 +0800
++++ libzypp-9.8.3.new/zypp/media/MediaCurl.cc	2013-08-08 17:36:35.091841151 +0800
+@@ -552,6 +552,9 @@
+       ZYPP_RETHROW(e);
+   }
+ 
++  if ( _url.getQueryParam( "proxy" ) == "_none_" )
++    SET_OPTION(CURLOPT_NOPROXY, "*");
++
+   // if the proxy was not set by url, then look
+   if ( _settings.proxy().empty() )
+   {
+diff -uNr libzypp-9.8.3/zypp/parser/RepoFileReader.cc libzypp-9.8.3.new/zypp/parser/RepoFileReader.cc
+--- libzypp-9.8.3/zypp/parser/RepoFileReader.cc	2011-07-04 22:04:11.000000000 +0800
++++ libzypp-9.8.3.new/zypp/parser/RepoFileReader.cc	2013-08-08 17:36:35.091841151 +0800
+@@ -90,7 +90,8 @@
+                url.setQueryParam("proxy", what[1]);
+                url.setQueryParam("proxyport", what[2]);
+               }
+-            }
++            } else
++              url.setQueryParam("proxy", "_none_");
+           } else
+             ERR << "Unknown attribute in [" << *its << "]: " << it->second << " ignored" << endl;
+         }
--- libzypp-9.8.3.orig/debian/patches/01-ubuntu-fix.patch
+++ libzypp-9.8.3/debian/patches/01-ubuntu-fix.patch
@@ -0,0 +1,19 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 03-ubuntu-fix.patch
+##
+##
+
+@DPATCH@
+
+diff -purN a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt	2011-07-04 22:04:10.000000000 +0800
++++ b/CMakeLists.txt	2011-07-28 15:50:14.435002591 +0800
+@@ -84,7 +84,7 @@ ELSE ( NOT RPM_FOUND)
+   endif ( RPM_SUSPECT_VERSION STREQUAL "5.x" )
+ ENDIF( NOT RPM_FOUND)
+ 
+-FIND_PACKAGE(Boost REQUIRED COMPONENTS program_options unit_test_framework)
++FIND_PACKAGE(Boost REQUIRED COMPONENTS program_options )
+ IF (Boost_FOUND)
+   MESSAGE( STATUS "boost found: includes in ${Boost_INCLUDE_DIRS}, library in ${Boost_LIBRARY_DIRS}")
+   INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
--- libzypp-9.8.3.orig/debian/patches/0001-aarch64-support.patch
+++ libzypp-9.8.3/debian/patches/0001-aarch64-support.patch
@@ -0,0 +1,67 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 0002-support-none-proxy.patch
+##
+##
+
+@DPATCH@
+diff -uNr libzypp-9.8.3/zypp/Arch.cc libzypp-9.8.3.new/zypp/Arch.cc
+--- libzypp-9.8.3/zypp/Arch.cc	2013-12-11 13:14:50.911092372 +0800
++++ libzypp-9.8.3.new/zypp/Arch.cc	2013-12-11 13:21:50.859100277 +0800
+@@ -187,6 +187,7 @@
+     DEF_BUILTIN( sparcv8 );
+     DEF_BUILTIN( sparc );
+ 
++    DEF_BUILTIN( aarch64 );
+     DEF_BUILTIN( armv7tnhl );
+     DEF_BUILTIN( armv7thl );
+     DEF_BUILTIN( armv7nhl );
+@@ -325,6 +326,7 @@
+         defCompatibleWith( _armv7nhl,   _noarch, _armv7hl );
+         defCompatibleWith( _armv7thl,	_noarch,_armv7hl );
+         defCompatibleWith( _armv7tnhl,	_noarch,_armv7hl,_armv7thl,_armv7nhl );
++        defCompatibleWith( _aarch64,		_noarch );
+         //
+         defCompatibleWith( _sh3,	_noarch );
+         //
+@@ -430,6 +432,7 @@
+   const Arch Arch_sparcv8( _sparcv8 );
+   const Arch Arch_sparc( _sparc );
+ 
++  const Arch Arch_aarch64( _aarch64 );
+   const Arch Arch_armv7tnhl( _armv7tnhl );
+   const Arch Arch_armv7thl( _armv7thl );
+   const Arch Arch_armv7nhl ( _armv7nhl );
+diff -uNr libzypp-9.8.3/zypp/Arch.h libzypp-9.8.3.new/zypp/Arch.h
+--- libzypp-9.8.3/zypp/Arch.h	2013-12-11 13:14:50.911092372 +0800
++++ libzypp-9.8.3.new/zypp/Arch.h	2013-12-11 13:15:52.719093719 +0800
+@@ -222,6 +222,8 @@
+   extern const Arch Arch_sparc;
+ 
+   /** \relates Arch */
++  extern const Arch Arch_aarch64;
++  /** \relates Arch */
+   extern const Arch Arch_armv7tnhl;
+   /** \relates Arch */
+   extern const Arch Arch_armv7thl;
+diff -uNr libzypp-9.8.3/zypp/parser/yum/schema/common-inc.rnc libzypp-9.8.3.new/zypp/parser/yum/schema/common-inc.rnc
+--- libzypp-9.8.3/zypp/parser/yum/schema/common-inc.rnc	2013-12-11 13:14:50.911092372 +0800
++++ libzypp-9.8.3.new/zypp/parser/yum/schema/common-inc.rnc	2013-12-11 13:18:51.507096760 +0800
+@@ -35,6 +35,7 @@
+             | "armv7l"
+             | "armv7thl"
+             | "armv7tnhl"
++            | "aarch64"
+             | "athlon"
+             | "i386"
+             | "i486"
+diff -uNr libzypp-9.8.3/zypp/parser/yum/schema/common-inc.rng libzypp-9.8.3.new/zypp/parser/yum/schema/common-inc.rng
+--- libzypp-9.8.3/zypp/parser/yum/schema/common-inc.rng	2013-12-11 13:14:50.911092372 +0800
++++ libzypp-9.8.3.new/zypp/parser/yum/schema/common-inc.rng	2013-12-11 14:58:26.691209086 +0800
+@@ -98,6 +98,7 @@
+       <value>armv7l</value>
+       <value>armv7thl</value>
+       <value>armv7tnhl</value>
++      <value>aarch64</value>
+       <value>athlon</value>
+       <value>i386</value>
+       <value>i486</value>
--- libzypp-9.8.3.orig/debian/patches/socks-proxy-support.patch
+++ libzypp-9.8.3/debian/patches/socks-proxy-support.patch
@@ -0,0 +1,28 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## socks-proxy-support.patch
+##
+##
+
+@DPATCH@
+
+diff -uNr libzypp-9.8.3/zypp/media/MediaCurl.cc libzypp-9.8.3.new/zypp/media/MediaCurl.cc
+--- libzypp-9.8.3/zypp/media/MediaCurl.cc	2011-07-04 22:04:11.000000000 +0800
++++ libzypp-9.8.3.new/zypp/media/MediaCurl.cc	2011-12-14 16:18:36.567499814 +0800
+@@ -617,7 +617,16 @@
+   {
+     if ( ! _settings.proxy().empty() )
+     {
+-      SET_OPTION(CURLOPT_PROXY, _settings.proxy().c_str());
++      
++      string proxy(_settings.proxy());
++      string proxytype = proxy.substr(0, 5);
++      if (proxytype == "socks"){
++        string prefix("socks://");
++        proxy.replace(0, prefix.length(), "");
++        SET_OPTION(CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
++      }
++     
++      SET_OPTION(CURLOPT_PROXY, proxy.c_str());
+       /*---------------------------------------------------------------*
+         CURLOPT_PROXYUSERPWD: [user name]:[password]
+ 
--- libzypp-9.8.3.orig/debian/patches/02-readd-thumb-arch-definitions.patch
+++ libzypp-9.8.3/debian/patches/02-readd-thumb-arch-definitions.patch
@@ -0,0 +1,74 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 04-readd-thumb-arch-definitions.patch
+##
+##
+
+@DPATCH@
+diff -purN a/zypp/Arch.cc b/zypp/Arch.cc
+--- a/zypp/Arch.cc	2011-07-04 22:04:11.000000000 +0800
++++ b/zypp/Arch.cc	2011-08-01 15:27:09.451899105 +0800
+@@ -187,6 +187,8 @@ namespace zypp
+     DEF_BUILTIN( sparcv8 );
+     DEF_BUILTIN( sparc );
+ 
++    DEF_BUILTIN( armv7tnhl );
++    DEF_BUILTIN( armv7thl );
+     DEF_BUILTIN( armv7nhl );
+     DEF_BUILTIN( armv7hl );
+     DEF_BUILTIN( armv7l );
+@@ -321,6 +323,8 @@ namespace zypp
+         defCompatibleWith( _armv7l,	_noarch,_armv3l,_armv4l,_armv4tl,_armv5l,_armv5tel,_armv5tejl,_armv6l );
+         defCompatibleWith( _armv7hl,    _noarch );
+         defCompatibleWith( _armv7nhl,   _noarch, _armv7hl );
++        defCompatibleWith( _armv7thl,	_noarch,_armv7hl );
++        defCompatibleWith( _armv7tnhl,	_noarch,_armv7hl,_armv7thl,_armv7nhl );
+         //
+         defCompatibleWith( _sh3,	_noarch );
+         //
+@@ -426,6 +430,8 @@ namespace zypp
+   const Arch Arch_sparcv8( _sparcv8 );
+   const Arch Arch_sparc( _sparc );
+ 
++  const Arch Arch_armv7tnhl( _armv7tnhl );
++  const Arch Arch_armv7thl( _armv7thl );
+   const Arch Arch_armv7nhl ( _armv7nhl );
+   const Arch Arch_armv7hl ( _armv7hl );
+   const Arch Arch_armv7l( _armv7l );
+diff -purN a/zypp/Arch.h b/zypp/Arch.h
+--- a/zypp/Arch.h	2011-07-04 22:04:11.000000000 +0800
++++ b/zypp/Arch.h	2011-08-01 15:27:09.451899105 +0800
+@@ -222,6 +222,10 @@ namespace zypp
+   extern const Arch Arch_sparc;
+ 
+   /** \relates Arch */
++  extern const Arch Arch_armv7tnhl;
++  /** \relates Arch */
++  extern const Arch Arch_armv7thl;
++  /** \relates Arch */
+   extern const Arch Arch_armv7nhl;
+   /** \relates Arch */
+   extern const Arch Arch_armv7hl;
+diff -purN a/zypp/parser/yum/schema/common-inc.rnc b/zypp/parser/yum/schema/common-inc.rnc
+--- a/zypp/parser/yum/schema/common-inc.rnc	2011-07-04 22:04:11.000000000 +0800
++++ b/zypp/parser/yum/schema/common-inc.rnc	2011-08-01 15:27:09.452881239 +0800
+@@ -33,6 +33,8 @@ private.archenum = "noarch"
+             | "armv7nhl"
+             | "armv7el"
+             | "armv7l"
++            | "armv7thl"
++            | "armv7tnhl"
+             | "athlon"
+             | "i386"
+             | "i486"
+diff -purN a/zypp/parser/yum/schema/common-inc.rng b/zypp/parser/yum/schema/common-inc.rng
+--- a/zypp/parser/yum/schema/common-inc.rng	2011-07-04 22:04:11.000000000 +0800
++++ b/zypp/parser/yum/schema/common-inc.rng	2011-08-01 15:27:09.453899773 +0800
+@@ -96,6 +96,8 @@
+       <value>armv7nhl</value>
+       <value>armv7el</value>
+       <value>armv7l</value>
++      <value>armv7thl</value>
++      <value>armv7tnhl</value>
+       <value>athlon</value>
+       <value>i386</value>
+       <value>i486</value>
--- libzypp-9.8.3.orig/debian/patches/00list
+++ libzypp-9.8.3/debian/patches/00list
@@ -0,0 +1,7 @@
+01-ubuntu-fix.patch
+02-readd-thumb-arch-definitions.patch
+socks-proxy-support.patch
+fix-gcc47-build.patch
+linker.patch
+0002-support-none-proxy.patch
+0001-aarch64-support.patch
--- libzypp-9.8.3.orig/debian/libzypp.install
+++ libzypp-9.8.3/debian/libzypp.install
@@ -0,0 +1,14 @@
+debian/libzypp/etc/zypp/repos.d	/etc/zypp 
+debian/libzypp/etc/zypp/services.d	/etc/zypp
+debian/libzypp/etc/zypp/zypp.conf	/etc/zypp
+debian/libzypp/etc/zypp/systemCheck	/etc/zypp
+debian/libzypp/etc/logrotate.d/zypp-history.lr	/etc/logrotate.d
+debian/libzypp/var/lib/zypp	/var/lib  
+debian/libzypp/var/log/zypp	/var/log
+debian/libzypp/var/cache/zypp	/var/cache
+debian/libzypp/usr/lib/zypp	/usr/lib
+debian/libzypp/usr/share/zypp	/usr/share
+debian/libzypp/usr/bin/*	/usr/bin
+debian/libzypp/usr/lib/libzypp*so.*	/usr/lib
+debian/libzypp/usr/share/man/man5/*	/usr/share/man/man5
+debian/libzypp/usr/share/locale/*	/usr/share/locale
--- libzypp-9.8.3.orig/debian/libzypp-dev.install
+++ libzypp-9.8.3/debian/libzypp-dev.install
@@ -0,0 +1,5 @@
+debian/libzypp/usr/lib/libzypp.so	/usr/lib  
+debian/libzypp/usr/share/doc/libzypp	/usr/share/doc
+debian/libzypp/usr/include/zypp	/usr/include
+debian/libzypp/usr/share/cmake/Modules	/usr/share/cmake
+debian/libzypp/usr/lib/pkgconfig/libzypp.pc	/usr/lib/pkgconfig
