The package rpms/cockpit-files.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/cockpit-files.git/commit/?id=c2f95dd....
Change: +ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change: ============
commit c2f95dd1f57adf3fbfcc87a8d8a0cc102c0f2557 Author: Packit hello@packit.dev Date: Wed Jun 26 09:42:03 2024 +0000
Update to 2 upstream release
Upstream tag: 2 Upstream commit: ff2f2f7f
Commit authored by Packit automation (https://packit.dev/)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b9a29dc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/cockpit-files-2.tar.xz diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..3dfd179 --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 0.97.3. diff --git a/cockpit-files.spec b/cockpit-files.spec new file mode 100644 index 0000000..cda7546 --- /dev/null +++ b/cockpit-files.spec @@ -0,0 +1,128 @@ +Name: cockpit-files +Version: 2 +Release: 1%{?dist} +Summary: A filesystem browser for Cockpit +License: LGPL-2.1-or-later + +Source0: https://github.com/cockpit-project/cockpit-files/releases/download/%%7Bversi... +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +BuildRequires: nodejs +BuildRequires: make +%if 0%{?suse_version} +# Suse's package has a different name +BuildRequires: appstream-glib +%else +BuildRequires: libappstream-glib +%endif +BuildRequires: gettext +%if 0%{?rhel} && 0%{?rhel} <= 8 +BuildRequires: libappstream-glib-devel +%endif + +Requires: cockpit-bridge >= 318 + +Provides: bundled(npm(@patternfly/patternfly)) = 5.3.1 +Provides: bundled(npm(@patternfly/react-core)) = 5.3.3 +Provides: bundled(npm(@patternfly/react-icons)) = 5.3.2 +Provides: bundled(npm(@patternfly/react-styles)) = 5.3.1 +Provides: bundled(npm(@patternfly/react-table)) = 5.3.3 +Provides: bundled(npm(@patternfly/react-tokens)) = 5.3.1 +Provides: bundled(npm(array-buffer-byte-length)) = 1.0.1 +Provides: bundled(npm(attr-accept)) = 2.2.2 +Provides: bundled(npm(available-typed-arrays)) = 1.0.7 +Provides: bundled(npm(call-bind)) = 1.0.7 +Provides: bundled(npm(date-fns)) = 3.6.0 +Provides: bundled(npm(deep-equal)) = 2.2.3 +Provides: bundled(npm(define-data-property)) = 1.1.4 +Provides: bundled(npm(define-properties)) = 1.2.1 +Provides: bundled(npm(es-define-property)) = 1.0.0 +Provides: bundled(npm(es-errors)) = 1.3.0 +Provides: bundled(npm(es-get-iterator)) = 1.1.3 +Provides: bundled(npm(file-selector)) = 0.6.0 +Provides: bundled(npm(focus-trap)) = 7.5.2 +Provides: bundled(npm(for-each)) = 0.3.3 +Provides: bundled(npm(function-bind)) = 1.1.2 +Provides: bundled(npm(functions-have-names)) = 1.2.3 +Provides: bundled(npm(get-intrinsic)) = 1.2.4 +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.3 +Provides: bundled(npm(has-symbols)) = 1.0.3 +Provides: bundled(npm(has-tostringtag)) = 1.0.2 +Provides: bundled(npm(hasown)) = 2.0.2 +Provides: bundled(npm(internal-slot)) = 1.0.7 +Provides: bundled(npm(is-arguments)) = 1.1.1 +Provides: bundled(npm(is-array-buffer)) = 3.0.4 +Provides: bundled(npm(is-bigint)) = 1.0.4 +Provides: bundled(npm(is-boolean-object)) = 1.1.2 +Provides: bundled(npm(is-callable)) = 1.2.7 +Provides: bundled(npm(is-date-object)) = 1.0.5 +Provides: bundled(npm(is-map)) = 2.0.3 +Provides: bundled(npm(is-number-object)) = 1.0.7 +Provides: bundled(npm(is-regex)) = 1.1.4 +Provides: bundled(npm(is-set)) = 2.0.3 +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.2 +Provides: bundled(npm(is-weakset)) = 2.0.3 +Provides: bundled(npm(isarray)) = 2.0.5 +Provides: bundled(npm(js-tokens)) = 4.0.0 +Provides: bundled(npm(lodash)) = 4.17.21 +Provides: bundled(npm(loose-envify)) = 1.4.0 +Provides: bundled(npm(object-assign)) = 4.1.1 +Provides: bundled(npm(object-inspect)) = 1.13.2 +Provides: bundled(npm(object-is)) = 1.1.6 +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.3.1 +Provides: bundled(npm(react-dropzone)) = 14.2.3 +Provides: bundled(npm(react-is)) = 16.13.1 +Provides: bundled(npm(react)) = 18.3.1 +Provides: bundled(npm(regexp.prototype.flags)) = 1.5.2 +Provides: bundled(npm(scheduler)) = 0.23.2 +Provides: bundled(npm(set-function-length)) = 1.2.2 +Provides: bundled(npm(set-function-name)) = 2.0.2 +Provides: bundled(npm(side-channel)) = 1.0.6 +Provides: bundled(npm(stop-iteration-iterator)) = 1.0.0 +Provides: bundled(npm(tabbable)) = 6.2.0 +Provides: bundled(npm(throttle-debounce)) = 5.0.0 +Provides: bundled(npm(tslib)) = 2.6.3 +Provides: bundled(npm(which-boxed-primitive)) = 1.0.2 +Provides: bundled(npm(which-collection)) = 1.0.2 +Provides: bundled(npm(which-typed-array)) = 1.1.15 + +%description +A filesystem browser for Cockpit + +%prep +%setup -q -n %{name} + +%build +# Nothing to build + +%install +%make_install PREFIX=/usr + +# 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/* + +# this can't be meaningfully tested during package build; tests happen through +# FMF (see plans/all.fmf) during package gating + +%files +%doc README.md +%license LICENSE dist/index.js.LEGAL.txt dist/index.css.LEGAL.txt +%{_datadir}/cockpit/* +%{_datadir}/metainfo/* + +%changelog +* Wed Jun 26 2024 Packit hello@packit.dev - 2-1 +- Bookmark support diff --git a/packit.yaml b/packit.yaml new file mode 100644 index 0000000..db2f181 --- /dev/null +++ b/packit.yaml @@ -0,0 +1,84 @@ +# Enable RPM builds and running integration tests in PRs through https://packit.dev/ +# To use this, enable Packit-as-a-service in GitHub: https://packit.dev/docs/packit-as-a-service/ +# See https://packit.dev/docs/configuration/ for the format of this file + +specfile_path: cockpit-files.spec +# use the nicely formatted release description from our upstream release, instead of git shortlog +copy_upstream_release_description: true + +srpm_build_deps: + - make + - nodejs-npm + +actions: + post-upstream-clone: + - make cockpit-files.spec + # replace Source1 manually, as create-archive: can't handle multiple tarballs + - make node-cache + - sh -c 'sed -i "/^Source1:/ s/https:.*/$(ls *-node*.tar.xz)/" cockpit-*.spec' + create-archive: make dist + # files.git has no release tags; your project can drop this once you have a release + get-current-version: make print-version + +jobs: + - job: copr_build + trigger: pull_request + targets: + - fedora-development + - fedora-latest-stable + - fedora-latest-stable-aarch64 + + - job: tests + trigger: pull_request + targets: + - fedora-development + - fedora-latest-stable + - fedora-latest-stable-aarch64 + + - job: copr_build + trigger: commit + branch: "^main$" + owner: "@cockpit" + project: "main-builds" + preserve_project: True + + - job: copr_build + trigger: release + owner: "@cockpit" + project: "cockpit-preview" + preserve_project: True + actions: + post-upstream-clone: make cockpit-files.spec + # HACK: tarball for releases (copr_build, koji, etc.), copying spec's Source0; this + # really should be the default, see https://github.com/packit/packit-service/issues/1505 + create-archive: + - sh -exc "curl -L -O https://github.com/cockpit-project/cockpit-files/releases/download/$%7BPACKI..." + - sh -exc "ls ${PACKIT_PROJECT_NAME_VERSION}.tar.xz" + + - job: copr_build + trigger: commit + branch: "^main$" + owner: "@cockpit" + project: "main-builds" + preserve_project: True + + - job: propose_downstream + trigger: release + dist_git_branches: + - fedora-development + - fedora-39 + - fedora-40 + + - job: koji_build + trigger: commit + dist_git_branches: + - fedora-development + - fedora-39 + - fedora-40 + + - job: bodhi_update + trigger: commit + dist_git_branches: + # rawhide updates are created automatically + - fedora-39 + - fedora-40 diff --git a/sources b/sources new file mode 100644 index 0000000..f389ea4 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (cockpit-files-2.tar.xz) = 200b690b4b13c334dd04df3c9f410c3c8b46ce00b6c010e816bdbc8f12fcedd7ed114682982e7d194a09ed291af2195fa744b17a7a2c2100b4e447eafa6d509d
arch-excludes@lists.fedoraproject.org