Build libffi7-32bit
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libffi?expand=0&rev=2
This commit is contained in:
parent
f4afc3e2b1
commit
9a9ac38c26
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
||||
libffi7
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 14 08:14:20 UTC 2017 - dleuenberger@suse.com
|
||||
|
||||
- Add baselibs.conf in order to build libffi7-32bit (bgo#1029263).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 28 14:51:07 UTC 2017 - rguenther@suse.com
|
||||
|
||||
|
33
libffi.spec
33
libffi.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libffi
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define libffi_sover 7
|
||||
|
||||
Name: libffi
|
||||
@ -25,17 +26,18 @@ License: MIT
|
||||
Group: Development/Languages/C and C++
|
||||
Url: https://github.com/libffi/
|
||||
Source: %name-%version.tar.xz
|
||||
Patch: libffi-include-location.patch
|
||||
Source99: baselibs.conf
|
||||
Patch: libffi-include-location.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: makeinfo
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libtool
|
||||
BuildRequires: makeinfo
|
||||
BuildRequires: pkg-config
|
||||
# for make check
|
||||
BuildRequires: dejagnu
|
||||
BuildRequires: expect
|
||||
BuildRequires: dejagnu
|
||||
BuildRequires: expect
|
||||
|
||||
%description
|
||||
The libffi library provides a portable, high level programming
|
||||
@ -46,9 +48,9 @@ time.
|
||||
|
||||
%package devel
|
||||
Summary: Include files for development with libffi
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: libffi%{libffi_sover} = %{version}
|
||||
PreReq: %{install_info_prereq}
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: libffi%{libffi_sover} = %{version}
|
||||
PreReq: %{install_info_prereq}
|
||||
|
||||
%description devel
|
||||
The libffi library provides a portable, high level programming
|
||||
@ -62,9 +64,8 @@ time.
|
||||
%preun devel
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libffi.info.gz
|
||||
|
||||
|
||||
%package -n libffi%{libffi_sover}
|
||||
Summary: Foreign Function Interface Library
|
||||
Summary: Foreign Function Interface Library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libffi%{libffi_sover}
|
||||
@ -95,7 +96,6 @@ make DESTDIR=%{buildroot} install
|
||||
rm %{buildroot}%{_libdir}/libffi.a
|
||||
rm %{buildroot}%{_libdir}/libffi.la
|
||||
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libffi.so
|
||||
@ -113,5 +113,4 @@ rm %{buildroot}%{_libdir}/libffi.la
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libffi.so.%{libffi_sover}*
|
||||
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user