Auto sync2gitlab import of cockpit-273-2.el8.src.rpm

This commit is contained in:
CentOS Sources 2022-07-22 10:11:27 +00:00
parent 8568fcf669
commit be2baabd76
3 changed files with 20 additions and 17 deletions

2
.gitignore vendored
View File

@ -2,3 +2,5 @@
/cockpit-269.tar.xz
/cockpit-270.tar.xz
/cockpit-272.tar.xz
/cockpit-273.tar.xz
/cockpit.css.gz

View File

@ -49,16 +49,16 @@ Summary: Web Console for Linux servers
License: LGPLv2+
URL: https://cockpit-project.org/
Version: 272
Version: 273
Release: 2%{?dist}
Source0: https://github.com/cockpit-project/cockpit/releases/download/%{version}/cockpit-%{version}.tar.xz
Source1: cockpit.css.gz
# in RHEL 8 the source package is duplicated: cockpit (building basic packages like cockpit-{bridge,system})
# and cockpit-appstream (building optional packages like cockpit-{pcp})
# This split does not apply to EPEL/COPR nor packit c8s builds, only to our own
# image-prepare rhel-8-Y builds (which will disable build_all).
# In Fedora ELN/RHEL 9+ there is just one source package, which ships rpms in both BaseOS and AppStream
%define build_all 1
%if 0%{?rhel} == 8 && 0%{?epel} == 0 && !0%{?build_all}
%if "%{name}" == "cockpit"
@ -182,23 +182,14 @@ 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
# RHEL 8 specific backwards compat API
install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/cockpit/base1/
ln -s cockpit.css.gz %{buildroot}%{_datadir}/cockpit/base1/patternfly.css.gz
# 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 +667,15 @@ via PackageKit.
# The changelog is automatically generated and merged
%changelog
* Thu Jul 21 2022 Martin Pitt <mpitt@redhat.com> - 273-2
- Re-disable BaseOS package builds
* Thu Jul 21 2022 Martin Pitt <mpitt@redhat.com> - 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
* Wed Jun 29 2022 Martin Pitt <mpitt@redhat.com> - 272-2
- No-change rebuild due to brew confusion
@ -713,7 +713,7 @@ via PackageKit.
* Tue Jan 25 2022 Matej Marusak <mmarusak@redhat.com> - 261-1
- shell: Allow adding keys with passphrase
* Fri Jan 04 2022 Martin Pitt <mpitt@redhat.com> - 260-1
* Tue Jan 04 2022 Martin Pitt <mpitt@redhat.com> - 260-1
- Certificate login validation (rhbz#1992620, CVE-2021-3698)
- Client: Show previously used hosts
- Client: Support port specification
@ -758,7 +758,7 @@ via PackageKit.
- Polish of the Services page
- Updated translations
* Mon May 12 2021 Katerina Koukiou <kkoukiou@redhat.com> - 244.1-1
* Wed May 12 2021 Katerina Koukiou <kkoukiou@redhat.com> - 244.1-1
- Shell: sudo is invoked only when explicitly requested
- Dynamically manage motd/issue symlinks in package scripts (rhbz#1876848)

View File

@ -1 +1,2 @@
SHA512 (cockpit-272.tar.xz) = 1d4460f46714fd262cde3983771c52d172d96877278c40d69a40dfe3e78bc5d23a04088124449ecfdc5723afa8543b8b6e90f3addb3f305d4fb59407492aaa0c
SHA512 (cockpit-273.tar.xz) = 5e6c6cc70f2a2b89ae80873716fe245f7a0a517e2d6da5de5d2a255d2b1102f80c17621863547773ac6adb101c0df9f59e048950110f6a1c0fed2e67fa5249ae
SHA512 (cockpit.css.gz) = 1851e890e49141c17e498f1472c3bc307439cefaa0f1dccecbfc87b04087af03ca42199c86116c1fcf8890b58ca98f8aecfb01cc8b3c03a76e2685f7bd610568