Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnome-tour for openSUSE:Factory 
checked in at 2023-03-24 15:19:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-tour (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-tour.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-tour"

Fri Mar 24 15:19:49 2023 rev:5 rq:1073815 version:44.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-tour/gnome-tour.changes    2022-09-21 
14:43:38.833951857 +0200
+++ /work/SRC/openSUSE:Factory/.gnome-tour.new.31432/gnome-tour.changes 
2023-03-24 15:20:08.946802852 +0100
@@ -1,0 +2,14 @@
+Mon Mar 20 20:59:58 UTC 2023 - Bjørn Lie <[email protected]>
+
+- Switch to cargo_packaging:
+  + Drop cargo and rust BuildRequires, add cargo-packaging
+    BuildRequires and macros.
+  + Use source services to generate tarball + run cargo packaging.
+
+-------------------------------------------------------------------
+Mon Mar 20 09:33:13 UTC 2023 - Bjørn Lie <[email protected]>
+
+- Update to version 44.0:
+  + No upstream changes provided.
+
+-------------------------------------------------------------------

Old:
----
  gnome-tour-43.0.tar.xz

New:
----
  _service
  cargo_config
  gnome-tour-44.0.obscpio
  gnome-tour.obsinfo
  vendor.tar.zst

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

Other differences:
------------------
++++++ gnome-tour.spec ++++++
--- /var/tmp/diff_new_pack.gZD69F/_old  2023-03-24 15:20:09.870807671 +0100
+++ /var/tmp/diff_new_pack.gZD69F/_new  2023-03-24 15:20:09.874807691 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gnome-tour
 #
-# 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
@@ -16,20 +16,23 @@
 #
 
 
+%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
+
 Name:           gnome-tour
-Version:        43.0
+Version:        44.0
 Release:        0
 Summary:        GNOME Tour & Greeter
 License:        GPL-3.0-or-later
 Group:          System/GUI/GNOME
 URL:            https://gitlab.gnome.org/GNOME/gnome-tour
-Source0:        
https://download.gnome.org/sources/gnome-tour/43/%{name}-%{version}.tar.xz
+Source0:        %{name}-%{version}.tar.xz
+Source2:        vendor.tar.zst
+Source3:        cargo_config
 
 BuildRequires:  appstream-glib
-BuildRequires:  cargo
+BuildRequires:  cargo-packaging
 BuildRequires:  desktop-file-utils
 BuildRequires:  meson
-BuildRequires:  rust
 BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
 BuildRequires:  pkgconfig(gio-2.0) >= 2.56
 BuildRequires:  pkgconfig(glib-2.0) >= 2.64
@@ -42,20 +45,25 @@
 %lang_package
 
 %prep
-%autosetup -p1
+%autosetup -p1 -a2
+mkdir .cargo
+cp %{SOURCE3} .cargo/config
 
 %build
+export RUSTFLAGS=%{rustflags}
 %meson \
        -D profile=default \
        %{nil}
 %meson_build
 
 %install
+export RUSTFLAGS=%{rustflags}
 %meson_install
 %find_lang %{name} %{?no_lang_C}
 
 %check
 %meson_test
+%cargo_test
 
 %files
 %license LICENSE.md

++++++ _service ++++++
<?xml version="1.0"?>
<services>
  <service name="obs_scm" mode="manual">
    <param name="url">https://gitlab.gnome.org/GNOME/gnome-tour.git</param>
    <param name="scm">git</param>
    <param name="revision">refs/tags/44.0</param>
    <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
    <param name="versionrewrite-pattern">(.*)\+0</param>
    <param name="versionrewrite-replacement">\1</param>
<!--   <param name="changesgenerate">enable</param> -->
  </service>
  <service name="set_version" mode="manual"/>
  <service name="tar" mode="buildtime"/>
  <service name="recompress" mode="buildtime">
    <param name="file">*.tar</param>
    <param name="compression">xz</param>
  </service>
  <service name="cargo_vendor" mode="manual">
  <param name="srcdir">gnome-tour</param>
  <param name="update">true</param>
  </service>
  <service name="cargo_audit" mode="manual">
  <param name="srcdir">gnome-tour</param>
  </service>
</services>


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

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

++++++ gnome-tour.obsinfo ++++++
name: gnome-tour
version: 44.0
mtime: 1679298248
commit: 46ca411004a49ef963e3a7df7b928ebb976bed72

Reply via email to