SHA256
1
0
forked from pool/umockdev

52 Commits

Author SHA256 Message Date
c937d7a4b4 Accepting request 1317985 from hardware
OBS-URL: https://build.opensuse.org/request/show/1317985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=25
2025-11-18 14:27:58 +00:00
99f433a559 Update to version 0.19.4
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=45
2025-11-15 11:30:09 +00:00
e92815dc35 Accepting request 1298609 from hardware
OBS-URL: https://build.opensuse.org/request/show/1298609
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=24
2025-08-11 11:53:18 +00:00
4238586175 * Update to version 0.19.3.
* Use %ldconfig_scriptlets macro for post(un) ldconfig scripts.

OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=43
2025-08-09 16:04:52 +00:00
5576643d0c Accepting request 1274130 from hardware
OBS-URL: https://build.opensuse.org/request/show/1274130
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=23
2025-05-06 14:38:18 +00:00
f362244d80 * Update to version 0.19.1.
* Drop 0001-t_system_single-handle-missing-selinux-context.patch: incorporated upstream.

OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=41
2025-05-03 13:10:17 +00:00
77898bf1c5 Accepting request 1223400 from hardware
- Add 0001-t_system_single-handle-missing-selinux-context.patch:
  * tests: umockdev-record: t_system_single: handle missing
    SELinux context on /dev/null (Cherry-picked from commit
    f5c3a2e4ecbb2ab733b19b0bf84c8334cedd8ba2)
  * Fixes testsuite failure in SLFO.
- Move to the %autosetup macro

OBS-URL: https://build.opensuse.org/request/show/1223400
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=22
2024-11-12 18:19:53 +00:00
80c6fd1ed8 OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=39 2024-11-11 16:18:35 +00:00
3a330b525f - Add 0001-t_system_single-handle-missing-selinux-context.patch:
* tests: umockdev-record: t_system_single: handle missing
    SELinux context on /dev/null (Cherry-picked from commit
    f5c3a2e4ecbb2ab733b19b0bf84c8334cedd8ba2)
  * Fixes testsuite failure in SLFO.
- Move to the %autosetup macro

OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=38
2024-11-11 16:18:01 +00:00
7e36860d4d Accepting request 1207590 from hardware
OBS-URL: https://build.opensuse.org/request/show/1207590
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=21
2024-10-14 11:06:22 +00:00
8d51a13190 Update to version 0.18.4
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=36
2024-10-13 15:47:47 +00:00
12c6308986 Accepting request 1188808 from hardware
OBS-URL: https://build.opensuse.org/request/show/1188808
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=20
2024-07-22 15:14:02 +00:00
df7113f4f9 Accepting request 1167664 from hardware
OBS-URL: https://build.opensuse.org/request/show/1167664
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=19
2024-04-16 18:02:52 +00:00
fc165f4c72 Accepting request 1166698 from home:badshah400:branches:hardware
Update to version 0.18.1.

OBS-URL: https://build.opensuse.org/request/show/1166698
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=32
2024-04-14 13:23:41 +00:00
f2abc23330 Accepting request 1158769 from hardware
OBS-URL: https://build.opensuse.org/request/show/1158769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=18
2024-03-18 15:43:22 +00:00
60557d592d Accepting request 1158712 from home:dirkmueller:Factory
- update to 0.18.0:
  * Record and restore SELinux context for mocked /dev nodes
  * preload: wrap fstatfs() and statfs() on musl
  * Fix build with meson 1.4

OBS-URL: https://build.opensuse.org/request/show/1158712
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=30
2024-03-17 14:13:36 +00:00
e5babeb448 Accepting request 1110171 from hardware
OBS-URL: https://build.opensuse.org/request/show/1110171
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=17
2023-09-12 19:02:01 +00:00
44478ae438 Accepting request 1109617 from home:badshah400:branches:hardware
Update to version 0.17.18

OBS-URL: https://build.opensuse.org/request/show/1109617
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=28
2023-09-10 20:07:59 +00:00
f43f7782c3 Accepting request 1082888 from hardware
OBS-URL: https://build.opensuse.org/request/show/1082888
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=16
2023-04-27 17:59:03 +00:00
ca492d1962 Accepting request 1081066 from home:badshah400:branches:hardware
Update to version 0.17.17

OBS-URL: https://build.opensuse.org/request/show/1081066
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=26
2023-04-26 06:50:17 +00:00
39faf08713 Accepting request 1066775 from hardware
OBS-URL: https://build.opensuse.org/request/show/1066775
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=15
2023-02-21 14:35:36 +00:00
901a729f3d Accepting request 1065650 from home:badshah400:branches:hardware
Update to version 0.17.16

OBS-URL: https://build.opensuse.org/request/show/1065650
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=24
2023-02-20 10:15:41 +00:00
42ba0c900b Accepting request 1038920 from hardware
OBS-URL: https://build.opensuse.org/request/show/1038920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=14
2022-11-30 15:07:49 +00:00
359775cb4e Accepting request 1038419 from home:badshah400:branches:hardware
Update to version 0.17.15

OBS-URL: https://build.opensuse.org/request/show/1038419
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=22
2022-11-29 15:03:27 +00:00
a2283beda9 Accepting request 984906 from hardware
OBS-URL: https://build.opensuse.org/request/show/984906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=13
2022-07-08 12:01:30 +00:00
d5ab3dcce1 Accepting request 984854 from home:favogt:branches:hardware
- Update to version 0.17.13:
  * preload: Wrap fstatfs(), to work with systemd 251 also with Python tests
  * Fix tests in Gentoo sandbox build

OBS-URL: https://build.opensuse.org/request/show/984854
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=20
2022-06-24 14:19:02 +00:00
507060bb16 Accepting request 980741 from hardware
OBS-URL: https://build.opensuse.org/request/show/980741
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=12
2022-06-06 09:10:17 +00:00
54db675f5f Accepting request 979675 from home:badshah400:branches:hardware
Update to version 0.17.12

OBS-URL: https://build.opensuse.org/request/show/979675
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=18
2022-06-04 10:23:41 +00:00
dbf8d3013e Accepting request 969157 from hardware
Update to version 0.17.9

OBS-URL: https://build.opensuse.org/request/show/969157
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=11
2022-04-13 19:04:04 +00:00
7fce171b32 OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=16 2022-04-11 09:34:48 +00:00
5fe2c17376 Accepting request 968363 from home:marxin:branches:hardware
- Update to version 0.17.9:
  * preload: Wrap fortified version of readlinkat (thanks Martin Liska)

OBS-URL: https://build.opensuse.org/request/show/968363
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=15
2022-04-11 09:34:30 +00:00
a5f62905e4 Accepting request 965656 from hardware
OBS-URL: https://build.opensuse.org/request/show/965656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=10
2022-04-02 16:20:27 +00:00
79ff518d9b Accepting request 965116 from home:badshah400:branches:hardware
Update to version 0.17.8

OBS-URL: https://build.opensuse.org/request/show/965116
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=13
2022-03-29 13:28:50 +00:00
15753c3aad Accepting request 953729 from hardware
OBS-URL: https://build.opensuse.org/request/show/953729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=9
2022-02-11 22:06:49 +00:00
11abef1a1c Accepting request 952824 from home:badshah400:branches:hardware
Update to version 0.17.6

OBS-URL: https://build.opensuse.org/request/show/952824
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=12
2022-02-11 12:13:23 +00:00
b0ee49fe52 Accepting request 949863 from hardware
OBS-URL: https://build.opensuse.org/request/show/949863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=8
2022-02-01 13:02:41 +00:00
e0a9960878 Accepting request 949858 from home:dimstar:Factory
- BuildRequire pkgconfig(udev) instead of udev: this allows OBS to
  properly shotcut through the -mini flavors.

OBS-URL: https://build.opensuse.org/request/show/949858
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=11
2022-01-29 10:12:14 +00:00
1bc022c5e1 Accepting request 947577 from home:badshah400:branches:hardware
- Update to version 0.17.5.
- Enable tests in a %check section; add BuildRequires: udev, required for tests.

OBS-URL: https://build.opensuse.org/request/show/947577
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=10
2022-01-27 22:19:36 +00:00
8d6c5c924e Accepting request 943063 from hardware
OBS-URL: https://build.opensuse.org/request/show/943063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=7
2021-12-30 14:55:35 +00:00
af385f8452 Accepting request 942371 from home:badshah400:branches:hardware
Update to version 0.17.1.

OBS-URL: https://build.opensuse.org/request/show/942371
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=9
2021-12-29 13:44:05 +00:00
c2fa041c91 Accepting request 921377 from hardware
OBS-URL: https://build.opensuse.org/request/show/921377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=6
2021-09-28 17:16:25 +00:00
887db6d077 Accepting request 921369 from home:iznogood:branches:hardware
- Add umocdev Requires to devel sub-package, packages using
  umockdev-devel during build expects the binaries to be available.

OBS-URL: https://build.opensuse.org/request/show/921369
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=8
2021-09-24 22:26:42 +00:00
a0213260bd Accepting request 920069 from hardware
OBS-URL: https://build.opensuse.org/request/show/920069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=5
2021-09-20 21:32:57 +00:00
b6ce115ec6 Accepting request 919079 from home:badshah400:branches:hardware
Update to version 0.16.3

OBS-URL: https://build.opensuse.org/request/show/919079
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=7
2021-09-18 17:00:02 +00:00
e7363cd211 Accepting request 918729 from hardware
OBS-URL: https://build.opensuse.org/request/show/918729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=4
2021-09-13 14:24:39 +00:00
df09c71504 Accepting request 918728 from home:badshah400:branches:hardware
Disable to avoid build cycle with gudev (it is recommended but not required for umockdev itself).

OBS-URL: https://build.opensuse.org/request/show/918728
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=6
2021-09-13 13:18:58 +00:00
8240ffaa0e Accepting request 915146 from hardware
OBS-URL: https://build.opensuse.org/request/show/915146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=3
2021-08-31 17:55:31 +00:00
a66bbed9ab Accepting request 914435 from home:badshah400:branches:hardware
Update to version 0.16.2

OBS-URL: https://build.opensuse.org/request/show/914435
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=5
2021-08-30 23:25:52 +00:00
5710deaef0 Accepting request 892451 from hardware
OBS-URL: https://build.opensuse.org/request/show/892451
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=2
2021-05-12 17:32:28 +00:00
dce9d6c48d Accepting request 891465 from home:badshah400:branches:hardware
Update to version 0.15.5

OBS-URL: https://build.opensuse.org/request/show/891465
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=3
2021-05-12 11:16:11 +00:00
8d2e72a4c9 Accepting request 864070 from hardware
OBS-URL: https://build.opensuse.org/request/show/864070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umockdev?expand=0&rev=1
2021-01-18 14:22:02 +00:00
f40cb90898 Accepting request 860520 from home:badshah400:branches:hardware
(New dependency for updated switcheroo-control) umockdev: Mock hardware devices for creating unit tests and bug reporting

OBS-URL: https://build.opensuse.org/request/show/860520
OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=1
2021-01-18 12:56:05 +00:00
5 changed files with 68 additions and 14 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:651b6869033bb1488136ed73c58e9245f5b01856261e1cea041030b83fb1ed7c
size 493816

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aba95c323037c842f1617931260231b8557d119aa2891cbca8b811fcc559294a
size 493724

3
umockdev-0.19.4.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b2014eb0835be508ddf0cdbdd682e33b3daefa6aab5b24c5b326f46f9db8706d
size 498200

View File

@@ -1,3 +1,60 @@
-------------------------------------------------------------------
Sun Nov 9 08:57:10 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 0.19.4:
* preload: Hide sticky bit from emulated block dev stat.
* preload: Wrap listxattr().
* uevent-sender: Retry udev_device_new_from_syspath() on
failure.
* uevent_sender: Retry sendmsg() on EAGAIN.
* tests: Adjust for evtest 1.36.
-------------------------------------------------------------------
Mon Aug 4 14:37:54 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 0.19.3:
* preload: Wrap __fstat64_time64().
- Changes from version 0.19.2:
* preload: Trap dirfd access to /dev, fstat(), and open_tree().
- Use %ldconfig_scriptlets macro for post(un) ldconfig scripts.
-------------------------------------------------------------------
Wed Apr 30 12:13:42 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 0.19.1:
* preload: Restore errno in ioctl_emulate_open().
* preload: Only emulate ioctls on emulated devices.
* Fix ioctl_tree_execute() ret type and initialization.
* tests: Disable spidev on big-endian 32-bit platforms.
- Changes from version 0.19.0:
* API: Add UMockdev.Testbed.wait_script() to sync to
scripts/evemu replays.
* API: UMockdev.Testbed.load_script_from_string().
* API: UMockdev.Testbed.load_evemu_events_from_string().
* Make uevent synthesis thread-safe.
* Handle "connection refused" when sending a uevent.
- Drop 0001-t_system_single-handle-missing-selinux-context.patch:
incorporated upstream.
-------------------------------------------------------------------
Thu Oct 31 14:19:29 UTC 2024 - Eugenio Paolantonio <eugenio.paolantonio@suse.com>
- Add 0001-t_system_single-handle-missing-selinux-context.patch:
* tests: umockdev-record: t_system_single: handle missing
SELinux context on /dev/null (Cherry-picked from commit
f5c3a2e4ecbb2ab733b19b0bf84c8334cedd8ba2)
* Fixes testsuite failure in SLFO.
- Move to the %autosetup macro
-------------------------------------------------------------------
Mon Oct 7 21:38:00 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 0.18.4:
* Add ioctls for Chromium OS EC devices.
* Generate "remove" uevent in umockdev_testbed_remove_device().
* Recursively remove children with uevents.
* preload: Fix sigmask block and restore race.
-------------------------------------------------------------------
Wed Jul 17 06:30:18 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package umockdev
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%define shlib libumockdev0
%define shlibpre libumockdev-preload0
Name: umockdev
Version: 0.18.3
Version: 0.19.4
Release: 0
Summary: Mock hardware devices for creating unit tests and bug reporting
License: LGPL-2.1-or-later
@@ -90,7 +90,7 @@ This package provides the GObject Introspection bindings for the library
umockdev.
%prep
%setup -q
%autosetup -p1
%build
%meson
@@ -102,15 +102,15 @@ umockdev.
%check
%meson_test
%post -n %{shlib} -p /sbin/ldconfig
%postun -n %{shlib} -p /sbin/ldconfig
%post -n %{shlibpre} -p /sbin/ldconfig
%postun -n %{shlibpre} -p /sbin/ldconfig
%ldconfig_scriptlets -n %{shlib}
%ldconfig_scriptlets -n %{shlibpre}
%files
%license COPYING
%doc NEWS README.md
%{_bindir}/*
%{_bindir}/umockdev-record
%{_bindir}/umockdev-run
%{_bindir}/umockdev-wrapper
%files -n %{shlib}
%license COPYING