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