- Base library:
- Rename default.bash to base.bash,
- Normalize some function names: version_print(), help_print(), str_quote(), str_escape(), echo_line(), echo_error() & cmd_exec()
- Normalise some global variables: VERBOSE & DRY_RUN,
- Add default options: errexit, pipefail & nounset,
- Add GPL headers,
- ISL:
- Move ISL functions to isl command,
- Add bsh completion.
This commit is contained in:
@@ -94,11 +94,17 @@ This is the base component of an Rx3 system:
|
||||
# Config
|
||||
%{__mkdir_p} %{buildroot}%{_sysconfdir}/profile.d
|
||||
cp etc/profile.d/*.sh %{buildroot}%{_sysconfdir}/profile.d
|
||||
%{__mkdir_p} %{buildroot}%{_sysconfdir}/bash_completion.d
|
||||
cp etc/bash_completion.d/* %{buildroot}%{_sysconfdir}/bash_completion.d
|
||||
|
||||
# Libs
|
||||
%{__mkdir_p} %{buildroot}%{_prefix}/lib/rx3
|
||||
cp usr/lib/rx3/*.bash %{buildroot}%{_prefix}/lib/rx3
|
||||
|
||||
# Bin
|
||||
%{__mkdir_p} %{buildroot}%{_sbindir}
|
||||
cp sbin/!(*~) %{buildroot}%{_sbindir}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -108,11 +114,13 @@ cp usr/lib/rx3/*.bash %{buildroot}%{_prefix}/lib/rx3
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
%files
|
||||
%doc ReadMe.txt ReleaseNotes.txt ToDo.txt
|
||||
%license GNU_GPL-3.0.txt GNU_FDL-1.3.txt
|
||||
%doc ReadMe.txt ReleaseNotes.txt ToDo.txt
|
||||
%license GNU_GPL-3.0.txt GNU_FDL-1.3.txt
|
||||
%defattr(644,root,root)
|
||||
%{_sysconfdir}/profile.d/*
|
||||
%{_prefix}/lib/rx3/*
|
||||
%{_sysconfdir}/profile.d/*
|
||||
%{_sysconfdir}/bash_completion.d/*
|
||||
%{_prefix}/lib/rx3/*
|
||||
%attr(0755,root,root) %{_sbindir}/*
|
||||
|
||||
|
||||
|
||||
@@ -123,7 +131,7 @@ cp usr/lib/rx3/*.bash %{buildroot}%{_prefix}/lib/rx3
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
%changelog
|
||||
* Sat Mar 28 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.1.0-1rx3.mga9
|
||||
* Sun Mar 29 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.1.0-1rx3.mga9
|
||||
- Update to 1.1.0
|
||||
|
||||
* Tue Mar 17 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.0.0-1rx3.mga9
|
||||
|
||||
Reference in New Issue
Block a user