diff --git a/changelog.sh b/changelog.sh index 3b89442..5107716 100755 --- a/changelog.sh +++ b/changelog.sh @@ -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 \ > 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 diff --git a/gwebu-profile.spec.in b/gwebu-profile.spec.in index 517cb56..1fcd030 100644 --- a/gwebu-profile.spec.in +++ b/gwebu-profile.spec.in @@ -1,7 +1,7 @@ Summary: Gwebu profile.d - cool date, prompt with history, aliases Name: gwebu-profile -Version: 1.0.0 -Release: 5 +Version: 1.0.1 +Release: 0 BuildArch: noarch License: GPLv2 Source0: profile.d-%{version}-%{release}.tar.xz @@ -41,6 +41,9 @@ install -m 0644 etc/profile.d/*.sh %{buildroot}%{_sysconfdir}/profile.d/ %changelog +* Wed Apr 03 2024 Doncho N. Gunchev - 1.0.1-0 +- Fix ip color on EL 7. + * Thu Feb 22 2024 Doncho N. Gunchev - 1.0.0-4 - General rework of the build process (distribution source and rpm).