Skip to content

Commit

Permalink
Add mipsel architecture
Browse files Browse the repository at this point in the history
Added the mipsel architecture to list of known architectures. This
will fix the problem, that packages cannot be found, when creating
mipsel image.

Signed-off-by: Mikko Hurskainen <mikko.hurskainen@nomovok.com>
  • Loading branch information
Mikko Hurskainen committed Aug 7, 2013
1 parent 1e3a4de commit 831179a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
12 changes: 12 additions & 0 deletions add-mipsel.patch
@@ -0,0 +1,12 @@
Index: b/src/poolarch.c
===================================================================
--- a/src/poolarch.c 2013-08-07 16:49:50.087410408 +0300
+++ b/src/poolarch.c 2013-08-07 16:56:34.843420053 +0300
@@ -52,6 +52,7 @@
"sparcv9", "sparcv9:sparcv8:sparc",
"sparcv8", "sparcv8:sparc",
"sparc", "sparc",
+ "mipsel", "mipsel",
0
};

3 changes: 3 additions & 0 deletions libsolv.changes
@@ -1,3 +1,6 @@
* Wed Aug 07 2013 Mikko Hurskainen <mikko.hurskainen@nomovok.com> - 0.1.0
- Add support for mipsel

* Tue Jul 02 2013 Islam Amer <islam.amer@jollamobille.com> - 0.1.0
- fix typo in armv7tnhl compatibility resolving spotted by Carsten

Expand Down
5 changes: 4 additions & 1 deletion libsolv.spec
Expand Up @@ -11,13 +11,14 @@ Name: libsolv

Summary: A new approach to package dependency solving
Version: 0.1.0
Release: 1
Release: 2
Group: Development/Libraries/C and C++
License: BSD 3-Clause
URL: git://gitorious.org/opensuse/libsolv.git
Source0: libsolv-%{version}.tar.bz2
Source100: libsolv.yaml
Patch0: fix-armv7tnhl-typo.patch
Patch1: add-mipsel.patch
BuildRequires: pkgconfig(rpm)
BuildRequires: pkgconfig(zlib)
BuildRequires: db4-devel
Expand Down Expand Up @@ -96,6 +97,8 @@ A new approach to package dependency solving.

# fix-armv7tnhl-typo.patch
%patch0 -p1
# add-mipsel.patch
%patch1 -p1
# >> setup
# << setup

Expand Down
3 changes: 2 additions & 1 deletion libsolv.yaml
@@ -1,14 +1,15 @@
Name: libsolv
Summary: A new approach to package dependency solving
Version: 0.1.0
Release: 1
Release: 2
Group: Development/Libraries/C and C++
License: BSD 3-Clause
URL: git://gitorious.org/opensuse/libsolv.git
Sources:
- libsolv-%{version}.tar.bz2
Patches:
- fix-armv7tnhl-typo.patch
- add-mipsel.patch
Description: A new approach to package dependency solving.

PkgConfigBR:
Expand Down

0 comments on commit 831179a

Please sign in to comment.