x86_64: obsolete lib32-libffi[-devel] [release 3.2.1-2mamba;Thu Oct 03 2019]
This commit is contained in:
parent
855064cbc8
commit
c04660b432
16
libffi.spec
16
libffi.spec
@ -1,7 +1,7 @@
|
|||||||
Name: libffi
|
Name: libffi
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 3.2.1
|
Version: 3.2.1
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A Portable Foreign Function Interface Library
|
Summary: A Portable Foreign Function Interface Library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -14,10 +14,11 @@ Requires(post):%{__install_info}
|
|||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
%ifarch x86_64
|
%ifarch x86_64_disabled
|
||||||
BuildRequires: gcc-multilib
|
BuildRequires: gcc-multilib
|
||||||
BuildRequires: glibc-multilib-devel
|
BuildRequires: glibc-multilib-devel
|
||||||
%endif
|
%endif
|
||||||
|
Obsoletes: lib32-libffi
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -30,6 +31,7 @@ FFI stands for Foreign Function Interface. A foreign function interface is the p
|
|||||||
Summary: Devel package for %{name}
|
Summary: Devel package for %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Obsoletes: lib32-libffi-devel
|
||||||
|
|
||||||
%description 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.
|
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}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%makeinstall
|
||||||
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64_disabled
|
||||||
# x86_64 lib64 support
|
# x86_64 lib64 support
|
||||||
sed -i "s|multi_os_directory=.*|multi_os_directory=|" configure
|
sed -i "s|multi_os_directory=.*|multi_os_directory=|" configure
|
||||||
make clean
|
make clean
|
||||||
@ -86,8 +88,11 @@ cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}
|
|||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n lib32-%{name} -p /sbin/ldconfig
|
%post -n lib32-%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n lib32-%{name} -p /sbin/ldconfig
|
%postun -n lib32-%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
@ -118,7 +123,7 @@ exit 0
|
|||||||
%{_infodir}/libffi.info.gz
|
%{_infodir}/libffi.info.gz
|
||||||
%doc ChangeLog ChangeLog.libffi ChangeLog.libgcj ChangeLog.v1 README
|
%doc ChangeLog ChangeLog.libffi ChangeLog.libgcj ChangeLog.v1 README
|
||||||
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64_disabled
|
||||||
%files -n lib32-%{name}
|
%files -n lib32-%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_prefix}/lib/libffi.so.*
|
%{_prefix}/lib/libffi.so.*
|
||||||
@ -135,6 +140,9 @@ exit 0
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Dec 08 2014 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
|
||||||
- automatic update by autodist
|
- automatic update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user