The package rpms/subscription-manager-cockpit.git has added or updated architecture
specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/subscription-manager-cockpit.git/....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 0ccf02899c975bff75e98c75998abd1137f35d51
Author: Jiri Hnidek <jhnidek(a)redhat.com>
Date: Wed Aug 24 12:14:14 2022 +0200
New release of subscription-manager-cockpit (4-1) for F37
* BZ:
https://bugzilla.redhat.com/show_bug.cgi?id=2110853
diff --git a/.gitignore b/.gitignore
index 729c7b5..ba9a0f1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
/subscription-manager-cockpit-2.tar.xz
/subscription-manager-cockpit-node-2.tar.xz
+/subscription-manager-cockpit-4.tar.xz
+/subscription-manager-cockpit-node-4.tar.xz
diff --git a/sources b/sources
index ffec552..4fe04b1 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (subscription-manager-cockpit-2.tar.xz) =
dbc676c6ff4fe82b09b6249d2579e09220ea30a62c95904876fd20b3082afb942b65601c933936f44761ac1707430ceb93867315cbbf2e490777c2a59e813109
-SHA512 (subscription-manager-cockpit-node-2.tar.xz) =
bc6907ef116042f46df92aa969d20aacec16e1d7a6c40d7ec8480e6e201c2ccaf56b501b92c78ef4678c6a32aacfdba64b291bac866171c2f2a681fecfd13d56
+SHA512 (subscription-manager-cockpit-4.tar.xz) =
738f2792bafaf6e412a06033c87e6d71a235358d2beed2a18252fe8dbc4626972edd9df0da068bffd4c9bdfe81868eeaa7d40b0899b3bbfe7efb33ca78473b53
+SHA512 (subscription-manager-cockpit-node-4.tar.xz) =
61d2d4064cbb9b9ed20005c7ca0c10b2326355dbf7fca8f1e5b58800b8c8ccba2166407673ae8abda58dc4d2f271511ebbe11150e0b636203b5d1580a363f5f8
diff --git a/subscription-manager-cockpit.spec b/subscription-manager-cockpit.spec
index b42e92f..230794e 100644
--- a/subscription-manager-cockpit.spec
+++ b/subscription-manager-cockpit.spec
@@ -1,14 +1,20 @@
Name: subscription-manager-cockpit
-Version: 2
-Release: 2%{?dist}
+Version: 4
+Release: 1%{?dist}
Summary: Subscription Manager Cockpit UI
+%if 0%{?suse_version}
Group: System Environment/Base
+%endif
License: LGPLv2
URL:
https://www.candlepinproject.org/
Source0: %{name}-%{version}.tar.xz
Source1: %{name}-node-%{version}.tar.xz
BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+%if 0%{?fedora}
+BuildRequires: nodejs-devel
+%endif
BuildRequires: nodejs
BuildRequires: make
BuildRequires: libappstream-glib
@@ -22,8 +28,9 @@ Requires: subscription-manager
Requires: cockpit-bridge
Requires: cockpit-shell
Requires: rhsm-icons
-# Used by desktop UI, but not necessary for web UI
-Recommends: cockpit-ws
+%if %{defined rhel} && %{undefined centos}
+Suggests: insights-client
+%endif
%description
Subscription Manager Cockpit UI
@@ -45,22 +52,25 @@ This package contains the desktop icons for the graphical interfaces
provided fo
of Red Hat subscriptions: subscription-manager-gui, subscription-manager-cockpit-plugin.
%prep
-%setup -q -n %{name}
-%setup -q -a 1 -n %{name}
-
-%build
+%autosetup -n %{name} -a 1
# ignore pre-built webpack in release tarball and rebuild it
rm -rf dist
+
+%build
ESLINT=0 NODE_ENV=production make
%install
%make_install
-appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
-desktop-file-validate %{buildroot}/%{_datadir}/applications/*
# drop source maps, they are large and just for debugging
find %{buildroot}%{_datadir}/cockpit/ -name '*.map' | xargs --no-run-if-empty rm
--verbose
+%check
+appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
+desktop-file-validate %{buildroot}/%{_datadir}/applications/*
+
+# this can't be meaningfully tested during package build
+
%files
%license LICENSE
%dir %{_datadir}/cockpit/subscription-manager
@@ -73,9 +83,17 @@ find %{buildroot}%{_datadir}/cockpit/ -name '*.map' | xargs
--no-run-if-empty rm
%{_datadir}/icons/hicolor/symbolic/apps/*.svg
%changelog
-* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 2-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+* Wed Jul 27 2022 Jiri Hnidek <jhnidek(a)redhat.com> 4-1
+
+* Tue Jul 26 2022 Jiri Hnidek <jhnidek(a)redhat.com> 3-1
+- Translated using Weblate (Korean) (simmon(a)nplob.com)
+- test: drop unused reference-image file (ptoscano(a)redhat.com)
+- Drop the static npm-shrinkwrap.json (ptoscano(a)redhat.com)
+- Bump cockpit test API to 273 + run-tests scheduler fix (martin(a)piware.de)
+- spec: suggest insights-client on RHEL (ptoscano(a)redhat.com)
+- tito: remove autogenerated spec file before tagging (ptoscano(a)redhat.com)
-* Tue May 03 2022 Christopher Snyder <csnyder(a)redhat.com> 2-1
-- new package built with tito
+* Fri Jun 24 2022 Jiri Hnidek <jhnidek(a)redhat.com> 2-1
+- New package built with tito
+- New pattern of versioning. Starting version is 2