Commit e9f65d40 authored by Alexey Andreyev's avatar Alexey Andreyev

adding aarch patch

parent a58d421c
Index: zypp/ZConfig.cc
===================================================================
--- zypp.orig/ZConfig.cc
+++ zypp/ZConfig.cc
@@ -133,7 +133,8 @@ namespace zypp
ERR << "Cant open " << PathInfo("/proc/cpuinfo") << endl;
}
}
- else if ( architecture == Arch_armv7l || architecture == Arch_armv6l )
+ else if ( architecture == Arch_armv7l || architecture == Arch_armv6l ||
+ architecture == Arch_aarch64 )
{
std::ifstream platform( "/etc/rpm/platform" );
if (platform)
......@@ -3,11 +3,12 @@ License: GPLv2+
Group: System/Packages
Summary: Package, Patch, Pattern, and Product Management
Version: 16.2.2
Release: 1
Release: 2
Source: %{name}-%{version}.tar.bz2
Source1: %{name}-rpmlintrc
Patch0: 0001-zypp-PublicKey.cc-Use-GPG_BINARY-from-KeyRing.cc.patch
Patch1: 0002-Diffs-14.35.0-10.patch
Patch2: aarch64.patch
BuildRequires: cmake
BuildRequires: openssl-devel
BuildRequires: libudev-devel
......@@ -72,11 +73,13 @@ Authors:
Marius Tomaschewski <mt@suse.de>
Stanislav Visnovsky <visnov@suse.cz>
Ladislav Slezak <lslezak@suse.cz>
Alexey Andreyev <aa13q@ya.ru>
%prep
%setup -q -n %{name}-%{version}/upstream
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
mkdir -p build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment