Projects
Mega:23.09
bash
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
_service:tar_scm:bash.spec
Changed
@@ -6,7 +6,7 @@ Name: bash Version: 5.2.15 -Release: 2 +Release: 3 Summary: It is the Bourne Again Shell License: GPLv3 URL: https://www.gnu.org/software/bash @@ -78,14 +78,23 @@ %build autoconf -%configure --with-bash-malloc=no --with-afs LDFLAGS="%{?ldflags_options}" +%configure --with-bash-malloc=no --with-afs MFLAGS="CPPFLAGS=-D_GNU_SOURCE -DRECYCLES_PIDS -DDEFAULT_PATH_VALUE='\"/usr/local/bin:/usr/bin\"' `getconf LFS_CFLAGS`" make "$MFLAGS" version.h make "$MFLAGS" -C builtins %make_build "$MFLAGS" %if %{?ENABLE_RELOC} -objreloc $RPM_BUILD_DIR/%{name}-%{version}/bash +mkdir relocation +pushd relocation +ln -s ../configure . +%configure --with-bash-malloc=no --with-afs LDFLAGS="%{?ldflags_options}" +MFLAGS="CPPFLAGS=-D_GNU_SOURCE -DRECYCLES_PIDS -DDEFAULT_PATH_VALUE='\"/usr/local/bin:/usr/bin\"' `getconf LFS_CFLAGS`" +%make_build "$MFLAGS" +objreloc bash +strip bash +mv -f bash ../ +popd %endif %install @@ -96,8 +105,8 @@ install -pDm 644 %SOURCE3 %{buildroot}/etc/skel/.bash_logout install -pDm 644 ./configs/alias.sh %{buildroot}%{_sysconfdir}/profile.d/alias.sh %if %{?ENABLE_RELOC} -mkdir -p ${RPM_BUILD_ROOT}/usr/lib/relocation%{_libdir} -install -pD $RPM_BUILD_DIR/%{name}-%{version}/bash.relocation ${RPM_BUILD_ROOT}/usr/lib/relocation%{_libdir} +mkdir -p ${RPM_BUILD_ROOT}/usr/lib/relocation%{_bindir} +install -pD $RPM_BUILD_DIR/%{name}-%{version}/relocation/bash.relocation ${RPM_BUILD_ROOT}/usr/lib/relocation%{_bindir} %endif # bug #820192, need to add execable alternatives for regular built-ins @@ -126,8 +135,7 @@ %if %{?ENABLE_RELOC} %files relocation %defattr(400,root,root,-) -%dir %attr(500, root, root) %{_bindir} -%attr(400, root, root) /usr/lib/relocation%{_libdir}/bash.relocation +%attr(400, root, root) /usr/lib/relocation%{_bindir}/bash.relocation %endif %files devel @@ -147,6 +155,12 @@ %exclude %{_infodir}/dir %changelog +* Tue Aug 29 2023 liutie <liutie4@huawei.com> -5.2.15-3 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:remove path /usr/bin for sub package relocation and fix issue + * Fri Aug 4 2023 longwei <longwei27@huawei.com> -5.2.15-2 - Type:enhancement - ID:NA
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2