Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mdevctl for openSUSE:Factory checked 
in at 2022-03-14 19:35:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mdevctl (Old)
 and      /work/SRC/openSUSE:Factory/.mdevctl.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mdevctl"

Mon Mar 14 19:35:06 2022 rev:4 rq:961113 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/mdevctl/mdevctl.changes  2021-07-18 
23:44:47.319120145 +0200
+++ /work/SRC/openSUSE:Factory/.mdevctl.new.25692/mdevctl.changes       
2022-03-14 19:36:59.882121466 +0100
@@ -1,0 +2,20 @@
+Fri Mar 11 17:23:03 UTC 2022 - James Fehlig <[email protected]>
+
+- spec: Add /etc/mdevctl.d/scripts.d directory to %files
+
+-------------------------------------------------------------------
+Thu Mar 10 11:26:24 UTC 2022 - [email protected]
+
+- Update to version v1.1.0 (jsc#SLE-18449):
+  * use imported std::env for CARGO_PKG_VERSION in build.rs directly
+  * fix build.rs to allow specify exact path or name of the rst2man
+  *  Don't call unnecessary to_string()
+  * Report a useful error when /etc/mdevctl.d doesn't exist
+  * Handle FS permissions problems for defined devices
+  * Fix needless borrow warning from clippy
+  * tests: read stdin in callout test scripts
+  * Report root error when a callout can't be executed
+  * Don't emit warning for files in /etc/mdevctl.d/scripts.d
+  * env: add function to get base scripts directory
+
+-------------------------------------------------------------------

Old:
----
  mdevctl-0.81.tar.xz

New:
----
  mdevctl-1.1.0.tar.xz
  vendor.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mdevctl.spec ++++++
--- /var/tmp/diff_new_pack.xCgc3E/_old  2022-03-14 19:37:00.318121989 +0100
+++ /var/tmp/diff_new_pack.xCgc3E/_new  2022-03-14 19:37:00.322121994 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mdevctl
 #
-# 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
@@ -17,19 +17,17 @@
 
 
 Name:           mdevctl
-Version:        0.81
+Version:        1.1.0
 Release:        0
 Summary:        Mediated device management and persistence utility
 License:        LGPL-2.1-or-later
 URL:            https://github.com/mdevctl/mdevctl
 Source0:        %{name}-%{version}.tar.xz
-BuildRequires:  pkgconfig
+Source1:        vendor.tar.xz
+BuildRequires:  %{python_module docutils}
+BuildRequires:  cargo
+BuildRequires:  rust
 BuildRequires:  pkgconfig(udev)
-Requires:       findutils
-Requires:       jq
-Requires:       udev
-Requires:       util-linux
-BuildArch:      noarch
 
 %description
 mdevctl is a utility for managing and persisting devices in the mediated device
@@ -39,12 +37,28 @@
 
 %prep
 %autosetup -p1
+%setup -q -D -T -a 1
+mkdir -p cargo-home
+cat >cargo-home/config <<EOF
+[source.crates-io]
+registry = 'https://github.com/rust-lang/crates.io-index'
+replace-with = 'vendored-sources'
+[source.vendored-sources]
+directory = './vendor'
+EOF
 
 %build
+export CARGO_HOME=$PWD/cargo-home
+cargo build --release %{?_smp_mflags}
 
 %install
 %make_install
 
+%check
+export MDEVCTL_LOG=debug RUST_BACKTRACE=full
+export CARGO_HOME=$PWD/cargo-home
+cargo test
+
 %files
 %license COPYING
 %doc README.md
@@ -52,7 +66,12 @@
 %{_sbindir}/lsmdev
 %{_udevrulesdir}/60-mdevctl.rules
 %dir %{_sysconfdir}/mdevctl.d
+%dir %{_sysconfdir}/mdevctl.d/scripts.d
+%dir %{_sysconfdir}/mdevctl.d/scripts.d/callouts
+%dir %{_sysconfdir}/mdevctl.d/scripts.d/notifiers
 %{_mandir}/man8/mdevctl.8%{?ext_man}
 %{_mandir}/man8/lsmdev.8%{?ext_man}
+%{_datadir}/bash-completion/completions/mdevctl
+%{_datadir}/bash-completion/completions/lsmdev
 
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.xCgc3E/_old  2022-03-14 19:37:00.358122037 +0100
+++ /var/tmp/diff_new_pack.xCgc3E/_new  2022-03-14 19:37:00.362122042 +0100
@@ -1,11 +1,12 @@
 <services>
   <service name="tar_scm" mode="disabled">
     <param name="filename">mdevctl</param>
-    <param name="revision">c077ee72b286b117861dd77b710c58f63be33070</param>
+    <param name="revision">13084d837490f6c0671e2ab9a275cbe3611750c5</param>
     <param name="scm">git</param>
     <param name="submodules">disable</param>
     <param name="url">https://github.com/mdevctl/mdevctl</param>
     <param name="versionformat">@PARENT_TAG@</param>
+    <param name="versionrewrite-pattern">v(.*)</param>
     <param name="changesgenerate">enable</param>
   </service>
   <service name="recompress" mode="disabled">

++++++ mdevctl-0.81.tar.xz -> mdevctl-1.1.0.tar.xz ++++++
++++ 8053 lines of diff (skipped)

Reply via email to