rebuilt with debug package [release 2.3.2-2mamba;Thu Nov 26 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 05:47:31 +01:00
parent 757be112ee
commit 774be295fe

View File

@ -1,7 +1,7 @@
%define majversion %(echo %version | cut -d. -f 1-2)
Name: libslang
Version: 2.3.2
Release: 1mamba
Release: 2mamba
Summary: The shared library for the S-Lang extension language
Group: System/Libraries
Vendor: openmamba
@ -52,18 +52,20 @@ Documentation which may help you write S-Lang based applications is also include
Install the slang-devel package if you want to develop applications based on the S-Lang extension language.
%debug_package
%prep
%setup -q -n slang-%{version}
%build
perl -p -i -e \
's/(ELF_CFLAGS=\"[^\"]*)-O2([^\"]*\".*)/$1'"$RPM_OPT_FLAGS"' $2/gs' \
configure
#perl -p -i -e \
#'s/(ELF_CFLAGS=\"[^\"]*)-O2([^\"]*\".*)/$1'"$RPM_OPT_FLAGS"' $2/gs' \
#configure
%configure \
--includedir=%{_includedir}/slang
%make all
%make -j1 all
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -109,6 +111,9 @@ chmod 755 %{buildroot}%{_libdir}/*.so.*
%doc doc README
%changelog
* Thu Nov 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.2-2mamba
- rebuilt with debug package
* Mon Apr 02 2018 Automatic Build System <autodist@mambasoft.it> 2.3.2-1mamba
- automatic version update by autodist