Compare commits

...

16 Commits

Author SHA1 Message Date
David Abdurachmanov 60c160ec5f
Disable annobin for new GCC
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-04-01 19:06:09 +03:00
David Abdurachmanov e4fe82f63b
Restore the original macros
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-04-01 19:03:59 +03:00
David Abdurachmanov 5c861be61b
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-04-01 19:03:14 +03:00
David Abdurachmanov c5ae02a79a
Re-enable annobin
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-07-12 20:13:37 +03:00
David Abdurachmanov a2cc88de2e
Disable annobin (temporary)
We need to bootstrap new version of annobin (depends on RPM)

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-07-12 13:59:43 +03:00
David Abdurachmanov 85fe40f24b
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-07-10 16:16:44 +03:00
David Abdurachmanov d1d8d348ea
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2019-03-14 19:30:40 +01:00
David Abdurachmanov 709392a910
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2019-01-14 20:17:49 +01:00
David Abdurachmanov 90623f9be5
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-11-29 16:11:03 +01:00
David Abdurachmanov db4cd90cae
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-07-23 12:50:46 +02:00
David Abdurachmanov d0ba93077d
Bump Release and add missing changelog entry
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-06-04 15:15:26 +02:00
David Abdurachmanov 3bb7684a11
Enable debug packages
gdb-headless was built and gdb-add-index was confirmed to work on riscv64.
Also you can use gdb as disassembler, but there is not native Linux support
yet thus you cannot attach to a process or debug a core dump.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-06-04 15:13:12 +02:00
David Abdurachmanov a1118c8054
Disable perl_default_subpackage_tests
This could be done in /usr/lib/rpm/macros.d/macros.perl, but redhat
macros can override it thus keeping all custom changes in one place.
We also don't need to rebuild perl again.

We have to disable test suite subpackages in perl packages to avoid
breaking conflict as the feature uses %__spec_check_pre, which is
used by us to disable %check section.

Alternative could be doing this in redhat macros:

%__spec_check_args %{nil}
%__spec_check_post exit 0

We basically remove '-e' from arguments and then at the end do 'exit 0',
but it's no perfect as someone could do 'exit ABC' in %check. We wanted
to completely disable %check section.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-05-23 11:59:32 +02:00
David Abdurachmanov 48413fb969 Enable annobin for riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-05-06 13:53:57 +02:00
David Abdurachmanov 5d2ab3509e Remove Requires: (annobin if gcc)
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-05-05 23:42:06 +02:00
David Abdurachmanov 15f1929445 Add riscv64 modifications for Fedora RISC-V bootstrap
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-05-05 19:30:21 +02:00
2 changed files with 5 additions and 3 deletions

2
macros
View File

@ -218,7 +218,7 @@ print(result)
# Add extra information to binary objects created by gcc for Fedora 28:
# https://pagure.io/fesco/issue/1780 (accepted on 2017-10-30)
# Use "%undefine _annotated_build" to disable.
%_annotated_build 1
#%_annotated_build 1
%_annotated_cflags %{?_annotated_build:%{_annobin_cflags}}
# Fail linking if there are undefined symbols. Required for proper

View File

@ -7,7 +7,7 @@
Summary: Red Hat specific rpm configuration files
Name: redhat-rpm-config
Version: 153
Release: 1%{?dist}
Release: 1.0.riscv64%{?dist}
# No version specified.
License: GPL+
URL: https://src.fedoraproject.org/rpms/redhat-rpm-config
@ -109,7 +109,6 @@ Requires: qt5-srpm-macros
Requires: rpm >= 4.11.0
Requires: dwz >= 0.4
Requires: zip
Requires: (annobin if gcc)
# for brp-mangle-shebangs
Requires: %{_bindir}/find
@ -209,6 +208,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua
%{_rpmconfigdir}/macros.d/macros.kmp
%changelog
* Wed Apr 01 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> - 153-1.0.riscv64
- Disable annobin (new GCC)
* Thu Feb 20 2020 Jason L Tibbitts III <tibbs@math.uh.edu> - 153-1
- Add dependency on fonts-srpm-macros, as those have now been approved by FPC.