#244 Update f39 to upstream release 312
Merged 3 months ago by martinpitt. Opened 3 months ago by packit.
rpms/ packit/cockpit 312-f39-update-propose_downstream  into  f39

[packit] 312 upstream release
Packit • 3 months ago  
file modified
+1
@@ -283,3 +283,4 @@ 

  /cockpit-310.1.tar.xz

  /cockpit-310.2.tar.xz

  /cockpit-311.tar.xz

+ /cockpit-312.tar.xz

file modified
+1 -1
@@ -1,3 +1,3 @@ 

  This repository is maintained by packit.

  https://packit.dev/

- The file was generated using packit 0.91.0.post1.dev4+ge6fd4a25.

+ The file was generated using packit 0.93.0.

file modified
+20 -130
@@ -49,43 +49,10 @@ 

  License:        LGPL-2.1-or-later

  URL:            https://cockpit-project.org/

  

- Version:        311

+ Version:        312

  Release:        1%{?dist}

  Source0:        https://github.com/cockpit-project/cockpit/releases/download/%{version}/cockpit-%{version}.tar.xz

  

- # Don't change the bridge in the RHEL 8; the old SSH breaks some features, see @todoPybridgeRHEL8

- %if 0%{?rhel} == 8 && !%{defined enable_old_bridge}

- %define enable_old_bridge 1

- %endif

- 

- # 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"

- %define build_basic 1

- %define build_optional 0

- %else

- %define build_basic 0

- %define build_optional 1

- %endif

- 

- %else

- %define build_basic 1

- %define build_optional 1

- %endif

- 

- # Allow root login in Cockpit on RHEL 8 and lower as it also allows password login over SSH.

- %if 0%{?rhel} && 0%{?rhel} <= 8

- %define disallow_root 0

- %else

- %define disallow_root 1

- %endif

- 

  # pcp stopped building on ix86

  %define build_pcp 1

  %if 0%{?fedora} >= 40 || 0%{?rhel} >= 10
@@ -94,11 +61,9 @@ 

  %endif

  %endif

  

- # Ship custom SELinux policy (but not for cockpit-appstream)

- %if "%{name}" == "cockpit"

+ # Ship custom SELinux policy

  %define selinuxtype targeted

  %define selinux_configure_arg --enable-selinux-policy=%{selinuxtype}

- %endif

  

  BuildRequires: gcc

  BuildRequires: pkgconfig(gio-unix-2.0)
@@ -109,16 +74,8 @@ 

  BuildRequires: autoconf automake

  BuildRequires: make

  BuildRequires: python3-devel

- %if 0%{?rhel} && 0%{?rhel} <= 8

- # RHEL 8's gettext does not yet have metainfo.its

- BuildRequires: gettext >= 0.19.7

- BuildRequires: libappstream-glib-devel

- %else

  BuildRequires: gettext >= 0.21

- %endif

- %if 0%{?build_basic}

  BuildRequires: libssh-devel >= 0.8.5

- %endif

  BuildRequires: openssl-devel

  BuildRequires: gnutls-devel >= 3.4.3

  BuildRequires: zlib-devel
@@ -179,7 +136,6 @@ 

  Requires: subscription-manager-cockpit

  %endif

  

- %if 0%{?enable_old_bridge} == 0

  BuildRequires:  python3-devel

  BuildRequires:  python3-pip

  %if 0%{?rhel} == 0
@@ -191,7 +147,6 @@ 

  BuildRequires:  python3-pytest-timeout

  BuildRequires:  python3-tox-current-env

  %endif

- %endif

  

  %prep

  %setup -q -n cockpit-%{version}
@@ -205,12 +160,6 @@ 

      --docdir=%_defaultdocdir/%{name} \

  %endif

      --with-pamdir='%{pamdir}' \

- %if 0%{?enable_old_bridge}

-     --enable-old-bridge \

- %endif

- %if 0%{?build_basic} == 0

-     --disable-ssh \

- %endif

  %if %{build_pcp} == 0

      --disable-pcp \

  %endif
@@ -220,7 +169,7 @@ 

  %check

  make -j$(nproc) check

  

- %if 0%{?enable_old_bridge} == 0 && 0%{?rhel} == 0

+ %if 0%{?rhel} == 0

  %tox

  %endif

  
@@ -239,10 +188,6 @@ 

  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

- %if 0%{?enable_old_bridge} && 0%{?build_basic}

- echo '%dir %{_datadir}/cockpit/ssh' >> base.list

- find %{buildroot}%{_datadir}/cockpit/ssh -type f >> base.list

- %endif

  echo '%{_libexecdir}/cockpit-ssh' >> base.list

  

  %if %{build_pcp}
@@ -290,43 +235,6 @@ 

  echo '%dir %{_datadir}/cockpit/static/fonts' >> static.list

  find %{buildroot}%{_datadir}/cockpit/static -type f >> static.list

  

- # when not building basic packages, remove their files

- %if 0%{?build_basic} == 0

- for pkg in base1 branding motd kdump networkmanager selinux shell sosreport static systemd users metrics; do

-     rm -r %{buildroot}/%{_datadir}/cockpit/$pkg

-     rm -f %{buildroot}/%{_datadir}/metainfo/org.cockpit-project.cockpit-${pkg}.metainfo.xml

- done

- for data in doc man pixmaps polkit-1; do

-     rm -r %{buildroot}/%{_datadir}/$data

- done

- rm -r %{buildroot}/%{_prefix}/%{__lib}/tmpfiles.d

- find %{buildroot}/%{_unitdir}/ -type f ! -name 'cockpit-session*' -delete

- for libexec in cockpit-askpass cockpit-session cockpit-ws cockpit-tls cockpit-wsinstance-factory cockpit-client cockpit-client.ui cockpit-desktop cockpit-certificate-helper cockpit-certificate-ensure; do

-     rm -f %{buildroot}/%{_libexecdir}/$libexec

- done

- rm -r %{buildroot}/%{_sysconfdir}/pam.d %{buildroot}/%{_sysconfdir}/motd.d %{buildroot}/%{_sysconfdir}/issue.d

- rm -f %{buildroot}/%{_libdir}/security/pam_*

- rm -f %{buildroot}/usr/bin/cockpit-bridge

- rm -f %{buildroot}%{_libexecdir}/cockpit-ssh

- rm -f %{buildroot}%{_datadir}/metainfo/cockpit.appdata.xml

- rm -rf %{buildroot}%{python3_sitelib}/cockpit*

- %endif

- 

- # when not building optional packages, remove their files

- %if 0%{?build_optional} == 0

- for pkg in apps packagekit pcp playground storaged; do

-     rm -rf %{buildroot}/%{_datadir}/cockpit/$pkg

- done

- # files from -tests

- rm -f %{buildroot}/%{pamdir}/mock-pam-conv-mod.so

- rm -f %{buildroot}/%{_unitdir}/cockpit-session.socket

- rm -f %{buildroot}/%{_unitdir}/cockpit-session@.service

- # files from -pcp

- rm -r %{buildroot}/%{_libexecdir}/cockpit-pcp %{buildroot}/%{_localstatedir}/lib/pcp/

- # files from -storaged

- rm -f %{buildroot}/%{_prefix}/share/metainfo/org.cockpit-project.cockpit-storaged.metainfo.xml

- %endif

- 

  sed -i "s|%{buildroot}||" *.list

  

  %if ! 0%{?suse_version}
@@ -350,9 +258,7 @@ 

  %endif

  

  # -------------------------------------------------------------------------------

- # Basic Sub-packages

- 

- %if 0%{?build_basic}

+ # Sub-packages

  

  %description

  The Cockpit Web Console enables users to administer GNU/Linux servers using a
@@ -390,9 +296,7 @@ 

  %doc %{_mandir}/man1/cockpit-bridge.1.gz

  %{_bindir}/cockpit-bridge

  %{_libexecdir}/cockpit-askpass

- %if 0%{?enable_old_bridge} == 0

  %{python3_sitelib}/%{name}*

- %endif

  

  %package doc

  Summary: Cockpit deployment and developer guide
@@ -441,17 +345,17 @@ 

  Recommends: (reportd if abrt)

  %endif

  

- Provides: bundled(npm(@patternfly/patternfly)) = 5.1.0

- Provides: bundled(npm(@patternfly/react-core)) = 5.1.2

- Provides: bundled(npm(@patternfly/react-icons)) = 5.1.2

- Provides: bundled(npm(@patternfly/react-styles)) = 5.1.2

- Provides: bundled(npm(@patternfly/react-table)) = 5.1.2

- Provides: bundled(npm(@patternfly/react-tokens)) = 5.1.2

+ Provides: bundled(npm(@patternfly/patternfly)) = 5.2.0

+ Provides: bundled(npm(@patternfly/react-core)) = 5.2.0

+ Provides: bundled(npm(@patternfly/react-icons)) = 5.2.0

+ Provides: bundled(npm(@patternfly/react-styles)) = 5.2.0

+ Provides: bundled(npm(@patternfly/react-table)) = 5.2.0

+ Provides: bundled(npm(@patternfly/react-tokens)) = 5.2.0

  Provides: bundled(npm(argparse)) = 1.0.10

  Provides: bundled(npm(array-buffer-byte-length)) = 1.0.1

  Provides: bundled(npm(attr-accept)) = 2.2.2

  Provides: bundled(npm(autolinker)) = 3.16.2

- Provides: bundled(npm(available-typed-arrays)) = 1.0.6

+ Provides: bundled(npm(available-typed-arrays)) = 1.0.7

  Provides: bundled(npm(call-bind)) = 1.0.7

  Provides: bundled(npm(date-fns)) = 3.3.1

  Provides: bundled(npm(deep-equal)) = 2.2.3
@@ -469,7 +373,7 @@ 

  Provides: bundled(npm(gopd)) = 1.0.1

  Provides: bundled(npm(has-bigints)) = 1.0.2

  Provides: bundled(npm(has-property-descriptors)) = 1.0.2

- Provides: bundled(npm(has-proto)) = 1.0.1

+ Provides: bundled(npm(has-proto)) = 1.0.3

  Provides: bundled(npm(has-symbols)) = 1.0.3

  Provides: bundled(npm(has-tostringtag)) = 1.0.2

  Provides: bundled(npm(hasown)) = 2.0.1
@@ -484,7 +388,7 @@ 

  Provides: bundled(npm(is-number-object)) = 1.0.7

  Provides: bundled(npm(is-regex)) = 1.1.4

  Provides: bundled(npm(is-set)) = 2.0.2

- Provides: bundled(npm(is-shared-array-buffer)) = 1.0.2

+ Provides: bundled(npm(is-shared-array-buffer)) = 1.0.3

  Provides: bundled(npm(is-string)) = 1.0.7

  Provides: bundled(npm(is-symbol)) = 1.0.4

  Provides: bundled(npm(is-weakmap)) = 2.0.1
@@ -501,6 +405,7 @@ 

  Provides: bundled(npm(object-is)) = 1.1.5

  Provides: bundled(npm(object-keys)) = 1.1.1

  Provides: bundled(npm(object.assign)) = 4.1.5

+ Provides: bundled(npm(possible-typed-array-names)) = 1.0.0

  Provides: bundled(npm(prop-types)) = 15.8.1

  Provides: bundled(npm(react-dom)) = 18.2.0

  Provides: bundled(npm(react-dropzone)) = 14.2.3
@@ -510,7 +415,7 @@ 

  Provides: bundled(npm(remarkable)) = 2.0.1

  Provides: bundled(npm(scheduler)) = 0.23.0

  Provides: bundled(npm(set-function-length)) = 1.2.1

- Provides: bundled(npm(set-function-name)) = 2.0.1

+ Provides: bundled(npm(set-function-name)) = 2.0.2

  Provides: bundled(npm(side-channel)) = 1.0.5

  Provides: bundled(npm(sprintf-js)) = 1.0.3

  Provides: bundled(npm(stop-iteration-iterator)) = 1.0.0
@@ -620,9 +525,7 @@ 

      ln -s ../../run/cockpit/motd /etc/motd.d/cockpit

      ln -s ../../run/cockpit/motd /etc/issue.d/cockpit.issue

      printf "# List of users which are not allowed to login to Cockpit\n" > /etc/cockpit/disallowed-users

- %if 0%{?disallow_root}

      printf "root\n" >> /etc/cockpit/disallowed-users

- %endif

      chmod 644 /etc/cockpit/disallowed-users

  fi

  
@@ -717,21 +620,6 @@ 

  

  %endif

  

- #/ build basic packages

- %else

- 

- # RPM requires this

- %description

- Dummy package from building optional packages only; never install or publish me.

- 

- #/ build basic packages

- %endif

- 

- # -------------------------------------------------------------------------------

- # Sub-packages that are optional extensions

- 

- %if 0%{?build_optional}

- 

  %package -n cockpit-storaged

  Summary: Cockpit user interface for storage, using udisks

  Requires: cockpit-shell >= %{required_base}
@@ -807,11 +695,13 @@ 

  

  %files -n cockpit-packagekit -f packagekit.list

  

- #/ build optional extension packages

- %endif

- 

  # The changelog is automatically generated and merged

  %changelog

+ * Wed Feb 28 2024 Packit <hello@packit.dev> - 312-1

+ - Accounts: support lastlog2 and make the page faster

+ - Storage: Various Anaconda mode fixes

+ - Fix package build if cockpit-bridge package is installed

+ 

  * Wed Feb 14 2024 Packit <hello@packit.dev> - 311-1

  - Bug fixes and stability improvements

  

file modified
+4 -5
@@ -27,11 +27,10 @@ 

      identifier: self

      trigger: pull_request

      targets:

-       - fedora-38

        - fedora-39

+       - fedora-40

        - fedora-latest-aarch64

        - fedora-development

-       - centos-stream-8-x86_64

        - centos-stream-9-x86_64

        - centos-stream-9-aarch64

  
@@ -90,19 +89,19 @@ 

      trigger: release

      dist_git_branches:

        - fedora-development

-       - fedora-38

        - fedora-39

+       - fedora-40

  

    - job: koji_build

      trigger: commit

      dist_git_branches:

        - fedora-development

-       - fedora-38

        - fedora-39

+       - fedora-40

  

    - job: bodhi_update

      trigger: commit

      dist_git_branches:

        # rawhide updates are created automatically

-       - fedora-38

        - fedora-39

+       - fedora-40

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (cockpit-311.tar.xz) = 16583cfc29328a92725278e0cf73f8e1312ecbdfbac0d53243a67ce5050091a73871c39425c28b7a4249885c427753831daef131df2c7f8a8cd191be29fba4e3

+ SHA512 (cockpit-312.tar.xz) = 78594944add2aef7e1027e30eb6eb71bac17a7c99c354e55e8cb13730175565025f3ffee7c82ce20bfca8f3a3ba559b5faa016285754a9982905e49ca1d7592b

Upstream tag: 312
Upstream commit: 22e140c8


If you need to do any change in this pull request, you can clone Packit's fork and push directly to the source branch of this PR (provided you have commit access to this repository):

git clone ssh://$YOUR_USER@pkgs.fedoraproject.org/forks/packit/rpms/cockpit.git
cd cockpit
git checkout 312-f39-update-propose_downstream
git push origin 312-f39-update-propose_downstream

Alternatively, if you already have the package repository cloned, you can just fetch the Packit's fork:

cd cockpit
git remote add packit ssh://$YOUR_USER@pkgs.fedoraproject.org/forks/packit/rpms/cockpit.git
git fetch packit refs/heads/312-f39-update-propose_downstream
git checkout 312-f39-update-propose_downstream
git push packit 312-f39-update-propose_downstream

If you have the koji_build job configured as well, make sure to configure the allowed_pr_authors and/or allowed_committers (see the docs) since by default, Packit reacts only to its own PRs.


Before pushing builds/updates, please remember to check the new version against the packaging guidelines.

For example, please:

  • check that the new sources only contain permissible content
  • check that the license of the new version has not changed
  • check for any API/ABI and other changes that may break dependent packages
  • check the autogenerated changelog

Logs and details of the syncing: Packit dashboard

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/ae742271c17e46b590b2e3a5e92b7225

Pull-Request has been merged by martinpitt

3 months ago