Compare commits
7 Commits
master
...
f29-riscv6
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | db4cd90cae | |
David Abdurachmanov | d0ba93077d | |
David Abdurachmanov | 3bb7684a11 | |
David Abdurachmanov | a1118c8054 | |
David Abdurachmanov | 48413fb969 | |
David Abdurachmanov | 5d2ab3509e | |
David Abdurachmanov | 15f1929445 |
12
macros
12
macros
|
@ -260,3 +260,15 @@
|
|||
%global __find_provides /bin/sh -c "%{?__filter_prov_cmd} %{__deploop P} %{?__filter_from_prov}" \
|
||||
%global __find_requires /bin/sh -c "%{?__filter_req_cmd} %{__deploop R} %{?__filter_from_req}" \
|
||||
}
|
||||
|
||||
# override %check sections and disable them (exit 0) while we are
|
||||
# bootstrapping Fedora RISC-V
|
||||
%__spec_check_pre exit 0
|
||||
|
||||
# override /usr/lib/rpm/macros.d/macros.perl instead of modifying it in order
|
||||
# to keep custom changes in one place (and no need to rebuild perl again).
|
||||
#
|
||||
# disable perl_default_subpackage_tests, which adds test suite subpackage to
|
||||
# perl packages. It uses __spec_check_pre for it, which we also use above thus
|
||||
# causing a breaking conflict.
|
||||
%perl_default_subpackage_tests %{nil}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
Summary: Red Hat specific rpm configuration files
|
||||
Name: redhat-rpm-config
|
||||
Version: 117
|
||||
Release: 1%{?dist}
|
||||
Release: 1.0.riscv64%{?dist}
|
||||
# No version specified.
|
||||
License: GPL+
|
||||
URL: https://src.fedoraproject.org/rpms/redhat-rpm-config
|
||||
|
@ -183,6 +183,12 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov
|
|||
%{_rpmconfigdir}/macros.d/macros.kmp
|
||||
|
||||
%changelog
|
||||
* Mon Jul 23 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 117-1.0.riscv64
|
||||
- Disable perl_default_subpackage_tests (test suite subpackage for perl packages)
|
||||
- Disable %check for riscv64
|
||||
- Add -fasynchronous-unwind-tables -fstack-clash-protection to riscv64 (other
|
||||
arches seem to have them now)
|
||||
|
||||
* Mon Jul 16 2018 Miro Hrončok <mhroncok@redhat.com> - 117-1
|
||||
- Mangle /bin shebnags to /usr/bin ones (#1581757)
|
||||
|
||||
|
|
2
rpmrc
2
rpmrc
|
@ -76,7 +76,7 @@ optflags: s390x %{__global_compiler_flags} -m64 -march=zEC12 -mtune=z13 -fasynch
|
|||
|
||||
optflags: aarch64 %{__global_compiler_flags} -fasynchronous-unwind-tables -fstack-clash-protection
|
||||
|
||||
optflags: riscv64 %{__global_compiler_flags}
|
||||
optflags: riscv64 %{__global_compiler_flags} -fasynchronous-unwind-tables -fstack-clash-protection
|
||||
|
||||
# set build arch to fedora buildarches on hardware capable of running it
|
||||
# saves having to do rpmbuild --target=
|
||||
|
|
Loading…
Reference in New Issue