mirror of
https://github.com/gwebu-team/profile.d.git
synced 2025-12-11 13:15:45 +00:00
Fix ip color on EL 7.
iproute2 on EL 7 (ip utility, iproute2-ss170501) does not support --color=auto, only -c[olor]. Signed-off-by: Doncho N. Gunchev <dgunchev@gmail.com>
This commit is contained in:
parent
9026bf704e
commit
3f8ffe86c9
2 changed files with 8 additions and 2 deletions
|
|
@ -11,3 +11,6 @@ change="* $(date +'%a %b %d %Y') $(git log -1 --format='%aN <%aE>') - ${rpm_ver}
|
||||||
|
|
||||||
awk -v change="${change}" '/^%changelog/ {print; print change; next} 1' gwebu-profile.spec.in \
|
awk -v change="${change}" '/^%changelog/ {print; print change; next} 1' gwebu-profile.spec.in \
|
||||||
> gwebu-profile.spec.tmp && mv gwebu-profile.spec.tmp gwebu-profile.spec.in
|
> gwebu-profile.spec.tmp && mv gwebu-profile.spec.tmp gwebu-profile.spec.in
|
||||||
|
|
||||||
|
sed -i "s/Version: .*/Version: ${rpm_ver}/" gwebu-profile.spec.in
|
||||||
|
sed -i "s/Release: .*/Release: ${rpm_numeric_rev}/" gwebu-profile.spec.in
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
Summary: Gwebu profile.d - cool date, prompt with history, aliases
|
Summary: Gwebu profile.d - cool date, prompt with history, aliases
|
||||||
Name: gwebu-profile
|
Name: gwebu-profile
|
||||||
Version: 1.0.0
|
Version: 1.0.1
|
||||||
Release: 5
|
Release: 0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Source0: profile.d-%{version}-%{release}.tar.xz
|
Source0: profile.d-%{version}-%{release}.tar.xz
|
||||||
|
|
@ -41,6 +41,9 @@ install -m 0644 etc/profile.d/*.sh %{buildroot}%{_sysconfdir}/profile.d/
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 03 2024 Doncho N. Gunchev <dgunchev@gmail.com> - 1.0.1-0
|
||||||
|
- Fix ip color on EL 7.
|
||||||
|
|
||||||
* Thu Feb 22 2024 Doncho N. Gunchev <dgunchev@gmail.com> - 1.0.0-4
|
* Thu Feb 22 2024 Doncho N. Gunchev <dgunchev@gmail.com> - 1.0.0-4
|
||||||
- General rework of the build process (distribution source and rpm).
|
- General rework of the build process (distribution source and rpm).
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue