Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sway-marker for openSUSE:Factory 
checked in at 2023-01-21 19:10:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sway-marker (Old)
 and      /work/SRC/openSUSE:Factory/.sway-marker.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sway-marker"

Sat Jan 21 19:10:51 2023 rev:2 rq:1060044 version:0.3~0

Changes:
--------
--- /work/SRC/openSUSE:Factory/sway-marker/sway-marker.changes  2022-04-30 
00:46:59.563027560 +0200
+++ /work/SRC/openSUSE:Factory/.sway-marker.new.32243/sway-marker.changes       
2023-01-21 19:11:14.353188168 +0100
@@ -1,0 +2,11 @@
+Fri Jan 20 11:30:20 UTC 2023 - Michael Vetter <[email protected]>
+
+- Update to 0.3:
+  * Improved key handling: non-unicode keys (including modifier keys
+    like ctrl, alt and super) are now ignored. You can still close
+    the dialog with ESC.
+  * Updated dependencies. New clap version brings an improved cli help menu.
+- Use service to create vendor tarball
+- Move to zst
+
+-------------------------------------------------------------------

Old:
----
  sway-marker-0.2.tar.gz
  sway-marker-vendor.tar.xz

New:
----
  _service
  cargo_config
  sway-marker-0.3~0.tar.zst
  vendor.tar.zst

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

Other differences:
------------------
++++++ sway-marker.spec ++++++
--- /var/tmp/diff_new_pack.3rmdHe/_old  2023-01-21 19:11:15.913197073 +0100
+++ /var/tmp/diff_new_pack.3rmdHe/_new  2023-01-21 19:11:15.917197096 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sway-marker
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,15 @@
 
 %define binname nvim-gtk
 Name:           sway-marker
-Version:        0.2
+Version:        0.3~0
 Release:        0
 Summary:        Simple popup for using marks in Sway
 License:        GPL-3.0-only
 URL:            https://github.com/ilyazzz/sway-marker
-Source0:        
https://github.com/ilyazzz/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# cargo build && cargo vendor && tar cvJf sway-marker-vendor.tar.xz vendor
-Source1:        sway-marker-vendor.tar.xz
-BuildRequires:  cargo
+Source0:        %{name}-%{version}.tar.zst
+Source1:        vendor.tar.zst
+Source2:        cargo_config
+BuildRequires:  cargo-packaging
 BuildRequires:  gtk-layer-shell-devel
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  pkgconfig
@@ -43,25 +43,15 @@
 containers (windows) in sway easily.
 
 %prep
-%autosetup -p1 -a1
-
+%autosetup -a1
 mkdir .cargo
-cat >.cargo/config <<EOF
-[source.crates-io]
-replace-with = "vendored-sources"
-
-[source.vendored-sources]
-directory = "./vendor"
-EOF
+cp %{SOURCE2} .cargo/config
 
 %build
-cargo build --release
+%{cargo_build}
 
 %install
-install -p -m 0755 -D target/release/%{name} \
-    %{buildroot}%{_bindir}/%{name}
-
-# rm -vf %%{buildroot}%%{_prefix}/.crates.toml
+%{cargo_install}
 
 %files
 %license LICENSE

++++++ _service ++++++
<services>
  <service mode="disabled" name="obs_scm">
    <param name="url">https://github.com/ilya-zlobintsev/sway-marker</param>
    <param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param>
    <param name="scm">git</param>
    <param name="revision">0.3</param>
    <param name="match-tag">*</param>
    <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
    <param name="versionrewrite-replacement">\1</param>
    <param name="changesgenerate">disable</param>
    <param name="changesauthor">[email protected]</param>
  </service>
  <service mode="disabled" name="tar" />
  <service mode="disabled" name="recompress">
    <param name="file">*.tar</param>
    <param name="compression">zst</param>
  </service>
  <service mode="disabled" name="set_version"/>
  <service name="cargo_vendor" mode="disabled">
     <param name="srcdir">sway-marker</param>
     <param name="compression">zst</param>
     <param name="update">true</param>
  </service>
  <service name="cargo_audit" mode="disabled">
     <param name="srcdir">sway-marker</param>
  </service>
</services>


++++++ cargo_config ++++++
[source.crates-io]
replace-with = "vendored-sources"

[source.vendored-sources]
directory = "vendor"
(No newline at EOF)

Reply via email to