Compare commits
1 Commits
master
...
f33-riscv6
Author | SHA1 | Date | |
---|---|---|---|
5cb65baf64 |
@ -1,6 +1,6 @@
|
||||
Name: mock-core-configs
|
||||
Version: 33.3
|
||||
Release: 1%{?dist}
|
||||
Release: 1.0.riscv64%{?dist}
|
||||
Summary: Mock core config files basic chroots
|
||||
|
||||
License: GPLv2+
|
||||
@ -13,6 +13,8 @@ URL: https://github.com/rpm-software-management/mock/
|
||||
Source: https://github.com/rpm-software-management/mock/releases/download/%{name}-%{version}-1/%{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
Patch10: mock-riscv64-configs.patch
|
||||
|
||||
# The mock.rpm requires this. Other packages may provide this if they tend to
|
||||
# replace the mock-core-configs.rpm functionality.
|
||||
Provides: mock-configs
|
||||
@ -51,6 +53,8 @@ Config files which allow you to create chroots for:
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%patch10 -p1 -b .riscv64
|
||||
|
||||
|
||||
%build
|
||||
cd etc/host-overrides
|
||||
@ -144,6 +148,9 @@ fi
|
||||
%ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg
|
||||
|
||||
%changelog
|
||||
* Fri Dec 04 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> 33.3-1.0.riscv64
|
||||
- Add configurations for riscv64
|
||||
|
||||
* Fri Nov 20 2020 Pavel Raiskup <praiskup@redhat.com> 33.3-1
|
||||
- ELN should use for build Everything repository (jkonecny@redhat.com)
|
||||
|
||||
|
31
mock-riscv64-configs.patch
Normal file
31
mock-riscv64-configs.patch
Normal file
@ -0,0 +1,31 @@
|
||||
diff --git a/etc/mock/fedora-33-riscv64.cfg b/etc/mock/fedora-33-riscv64.cfg
|
||||
new file mode 100644
|
||||
index 0000000..3d40935
|
||||
--- /dev/null
|
||||
+++ b/etc/mock/fedora-33-riscv64.cfg
|
||||
@@ -0,0 +1,5 @@
|
||||
+config_opts['releasever'] = '33'
|
||||
+config_opts['target_arch'] = 'riscv64'
|
||||
+config_opts['legal_host_arches'] = ('riscv64',)
|
||||
+
|
||||
+include('templates/fedora-branched.tpl')
|
||||
diff --git a/etc/mock/fedora-34-riscv64.cfg b/etc/mock/fedora-34-riscv64.cfg
|
||||
new file mode 100644
|
||||
index 0000000..65beeab
|
||||
--- /dev/null
|
||||
+++ b/etc/mock/fedora-34-riscv64.cfg
|
||||
@@ -0,0 +1,4 @@
|
||||
+config_opts['target_arch'] = 'riscv64'
|
||||
+config_opts['legal_host_arches'] = ('riscv64',)
|
||||
+
|
||||
+include('templates/fedora-rawhide.tpl')
|
||||
diff --git a/etc/mock/fedora-rawhide-riscv64.cfg b/etc/mock/fedora-rawhide-riscv64.cfg
|
||||
new file mode 100644
|
||||
index 0000000..65beeab
|
||||
--- /dev/null
|
||||
+++ b/etc/mock/fedora-rawhide-riscv64.cfg
|
||||
@@ -0,0 +1,4 @@
|
||||
+config_opts['target_arch'] = 'riscv64'
|
||||
+config_opts['legal_host_arches'] = ('riscv64',)
|
||||
+
|
||||
+include('templates/fedora-rawhide.tpl')
|
Loading…
Reference in New Issue
Block a user