x86_64: obsolete lib32-libffi[-devel] [release 3.2.1-2mamba;Thu Oct 03 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 04:14:49 +01:00
parent 855064cbc8
commit c04660b432

View File

@ -1,7 +1,7 @@
Name: libffi
Epoch: 1
Version: 3.2.1
Release: 1mamba
Release: 2mamba
Summary: A Portable Foreign Function Interface Library
Group: System/Libraries
Vendor: openmamba
@ -14,10 +14,11 @@ Requires(post):%{__install_info}
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%ifarch x86_64
%ifarch x86_64_disabled
BuildRequires: gcc-multilib
BuildRequires: glibc-multilib-devel
%endif
Obsoletes: lib32-libffi
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
@ -30,6 +31,7 @@ FFI stands for Foreign Function Interface. A foreign function interface is the p
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: lib32-libffi-devel
%description devel
Compilers for high level languages generate code that follows certain conventions. These conventions are necessary, in part, for separate compilation to work. One such convention is the "calling convention". The "calling convention" is a set of assumptions made by the compiler about where function arguments will be found on entry to a function. A "calling convention" also specifies where the return value for a function is found.
@ -65,7 +67,7 @@ This package contains libraries and header files needed for development.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%ifarch x86_64
%ifarch x86_64_disabled
# x86_64 lib64 support
sed -i "s|multi_os_directory=.*|multi_os_directory=|" configure
make clean
@ -86,8 +88,11 @@ cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post -n lib32-%{name} -p /sbin/ldconfig
%postun -n lib32-%{name} -p /sbin/ldconfig
%post devel
@ -118,7 +123,7 @@ exit 0
%{_infodir}/libffi.info.gz
%doc ChangeLog ChangeLog.libffi ChangeLog.libgcj ChangeLog.v1 README
%ifarch x86_64
%ifarch x86_64_disabled
%files -n lib32-%{name}
%defattr(-,root,root)
%{_prefix}/lib/libffi.so.*
@ -135,6 +140,9 @@ exit 0
%endif
%changelog
* Thu Oct 03 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-2mamba
- x86_64: obsolete lib32-libffi[-devel]
* Mon Dec 08 2014 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
- automatic update by autodist