diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.gitignore b/.gitignore index 5f07d6e..06ca13e 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,12 @@ /umockdev-0.17.2.tar.xz /umockdev-0.17.5.tar.xz /umockdev-0.17.6.tar.xz +/umockdev-0.17.7.tar.xz +/umockdev-0.17.8.tar.xz +/umockdev-0.17.9.tar.xz +/umockdev-0.17.10.tar.xz +/umockdev-0.17.12.tar.xz +/umockdev-0.17.13.tar.xz +/umockdev-0.17.15.tar.xz +/umockdev-0.17.16.tar.xz +/umockdev-0.17.17.tar.xz diff --git a/README.packit b/README.packit index e2ee72a..49c9d4e 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.43.1.dev22+gd0d3fc3. +The file was generated using packit 0.72.0.post2+g57b7cc3. diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..5a2cf7d --- /dev/null +++ b/gating.yaml @@ -0,0 +1,14 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} + +--- !Policy +product_versions: + - rhel-8 + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/packit.yaml b/packit.yaml index 2b7304a..7fe5c37 100644 --- a/packit.yaml +++ b/packit.yaml @@ -1,30 +1,58 @@ # See the documentation for more information: # https://packit.dev/docs/configuration/ -specfile_path: packaging/umockdev.spec upstream_project_url: https://github.com/martinpitt/umockdev +issue_repository: https://github.com/martinpitt/umockdev copy_upstream_release_description: true upstream_package_name: umockdev downstream_package_name: umockdev +# HACK: should be implied, but fails propose_downstream: https://github.com/packit/packit-service/issues/1511 +specfile_path: packaging/umockdev.spec -synced_files: - - src: packaging/umockdev.spec - dest: umockdev.spec +actions: + create-archive: + - meson tmp/dist + # ignore local spec changes from packit + - meson dist -C tmp/dist --no-tests --allow-dirty + - sh -ec 'mv tmp/dist/meson-dist/umockdev-*.tar.xz packaging/; ls packaging/umockdev-*.tar.xz' + +srpm_build_deps: + - meson + - gcc + - vala + - libpcap-devel + - glib2-devel + - systemd-devel jobs: - job: copr_build trigger: pull_request - metadata: - targets: - - fedora-development-x86_64 - - fedora-development-i386 - - fedora-development-aarch64 - - fedora-development-ppc64le - - fedora-development-s390x - - fedora-development-armhfp + targets: + - fedora-development-x86_64 + - fedora-development-i386 + - fedora-development-aarch64 + - fedora-development-ppc64le + - fedora-development-s390x + - fedora-development-armhfp + + - job: tests + trigger: pull_request + targets: + - fedora-latest + - centos-stream-9-x86_64 - job: propose_downstream trigger: release - metadata: - dist_git_branches: - - fedora-development - - fedora-stable + dist_git_branches: + - fedora-development + - fedora-stable + + - job: koji_build + trigger: commit + dist_git_branches: + - fedora-all + + - job: bodhi_update + trigger: commit + dist_git_branches: + # rawhide updates are created automatically + - fedora-branched diff --git a/plans/upstream.fmf b/plans/upstream.fmf new file mode 100644 index 0000000..0fd05c1 --- /dev/null +++ b/plans/upstream.fmf @@ -0,0 +1,5 @@ +discover: + how: fmf + dist-git-source: true +execute: + how: tmt diff --git a/sources b/sources index d19925e..a9f064c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (umockdev-0.17.6.tar.xz) = 05a86e2a583972d02fb3cfa26b017d44600831b6ed1415769d7cc7344357f484d34228b1593de2cfbfcce302611c0c22f045ee9fbd7fea76d8ae0b4ccd28d6ef +SHA512 (umockdev-0.17.17.tar.xz) = 39537bcc56cf554773e8669508832bde6f3d4eb83d605c0e58bed3b2d206a6dc0bd0678bd39954825ee0cbed9f1ea9448f836d97ed3ea7e2aa7ce2875456e459 diff --git a/umockdev.spec b/umockdev.spec index 5543f1d..f7e4e11 100644 --- a/umockdev.spec +++ b/umockdev.spec @@ -1,5 +1,5 @@ Name: umockdev -Version: 0.17.6 +Version: 0.17.17 Release: 1%{?dist} Summary: Mock hardware devices @@ -39,6 +39,9 @@ using %{name}. %meson_build %check +# don't be too picky about timing; upstream CI and local developer tests +# are strict, but many koji arches are emulated and utterly slow +export SLOW_TESTBED_FACTOR=10 %meson_test %install @@ -72,6 +75,61 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/umockdev %{_datadir}/vala/vapi/umockdev-1.0.vapi %changelog +* Sun Apr 16 2023 Packit - 0.17.17-1 +- Fix race with worker thread accessing $UMOCKDEV_DIR +- Disable -Wincompatible-function-pointer-types for clang + +* Sun Jan 29 2023 Packit - 0.17.16-1 + + + + + +* Thu Nov 24 2022 Packit - 0.17.15-1 + + + +
    +
  • test fixes
  • +
+ + +* Mon May 30 2022 Packit - 0.17.13-1 +- preload: Wrap fstatfs(), to work with systemd 251 also with Python tests +- Fix tests in Gentoo sandbox build + + +* Thu May 19 2022 Packit - 0.17.12-1 +- Work around packit propose_downstream bug + + +* Tue May 10 2022 Packit - 0.17.10-1 +- Adjust to systemd 251-rc2: Set $SYSTEMD_DEVICE_VERIFY_SYSFS, parse new udevadm format, update tests + + +* Sun Apr 10 2022 Packit - 0.17.9-1 +- preload: Wrap fortified version of readlinkat (thanks Martin Liska) + + +* Wed Mar 23 2022 Packit Service - 0.17.8-1 +- Fix some potential crashes spotted by Coverity +- Enable Fedora builds and bodhi updates via packit + + +* Tue Mar 01 2022 Packit Service - 0.17.7-1 +- Fix uevent race condition in umockdev_testbed_add_from_string() + + * Fri Jan 21 2022 Packit Service - 0.17.6-1 - Increase uevent buffer size (#167) - Skip /umockdev-testbed-vala/detects_running_outside_testbed during normal