Update to 0.12.1
New upstream release. Also delete obsolete and unused patch.
This commit is contained in:
parent
9f4c8f8ca7
commit
ec108dc1fe
@ -1,36 +0,0 @@
|
|||||||
From 7e32487df2c7f8b26f3a66ca1d4fee767eff314e Mon Sep 17 00:00:00 2001
|
|
||||||
From: Bastien Nocera <hadess@hadess.net>
|
|
||||||
Date: Thu, 1 Mar 2018 17:56:01 +0100
|
|
||||||
Subject: [PATCH] Fix compilation on Fedora rawhide
|
|
||||||
|
|
||||||
---
|
|
||||||
src/umockdev-record.vala | 8 ++++----
|
|
||||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/umockdev-record.vala b/src/umockdev-record.vala
|
|
||||||
index 1ed4061..2104417 100644
|
|
||||||
--- a/src/umockdev-record.vala
|
|
||||||
+++ b/src/umockdev-record.vala
|
|
||||||
@@ -75,15 +75,15 @@ resolve (string dev)
|
|
||||||
if (Posix.stat(dev, out st) != 0)
|
|
||||||
exit_error("Cannot access device %s: %s", dev, strerror(errno));
|
|
||||||
|
|
||||||
- uint major = Posix.major(st.st_rdev);
|
|
||||||
- uint minor = Posix.minor(st.st_rdev);
|
|
||||||
+ uint major_int = Posix.major(st.st_rdev);
|
|
||||||
+ uint minor_int = Posix.minor(st.st_rdev);
|
|
||||||
|
|
||||||
string link;
|
|
||||||
// character device?
|
|
||||||
if (Posix.S_ISCHR(st.st_mode))
|
|
||||||
- link = "/sys/dev/char/%u:%u".printf(major, minor);
|
|
||||||
+ link = "/sys/dev/char/%u:%u".printf(major_int, minor_int);
|
|
||||||
else if (Posix.S_ISBLK(st.st_mode))
|
|
||||||
- link = "/sys/dev/block/%u:%u".printf(major, minor);
|
|
||||||
+ link = "/sys/dev/block/%u:%u".printf(major_int, minor_int);
|
|
||||||
else
|
|
||||||
link = dev;
|
|
||||||
|
|
||||||
--
|
|
||||||
2.14.3
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: umockdev
|
Name: umockdev
|
||||||
Version: 0.11.3
|
Version: 0.12.1
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Mock hardware devices
|
Summary: Mock hardware devices
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -81,6 +81,9 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/umockdev
|
|||||||
%{_datadir}/vala/vapi/umockdev-1.0.vapi
|
%{_datadir}/vala/vapi/umockdev-1.0.vapi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 29 2019 Christian Kellner <ckellner@redhat.com> - 0.12.1-1
|
||||||
|
- Update to umockdev-0.12.1
|
||||||
|
|
||||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.3-3
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.3-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user