parent
5b6e68b3b5
commit
1cd3f5b145
@ -8,7 +8,7 @@ set -ex
|
||||
|
||||
rpmversion=$(rpm -q --queryformat '%{VERSION}' thermald)
|
||||
version=$(thermald --version)
|
||||
if [ "$version" != "$rpmversion" ]; then
|
||||
if [ "$version" != "$rpmversion" -a "$version.0" != "$rpmversion" ]; then
|
||||
echo "reported thermald version (${version}) does not match rpm version (${rpmversion})"
|
||||
exit 1
|
||||
fi
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
Name: thermald
|
||||
Version: 2.5
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Thermal Management daemon
|
||||
|
||||
# thd_cdev_modem.{cpp,h} is currently GPLv2 only
|
||||
@ -251,6 +251,10 @@ exit 0
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jul 25 2022 Benjamin Berg <bberg@redhat.com> - 2.5-2
|
||||
- Fix version test script
|
||||
Related: #2040081
|
||||
|
||||
* Fri Jul 22 2022 Benjamin Berg <bberg@redhat.com> - 2.5-1
|
||||
- Update to 2.5
|
||||
Resolves: #2040081
|
||||
|
Loading…
Reference in New Issue
Block a user