| |
@@ -24,9 +24,9 @@
|
| |
# Check first cockpit-devel@lists.fedorahosted.org
|
| |
#
|
| |
|
| |
- # earliest base that the subpackages work on; the instances of this get computed/updated
|
| |
- # by tools/gen-spec-dependencies during "make dist", but keep a hardcoded fallback
|
| |
- %define required_base 122
|
| |
+ # earliest base that the subpackages work on; this is still required as long as
|
| |
+ # we maintain the basic/optional split, then it can be replaced with just %{version}.
|
| |
+ %define required_base 266
|
| |
|
| |
# we generally want CentOS packages to be like RHEL; special cases need to check %{centos} explicitly
|
| |
%if 0%{?centos}
|
| |
@@ -49,17 +49,17 @@
|
| |
License: LGPLv2+
|
| |
URL: https://cockpit-project.org/
|
| |
|
| |
- Version: 271
|
| |
+ Version: 271.1
|
| |
Release: 1%{?dist}
|
| |
- Source0: https://github.com/cockpit-project/cockpit/releases/download/271/cockpit-271.tar.xz
|
| |
+ Source0: https://github.com/martinpitt/cockpit/releases/download/%{version}/cockpit-%{version}.tar.xz
|
| |
|
| |
# 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.
|
| |
+ # 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
|
| |
- # We also provide an override mechanism if you want to build all packages.
|
| |
%define build_all 1
|
| |
- %if 0%{?rhel} == 8 && 0%{?epel} == 0 && !%{build_all}
|
| |
+ %if 0%{?rhel} == 8 && 0%{?epel} == 0 && !0%{?build_all}
|
| |
|
| |
%if "%{name}" == "cockpit"
|
| |
%define build_basic 1
|
| |
@@ -403,8 +403,6 @@
|
| |
%if 0%{?fedora}
|
| |
Recommends: (reportd if abrt)
|
| |
%endif
|
| |
- # NPM modules which are also available as packages
|
| |
- Provides: bundled(xstatic-patternfly-common) = 3.59.5
|
| |
|
| |
%description system
|
| |
This package contains the Cockpit shell and system configuration interfaces.
|
| |
@@ -531,8 +529,8 @@
|
| |
|
| |
%package kdump
|
| |
Summary: Cockpit user interface for kernel crash dumping
|
| |
- Requires: cockpit-bridge >= 130
|
| |
- Requires: cockpit-shell >= 130
|
| |
+ Requires: cockpit-bridge >= %{required_base}
|
| |
+ Requires: cockpit-shell >= %{required_base}
|
| |
Requires: kexec-tools
|
| |
BuildArch: noarch
|
| |
|
| |
@@ -544,8 +542,8 @@
|
| |
|
| |
%package sosreport
|
| |
Summary: Cockpit user interface for diagnostic reports
|
| |
- Requires: cockpit-bridge >= 122
|
| |
- Requires: cockpit-shell >= 122
|
| |
+ Requires: cockpit-bridge >= %{required_base}
|
| |
+ Requires: cockpit-shell >= %{required_base}
|
| |
Requires: sos
|
| |
BuildArch: noarch
|
| |
|
| |
@@ -559,8 +557,8 @@
|
| |
|
| |
%package networkmanager
|
| |
Summary: Cockpit user interface for networking, using NetworkManager
|
| |
- Requires: cockpit-bridge >= 186
|
| |
- Requires: cockpit-shell >= 186
|
| |
+ Requires: cockpit-bridge >= %{required_base}
|
| |
+ Requires: cockpit-shell >= %{required_base}
|
| |
Requires: NetworkManager >= 1.6
|
| |
# Optional components
|
| |
Recommends: NetworkManager-team
|
| |
@@ -577,8 +575,8 @@
|
| |
|
| |
%package selinux
|
| |
Summary: Cockpit SELinux package
|
| |
- Requires: cockpit-bridge >= 122
|
| |
- Requires: cockpit-shell >= 122
|
| |
+ Requires: cockpit-bridge >= %{required_base}
|
| |
+ Requires: cockpit-shell >= %{required_base}
|
| |
Requires: setroubleshoot-server >= 3.3.3
|
| |
BuildArch: noarch
|
| |
|
| |
@@ -608,7 +606,7 @@
|
| |
|
| |
%package -n cockpit-storaged
|
| |
Summary: Cockpit user interface for storage, using udisks
|
| |
- Requires: cockpit-shell >= 266
|
| |
+ Requires: cockpit-shell >= %{required_base}
|
| |
Requires: udisks2 >= 2.9
|
| |
Recommends: udisks2-lvm2 >= 2.9
|
| |
Recommends: udisks2-iscsi >= 2.9
|
| |
@@ -645,7 +643,7 @@
|
| |
|
| |
%package -n cockpit-pcp
|
| |
Summary: Cockpit PCP integration
|
| |
- Requires: cockpit-bridge >= 238.1.1
|
| |
+ Requires: cockpit-bridge >= %{required_base}
|
| |
Requires: pcp
|
| |
|
| |
%description -n cockpit-pcp
|
| |
@@ -661,7 +659,7 @@
|
| |
%package -n cockpit-packagekit
|
| |
Summary: Cockpit user interface for packages
|
| |
BuildArch: noarch
|
| |
- Requires: cockpit-bridge >= 186
|
| |
+ Requires: cockpit-bridge >= %{required_base}
|
| |
Requires: PackageKit
|
| |
Recommends: python3-tracer
|
| |
# HACK: https://bugzilla.redhat.com/show_bug.cgi?id=1800468
|
| |
@@ -678,6 +676,10 @@
|
| |
|
| |
# The changelog is automatically generated and merged
|
| |
%changelog
|
| |
+ * Tue Jun 14 2022 Packit <hello@packit.dev> - 271.1-1
|
| |
+ - test release
|
| |
+
|
| |
+
|
| |
* Wed Jun 08 2022 Packit <hello@packit.dev> - 271-1
|
| |
- Tests improvements and stabilization
|
| |
|
| |
Upstream tag: 271.1
Upstream commit: 6ee32fca