fix libraries +x permissions [release 2.2-2mamba;Tue May 12 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 04:14:41 +01:00
parent 6bd296dd3c
commit 7ed91d8fa7

View File

@ -1,6 +1,6 @@
Name: libffcall
Version: 2.2
Release: 1mamba
Release: 2mamba
Summary: Libraries that can be used to build foreign function call interfaces.
Group: System/Libraries
Vendor: openmamba
@ -10,6 +10,8 @@ URL: https://www.gnu.org/software/libffcall/
Source: https://ftp.gnu.org/gnu/libffcall/libffcall-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -42,8 +44,9 @@ This is a collection of four libraries which can be used to build foreign functi
This package contains static libraries for development.
%prep
%debug_package
%prep
%setup -q
%build
@ -63,6 +66,8 @@ make
%{__mkdir_p} %{buildroot}%{_datadir}
%makeinstall
chmod +x %{buildroot}%{_libdir}/lib*.so.*
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -71,15 +76,21 @@ make
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%{_mandir}/man3/*.3.gz
%doc %{_datadir}/html/*.html
%{_libdir}/libavcall.so.*
%{_libdir}/libffcall.so.*
%{_libdir}/libcallback.so.*
%{_libdir}/libtrampoline.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/*.so
%{_libdir}/libavcall.so
%{_libdir}/libffcall.so
%{_libdir}/libcallback.so
%{_libdir}/libtrampoline.so
%{_mandir}/man3/*.3*
%doc %{_datadir}/html/*.html
%doc NEWS README
%files static
@ -88,6 +99,9 @@ make
%{_libdir}/*.la
%changelog
* Tue May 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2-2mamba
- fix libraries +x permissions
* Wed Nov 27 2019 Automatic Build System <autodist@mambasoft.it> 2.2-1mamba
- automatic version update by autodist