From 5f9193821da21c749515645ece6678fda74c6eb3 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 21 Nov 2022 14:59:37 +0100 Subject: [PATCH] Update to 0.17.13 Resolves: rhbz#2143730 --- .fmf/version | 1 + .gitignore | 14 +++++++ README.packit | 3 ++ gating.yaml | 14 +++++++ packit.yaml | 48 +++++++++++++++++++++++ plans/upstream.fmf | 5 +++ sources | 2 +- umockdev.spec | 98 ++++++++++++++++++++++++++++++++++++++-------- 8 files changed, 167 insertions(+), 18 deletions(-) create mode 100644 .fmf/version create mode 100644 README.packit create mode 100644 gating.yaml create mode 100644 packit.yaml create mode 100644 plans/upstream.fmf 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 df81484..e5fcf1e 100644 --- a/.gitignore +++ b/.gitignore @@ -20,4 +20,18 @@ /0.15.3.tar.gz /0.15.4.tar.gz /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.0.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 diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..dfd4569 --- /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.51.1.dev6+g1099056. 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..497fa0f --- /dev/null +++ b/packit.yaml @@ -0,0 +1,48 @@ +# 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 +srpm_build_deps: [] + +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 + + - job: tests + trigger: pull_request + metadata: + targets: + - fedora-latest + + - job: propose_downstream + trigger: release + metadata: + dist_git_branches: + - fedora-development + - fedora-stable + + - job: koji_build + trigger: commit + metadata: + dist_git_branches: + - fedora-all + + - job: bodhi_update + trigger: commit + metadata: + 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 3ea49de..221b0c8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (umockdev-0.17.8.tar.xz) = e5e6ba2934e1df9323a4e64ee1fc066ab4abeaf75ad0d7f1f6d387b06315f30877f48664e5992f4b138fe1b76d08860359599249d5b9de516777cf8bdb1b228f +SHA512 (umockdev-0.17.13.tar.xz) = 77863ad67be0995869b35d12dc43a809d2e67e95f727312ffd9f585c5bb1598c4d31f4909fcff5035dfccdbde8c36819daa633cae53c57ea2d9c3ede3587ec4d diff --git a/umockdev.spec b/umockdev.spec index 493b0f8..611db99 100644 --- a/umockdev.spec +++ b/umockdev.spec @@ -1,6 +1,6 @@ Name: umockdev -Version: 0.17.8 -Release: 1%{?dist} +Version: 0.17.13 +Release: 2%{?dist} Summary: Mock hardware devices License: LGPLv2+ @@ -17,8 +17,6 @@ BuildRequires: libpcap-devel BuildRequires: vala BuildRequires: chrpath BuildRequires: systemd-udev -# Optional for more test coverage -BuildRequires: python3 %description With this program and libraries you can easily create mock udev objects. @@ -40,8 +38,10 @@ using %{name}. %meson -Dgtk_doc=true %meson_build -%install +%check +%meson_test +%install %meson_install # Remove rpath @@ -52,12 +52,6 @@ chrpath --delete %{buildroot}%{_libdir}/libumockdev-preload.so.* rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/umockdev -%check - -# Disabled for now, as the Xorg tests don't pass -# https://github.com/martinpitt/umockdev/issues/47 -# make check - %ldconfig_scriptlets %files @@ -78,13 +72,83 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/umockdev %{_datadir}/vala/vapi/umockdev-1.0.vapi %changelog -* Thu Mar 31 2022 Benjamin Berg - 0.17.8-1 -- Update to 0.17.8 - Resolves: #2070520 +* Sat Jul 23 2022 Fedora Release Engineering - 0.17.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild -* Tue Aug 10 2021 Mohan Boddu - 0.15.5-3 -- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Related: rhbz#1991688 +* 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) + + +* Sat Dec 11 2021 Packit Service - 0.17.0-1 +- Add ioctls necessary to record/replay hidraw devices (thanks Daiki Ueno) +- meson: Respect includedir option (thanks Florentin Dubois) +- tests: Fix for Fedora koji emulated architectures s390x and arm +- Enable automatic Fedora package updates with packit + + +* 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 + +* Fri Jul 02 2021 Bastien Nocera - 0.16.1-1 ++ umockdev-0.16.1-1 +- Update to 0.16.1 + +* Thu Jul 01 2021 Bastien Nocera - 0.16.0-1 ++ umockdev-0.16.0-1 +- Update to 0.16.0 * Thu May 20 2021 Martin Pitt - 0.15.5-2 - Drop gphoto2 build dependency (rhbz#1962633)