Compare commits
3 Commits
master
...
master-ris
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | 51d219f9f5 | |
David Abdurachmanov | baab14ab3f | |
David Abdurachmanov | d58df9e7c9 |
|
@ -3,7 +3,7 @@
|
|||
|
||||
Name: mock-core-configs
|
||||
Version: 32.6
|
||||
Release: 1%{?dist}
|
||||
Release: 1.0.riscv64%{?dist}
|
||||
Summary: Mock core config files basic chroots
|
||||
|
||||
License: GPLv2+
|
||||
|
@ -20,6 +20,8 @@ BuildArch: noarch
|
|||
# replace the mock-core-configs.rpm functionality.
|
||||
Provides: mock-configs
|
||||
|
||||
Patch0: mock-riscv64-rawhide.patch
|
||||
|
||||
# distribution-gpg-keys contains GPG keys used by mock configs
|
||||
Requires: distribution-gpg-keys >= 1.36
|
||||
# specify minimal compatible version of mock
|
||||
|
@ -52,7 +54,7 @@ Config files which allow you to create chroots for:
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%patch0 -p1 -b .riscv64
|
||||
|
||||
%build
|
||||
cd etc/host-overrides
|
||||
|
@ -153,6 +155,9 @@ fi
|
|||
%ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg
|
||||
|
||||
%changelog
|
||||
* Fri Jul 24 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> 32.6-1.0.riscv64
|
||||
- Add fake fedora-rawhide-riscv64.cfg
|
||||
|
||||
* Wed Apr 01 2020 Pavel Raiskup <praiskup@redhat.com> 32.6-1
|
||||
- the site-defaults.cfg file moved from mock to mock-core-configs
|
||||
- new option config_opts['isolation'], obsoletes 'use_nspawn'
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
diff --git a/etc/mock/fedora-33-riscv64.cfg b/etc/mock/fedora-33-riscv64.cfg
|
||||
new file mode 100644
|
||||
index 0000000..65beeab
|
||||
--- /dev/null
|
||||
+++ b/etc/mock/fedora-33-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