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
This commit is contained in:
Atri Bhattacharya 2022-01-27 22:19:36 +00:00 committed by Git OBS Bridge
parent af385f8452
commit 1bc022c5e1
4 changed files with 25 additions and 5 deletions

View File

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

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

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

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed Jan 19 23:28:55 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 0.17.5:
* Relax overzealous stat nlink unit test.
- Changes from versions 0.17.2 through to 0.17.4:
* Include udev properties in emulated netlink messages, to work
with recent libudev (gh#martinpitt/umockdev#165).
* tests: Work around broken HIDIOCGRDESCSIZE ioctl on big-endian
architectures.
* preload: Wrap statx() and fstatat(), to fix ls and other tools
on recent glibc versions (gh#martinpitt/umockdev#160).
- Enable tests in a %check section; add BuildRequires: udev,
required for tests.
-------------------------------------------------------------------
Fri Dec 24 20:39:50 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package umockdev
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# 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.17.1
Version: 0.17.5
Release: 0
Summary: Mock hardware devices for creating unit tests and bug reporting
License: LGPL-2.1-or-later
@ -38,6 +38,8 @@ BuildRequires: pkgconfig(gobject-introspection-1.0)
# BuildRequires: pkgconfig(gudev-1.0)
BuildRequires: pkgconfig(libpcap)
BuildRequires: pkgconfig(libudev)
# For tests
BuildRequires: udev
%description
umockdev mocks Linux devices for creating integration tests for hardware
@ -97,6 +99,9 @@ umockdev.
%install
%meson_install
%check
%meson_test
%post -n %{shlib} -p /sbin/ldconfig
%postun -n %{shlib} -p /sbin/ldconfig
%post -n %{shlibpre} -p /sbin/ldconfig