New upstream release 273

Resolves: rhbz#2056786
Resolves: rhbz#2093231
Resolves: rhbz#2106096
This commit is contained in:
Martin Pitt 2022-07-21 11:47:37 +02:00
parent 3d80facadb
commit e191414e8e
4 changed files with 12 additions and 18 deletions

2
.gitignore vendored
View File

@ -235,4 +235,6 @@
/cockpit-268.1.tar.xz
/cockpit-269.tar.xz
/cockpit-270.tar.xz
/cockpit-271.tar.xz
/cockpit-272.tar.xz
/cockpit-273.tar.xz

View File

@ -49,7 +49,7 @@ Summary: Web Console for Linux servers
License: LGPLv2+
URL: https://cockpit-project.org/
Version: 272
Version: 273
Release: 1%{?dist}
Source0: https://github.com/cockpit-project/cockpit/releases/download/%{version}/cockpit-%{version}.tar.xz
@ -182,23 +182,10 @@ install -p -m 644 tools/cockpit.pam $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/cockpit
rm -f %{buildroot}/%{_libdir}/cockpit/*.so
install -D -p -m 644 AUTHORS COPYING README.md %{buildroot}%{_docdir}/cockpit/
# only ship deprecated PatternFly API for stable releases
%if 0%{?rhel} == 8
if [ -f %{buildroot}/%{_datadir}/cockpit/base1/cockpit.css.gz ]; then
ln -s cockpit.css.gz %{buildroot}/%{_datadir}/cockpit/base1/patternfly.css.gz
elif [ -f %{buildroot}/%{_datadir}/cockpit/base1/cockpit.css ]; then
ln -s cockpit.css %{buildroot}/%{_datadir}/cockpit/base1/patternfly.css
else
echo >&2 Neither cockpit.css.gz nor cockpit.css exists.
exit 1
fi
%endif
# Build the package lists for resource packages
# cockpit-bridge is the basic dependency for all cockpit-* packages, so centrally own the page directory
echo '%dir %{_datadir}/cockpit' > base.list
echo '%dir %{_datadir}/cockpit/base1' >> base.list
echo '%dir %{_datadir}/cockpit/base1/fonts' >> base.list
find %{buildroot}%{_datadir}/cockpit/base1 -type f -o -type l >> base.list
echo '%{_sysconfdir}/cockpit/machines.d' >> base.list
echo %{buildroot}%{_datadir}/polkit-1/actions/org.cockpit-project.cockpit-bridge.policy >> base.list
@ -676,6 +663,13 @@ via PackageKit.
# The changelog is automatically generated and merged
%changelog
* Wed Jul 20 2022 Packit <hello@packit.dev> - 273-1
- Metrics: Display CPU temperature
- Networking: Suggest netmask and gateway addresses
- Software Updates: Optionally reboot after updating
- cockpit/ws container: Support modern SSH keys
* Thu Jun 23 2022 Packit <hello@packit.dev> - 272-1
- Firewall: Edit custom services
- Services: Pin services as favorites

View File

@ -1,7 +1,5 @@
discover:
how: fmf
repository: https://github.com/cockpit-project/cockpit
# FIXME: get rid of the hardcoding: https://github.com/psss/tmt/issues/585
ref: "272"
dist-git-source: true
execute:
how: tmt

View File

@ -1 +1 @@
SHA512 (cockpit-272.tar.xz) = 1d4460f46714fd262cde3983771c52d172d96877278c40d69a40dfe3e78bc5d23a04088124449ecfdc5723afa8543b8b6e90f3addb3f305d4fb59407492aaa0c
SHA512 (cockpit-273.tar.xz) = 5e6c6cc70f2a2b89ae80873716fe245f7a0a517e2d6da5de5d2a255d2b1102f80c17621863547773ac6adb101c0df9f59e048950110f6a1c0fed2e67fa5249ae