source: rtems-source-builder/bare/config/devel/libffi-3.0.13-1.cfg @ f2a8973

Last change on this file since f2a8973 was 9b7cdb7, checked in by Chris Johns <chrisj@…>, on 03/27/20 at 03:39:33

bare: Fix pkgconfig checks and getting source.

  • If the package was installed the check does not build the package. This also meant getting the source failed.

Closes #3919

  • Property mode set to 100644
File size: 782 bytes
Line 
1#
2# LibFFI
3#
4
5%if %{release} == %{nil}
6%define release 1
7%endif
8
9%include %{_configdir}/base.cfg
10
11%define libffi_version 3.0.13
12%hash sha256 libffi-3.0.13.tar.gz 1dddde1400c3bcb7749d398071af88c3e4754058d2d4c0b3696c2f82dc5cf11c
13
14#
15# The RTEMS Tools patches.
16#
17%define rtems_http_git   http://git.rtems.org
18%define rtems_git_tools  %{rtems_http_git}/rtems-tools/plain/tools/
19
20#
21# Fix pkgconfig file on Fedora 64bit.
22#
23%patch add libffi %{rtems_git_tools}/libffi/libffi-pkg-config-lib64-fix.diff
24%hash sha256 libffi-pkg-config-lib64-fix.diff f858658b7b57db13002987b7d6bb0293f181519032bf4dd36969ccb79d6b16a3
25
26#
27# The LibFFI build instructions. We use 3.x.x Release 1.
28#
29%if !%{pkgconfig check libffi >= 3} || %{defined _rsb_getting_source}
30 %include %{_configdir}/libffi-3-1.cfg
31%endif
Note: See TracBrowser for help on using the repository browser.