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