fix libdir for 64 bits archs [release 2.9.2-2mamba;Sun Jun 23 2024]

This commit is contained in:
Silvan Calarco 2024-06-23 23:06:31 +02:00
parent ffae7c064b
commit af9f5cb242

View File

@ -1,7 +1,7 @@
%define gitver %(echo %version | tr . _)
Name: gnustep-make
Version: 2.9.2
Release: 1mamba
Release: 2mamba
Summary: A simple, powerful and extensible way to write makefiles for a GNUstep-based project
Group: Development/Tools
Vendor: openmamba
@ -9,7 +9,6 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gnustep.github.io/
Source: https://github.com/gnustep/tools-make.git/make-%{gitver}/tools-make-%{version}.tar.bz2
#Source: ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-%{version}.tar.gz
Source1: gnustep-make-macros.gnustep
License: GPL
## AUTOBUILDREQ-BEGIN
@ -24,10 +23,6 @@ It also allows the user to easily create cross-compiled binaries.
%prep
%setup -q -n tools-make-%{version}
sed -i "s|/lib/|/%{_lib}/|g" FilesystemLayouts/fhs-system
sed -i "s|/lib$|/%{_lib}|g" FilesystemLayouts/fhs-system
sed -i "s|/lib/|/%{_lib}/|g" FilesystemLayouts/fhs
sed -i "s|/lib$|/%{_lib}|g" FilesystemLayouts/fhs
# /usr/share/GNUstep/Makefiles/config-noarch.make and
# /usr/share/GNUstep/Makefiles/ix86/linux-gnu/gnu-gnu-gnu/config.make
# are spoiling a pure /usr/share install
@ -36,6 +31,7 @@ sed -i "s|=/share/GNUstep/Makefiles|=/%{_lib}/GNUstep/Makefiles|" \
%build
%configure \
--with-libdir=%{_lib} \
--with-layout=fhs-system \
--enable-flattened
@ -71,6 +67,9 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.gnustep
%doc COPYING
%changelog
* Sun Jun 23 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.2-2mamba
- fix libdir for 64 bits archs
* Fri May 31 2024 Automatic Build System <autodist@openmamba.org> 2.9.2-1mamba
- automatic version update by autodist