move /lib/lsb to /usr/lib/lsb for usr merge [release 4.1-5mamba;Thu Aug 01 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 08:13:56 +01:00
parent 85617418d9
commit c6e0e9a928

View File

@ -18,13 +18,20 @@
%define qual ()(64bit) %define qual ()(64bit)
%endif %endif
%ifarch aarch64
%define ldso ld-linux-aarch64.so.1
%define lsb_proginterp /lib64/ld-lsb-aarch64.so.3
%define lsb_archname aarch64
%define qual ()(64bit)
%endif
# See: # See:
# https://ldn.linuxfoundation.org/lsb/lsb4-resource-page # https://ldn.linuxfoundation.org/lsb/lsb4-resource-page
# http://www.linuxbase.org/navigator/browse/module.php # http://www.linuxbase.org/navigator/browse/module.php
Name: openmamba-lsb Name: openmamba-lsb
Version: 4.1 Version: 4.1
Release: 4mamba Release: 5mamba
Summary: Linux Standard Base Core (%{lsb_archname}) Summary: Linux Standard Base Core (%{lsb_archname})
Group: System/Configuration Group: System/Configuration
Vendor: openmamba Vendor: openmamba
@ -58,7 +65,6 @@ BuildRequires: libnspr-devel
BuildRequires: libnss-devel BuildRequires: libnss-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libpng12-devel BuildRequires: libpng12-devel
BuildRequires: libqt3-devel
BuildRequires: libqt4-devel BuildRequires: libqt4-devel
BuildRequires: libSM-devel BuildRequires: libSM-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
@ -90,7 +96,7 @@ Provides: lsb-%{lsb_archname} = %{version}
Provides: lsb-noarch = %{version} Provides: lsb-noarch = %{version}
# #
Obsoletes: lsb < 4.1 Obsoletes: lsb < 4.1
ExclusiveArch: %{ix86} x86_64 ia64 arm ExclusiveArch: %{ix86} x86_64 ia64 arm aarch64
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -114,7 +120,7 @@ Obsoletes: lsb-security
Provides: /usr/bin/lsb_release Provides: /usr/bin/lsb_release
Provides: /usr/lib/lsb/install_initd Provides: /usr/lib/lsb/install_initd
Provides: /usr/lib/lsb/remove_initd Provides: /usr/lib/lsb/remove_initd
Provides: /lib/lsb/init-functions Provides: /usr/lib/lsb/init-functions
# See: <http://www.linuxbase.org/navigator/browse/module.php> # See: <http://www.linuxbase.org/navigator/browse/module.php>
# Module LSB-Core # Module LSB-Core
# \ SubModule LSB_Core (Core LSB Specification) # \ SubModule LSB_Core (Core LSB Specification)
@ -333,12 +339,7 @@ Requires: %{name}-core = %{?epoch:epoch:}%{version}-%{release}
# See: <http://www.linuxbase.org/navigator/browse/module.php> # See: <http://www.linuxbase.org/navigator/browse/module.php>
# Module LSB-CXX # Module LSB-CXX
# \ SubModule LSB_Cpp (LSB C++ module) # \ SubModule LSB_Cpp (LSB C++ module)
%ifarch %{ix86} arm Requires: libstdc++.so.6%{qual}
Requires: libstdc++.so.6
%endif
%ifarch x86_64
Requires: libstdc++.so.6()(64bit)
%endif
%description cxx %description cxx
The goal of the Linux Standards Base (LSB) is to develop and promote a set of binary standards that will increase compatibility among Linux systems (and other similar systems), and enable software applications to run on any conforming system. The goal of the Linux Standards Base (LSB) is to develop and promote a set of binary standards that will increase compatibility among Linux systems (and other similar systems), and enable software applications to run on any conforming system.
@ -420,10 +421,6 @@ Requires: libQtOpenGL.so.4%{qual}
Requires: libQtSql.so.4%{qual} Requires: libQtSql.so.4%{qual}
Requires: libQtSvg.so.4%{qual} Requires: libQtSvg.so.4%{qual}
# Module LSB-Desktop
# \ SubModule LSB_Toolkit_Qt3 (LSB Qt3 Toolkit module) ** Deprecated since LSB 3.2
Requires: libqt-mt.so.3%{qual}
# Module LSB-Desktop # Module LSB-Desktop
# \ SubModule LSB_XML (LSB XML module) # \ SubModule LSB_XML (LSB XML module)
Requires: libxml2.so.2%{qual} Requires: libxml2.so.2%{qual}
@ -819,7 +816,6 @@ install -d %{buildroot}/sbin/
install -d %{buildroot}/var/cache/fonts install -d %{buildroot}/var/cache/fonts
install -d %{buildroot}/var/games install -d %{buildroot}/var/games
install -d %{buildroot}/%{_lib} install -d %{buildroot}/%{_lib}
install -d %{buildroot}/lib/lsb
install -d %{buildroot}%{_prefix}/lib/lsb install -d %{buildroot}%{_prefix}/lib/lsb
%makeoldinstall %makeoldinstall
@ -838,10 +834,10 @@ for lsb_module in core desktop printing; do
touch %{buildroot}%{_sysconfdir}/lsb-release.d/${lsb_module}-%{version}-%{lsb_archname} touch %{buildroot}%{_sysconfdir}/lsb-release.d/${lsb_module}-%{version}-%{lsb_archname}
done done
install -m 644 %{S:1} %{buildroot}/lib/lsb/init-functions install -m 644 %{S:1} %{buildroot}%{_prefix}/lib/lsb/init-functions
ln -snf ../../../sbin/chkconfig %{buildroot}/usr/lib/lsb/install_initd ln -snf ../../../sbin/chkconfig %{buildroot}%{_prefix}/lib/lsb/install_initd
ln -snf ../../../sbin/chkconfig %{buildroot}/usr/lib/lsb/remove_initd ln -snf ../../../sbin/chkconfig %{buildroot}%{_prefix}/lib/lsb/remove_initd
for lsbver in %{lsbsover}; do for lsbver in %{lsbsover}; do
ln -s %{ldso} %{buildroot}%{lsb_proginterp} ln -s %{ldso} %{buildroot}%{lsb_proginterp}
@ -864,10 +860,8 @@ EOF
%defattr(-, root, root) %defattr(-, root, root)
%{_bindir}/lsb_release %{_bindir}/lsb_release
%{lsb_proginterp} %{lsb_proginterp}
%dir /lib/lsb %dir %{_prefix}/lib/lsb
/lib/lsb/init-functions %{_prefix}/lib/lsb/*
%dir /usr/lib/lsb
/usr/lib/lsb/*
%{_sysconfdir}/lsb-release %{_sysconfdir}/lsb-release
%dir %{_sysconfdir}/lsb-release.d %dir %{_sysconfdir}/lsb-release.d
%{_sysconfdir}/lsb-release.d/core-* %{_sysconfdir}/lsb-release.d/core-*
@ -889,6 +883,9 @@ EOF
%{_sysconfdir}/lsb-release.d/printing-* %{_sysconfdir}/lsb-release.d/printing-*
%changelog %changelog
* Thu Aug 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1-5mamba
- move /lib/lsb to /usr/lib/lsb for usr merge
* Sun Nov 27 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1-4mamba * Sun Nov 27 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1-4mamba
- removed requirements for upstream obsoleted perl(CGI::Apache) and perl(CGI::Switch) - removed requirements for upstream obsoleted perl(CGI::Apache) and perl(CGI::Switch)