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 0e5d093..c2a3c89 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,16 @@ /umockdev-0.15.5.tar.xz /umockdev-0.16.0.tar.xz /umockdev-0.16.1.tar.xz +/umockdev-0.16.2.tar.xz +/umockdev-0.16.3.tar.xz +/umockdev-0.17.1.tar.xz +/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 diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..bdc4243 --- /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.63.2.dev8+g33fd64a. 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 new file mode 100644 index 0000000..7fe5c37 --- /dev/null +++ b/packit.yaml @@ -0,0 +1,58 @@ +# See the documentation for more information: +# https://packit.dev/docs/configuration/ +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 + +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 + 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 + 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..4813a9c --- /dev/null +++ b/plans/upstream.fmf @@ -0,0 +1,7 @@ +discover: + how: fmf + repository: https://github.com/martinpitt/umockdev + # FIXME: get rid of the hardcoding: https://github.com/psss/tmt/issues/585 + ref: "0.17.10" +execute: + how: tmt diff --git a/sources b/sources index cdef943..d84eb21 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (umockdev-0.16.1.tar.xz) = baeaf05cc6b8d8e2a5cae16b808db759a18a969cea0f2ceed5f6c2521edc0c4c07dc16265a4821051de51f4314fd39d63ebf2da124fcd3e103ec743dadfedaa8 +SHA512 (umockdev-0.17.15.tar.xz) = 722339ae0726b00a4ee5fa428f063c5b59f0bad14a8fe24d97276a55dc66c569289c62c4ee5ebdb75a62339444a35468c8c1a33759d76fdf022a1eb4905c0465 diff --git a/umockdev.spec b/umockdev.spec index cd34068..13f4536 100644 --- a/umockdev.spec +++ b/umockdev.spec @@ -1,6 +1,6 @@ Name: umockdev -Version: 0.16.1 -Release: 2%{?dist} +Version: 0.17.15 +Release: 1%{?dist} Summary: Mock hardware devices License: LGPLv2+ @@ -16,6 +16,7 @@ BuildRequires: libgudev1-devel systemd-devel BuildRequires: libpcap-devel BuildRequires: vala BuildRequires: chrpath +BuildRequires: systemd-udev %description With this program and libraries you can easily create mock udev objects. @@ -37,8 +38,13 @@ using %{name}. %meson -Dgtk_doc=true %meson_build -%install +%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 %meson_install # Remove rpath @@ -69,6 +75,74 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/umockdev %{_datadir}/vala/vapi/umockdev-1.0.vapi %changelog +* Thu Nov 24 2022 Packit - 0.17.15-1 + + + + + + +* 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 + builds for the time being, as it is brittle on several architectures (#169) + + +* Tue Jan 18 2022 Packit Service - 0.17.5-1 +- Relax overzealous stat nlink unit test + + +* Mon Jan 10 2022 Packit Service - 0.17.2-1 +- preload: Wrap statx() and fstatat(), to fix `ls` and other tools on + recent glibc versions. (#160) + + +* Tue Dec 14 2021 Packit Service - 0.17.1-1 +- Fix /sys/dev/* symlinks; regression from 0.15.3 (#155) + + +* Wed Sep 15 2021 Bastien Nocera - 0.16.3-1 ++ umockdev-0.16.3-1 +- Update to 0.16.3 + +* Mon Aug 30 2021 Bastien Nocera - 0.16.2-2 ++ umockdev-0.16.2-2 +- Better build fix patch + +* Wed Aug 25 2021 Bastien Nocera - 0.16.2-1 ++ umockdev-0.16.2-1 +- Update to 0.16.2 + * Fri Jul 23 2021 Fedora Release Engineering - 0.16.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild