Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package Fragments for openSUSE:Factory 
checked in at 2022-02-21 17:46:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/Fragments (Old)
 and      /work/SRC/openSUSE:Factory/.Fragments.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "Fragments"

Mon Feb 21 17:46:14 2022 rev:5 rq:956052 version:2.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/Fragments/Fragments.changes      2022-02-04 
21:52:01.659304018 +0100
+++ /work/SRC/openSUSE:Factory/.Fragments.new.1958/Fragments.changes    
2022-02-21 17:46:45.535596864 +0100
@@ -1,0 +2,34 @@
+Thu Feb 17 21:02:30 UTC 2022 - Bj??rn Lie <bjorn....@gmail.com>
+
+- Update to version 2.0.2:
+  + Port to rust.
+  + Port to gtk4
+  + Switch to rely on transmission-daemon as torrent backend.
+- Drop BuildRequires no longer needed:
+  + libcurl-devel
+  + libevent-devel
+  + libminiupnpc-devel
+  + vala
+  + pkgconfig(gio-unix-2.0)
+  + pkgconfig(gobject-2.0)
+  + pkgconfig(gtk+-3.0)
+  + pkgconfig(libhandy-0.0)
+  + pkgconfig(zlib)
+- Add new BuildRequires:
+  + git
+  + libxml2-tools
+  + rust-packaging
+  + pkgconfig(dbus-1)
+  + pkgconfig(gtk4)
+  + pkgconfig(libadwaita-1)
+  + pkgconfig(sqlite3)
+- Drop patches fixed upstream:
+  + Fragments-fix-vala-syntax-error.patch
+  + Fragments-no-duplicate-LINGUAS.patch
+  + Fragments-fix-meson-0610.patch
+- Add transmission-daemon Requires.
+- Add rust config bits in service.
+- Add _lto_cflags %%{?_lto_cflags} -ffat-lto-objects define, build
+  fails linking without.
+
+-------------------------------------------------------------------

Old:
----
  Fragments-1.4.obscpio
  Fragments-fix-meson-0610.patch
  Fragments-fix-vala-syntax-error.patch
  Fragments-no-duplicate-LINGUAS.patch

New:
----
  Fragments-2.0.2.obscpio
  cargo_config
  vendor.tar.xz

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

Other differences:
------------------
++++++ Fragments.spec ++++++
--- /var/tmp/diff_new_pack.TrUxKl/_old  2022-02-21 17:46:47.447597433 +0100
+++ /var/tmp/diff_new_pack.TrUxKl/_new  2022-02-21 17:46:47.451597435 +0100
@@ -16,40 +16,38 @@
 #
 
 
+%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
+%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
+
 Name:           Fragments
-Version:        1.4
+Version:        2.0.2
 Release:        0
-Summary:        A GTK3 BitTorrent Client
+Summary:        A GTK4 BitTorrent Client
 License:        GPL-3.0-only
 Group:          Productivity/Networking/Other
 URL:            https://gitlab.gnome.org/World/Fragments
 Source:         %{name}-%{version}.tar.xz
-# PATCH-FIX-UPSTREAM Fragments-fix-vala-syntax-error.patch
-Patch1:         Fragments-fix-vala-syntax-error.patch
-# PATCH-FIX-UPSTREAM Fragments-no-duplicate-LINGUAS.patch dims...@opensuse.org 
-- LINGUAS: Order alphabetically, remove duplicated entry
-Patch2:         Fragments-no-duplicate-LINGUAS.patch
-# PATCH-FIX-UPSTREAM Fragments-fix-meson-0610.patch bjorn....@gmail.com -- Fix 
build with meson 0.61.0 and newer
-Patch3:         Fragments-fix-meson-0610.patch
+Source2:        vendor.tar.xz
+Source3:        cargo_config
 
 BuildRequires:  appstream-glib
 BuildRequires:  c++_compiler
 BuildRequires:  c_compiler
 BuildRequires:  cmake
 BuildRequires:  desktop-file-utils
-BuildRequires:  libcurl-devel
-BuildRequires:  libevent-devel >= 2.0.0
-BuildRequires:  libminiupnpc-devel
+BuildRequires:  git
+BuildRequires:  libxml2-tools
 BuildRequires:  meson
 BuildRequires:  openssl-devel >= 0.9.7
 BuildRequires:  pkgconfig
-BuildRequires:  vala
-BuildRequires:  pkgconfig(gio-2.0)
-BuildRequires:  pkgconfig(gio-unix-2.0)
-BuildRequires:  pkgconfig(glib-2.0) >= 2.38
-BuildRequires:  pkgconfig(gobject-2.0)
-BuildRequires:  pkgconfig(gtk+-3.0) >= 3.20.10
-BuildRequires:  pkgconfig(libhandy-0.0)
-BuildRequires:  pkgconfig(zlib)
+BuildRequires:  rust-packaging
+BuildRequires:  pkgconfig(dbus-1)
+BuildRequires:  pkgconfig(gio-2.0) >= 2.66
+BuildRequires:  pkgconfig(glib-2.0) >= 2.66
+BuildRequires:  pkgconfig(gtk4) >= 4.0.0
+BuildRequires:  pkgconfig(libadwaita-1) >= 1.0.0
+BuildRequires:  pkgconfig(sqlite3) >= 3.20
+Requires:       transmission-daemon
 
 %description
 Fragments is an easy to use BitTorrent client which follows the
@@ -58,13 +56,17 @@
 %lang_package
 
 %prep
-%autosetup -p1
+%autosetup -p1 -a2
+mkdir .cargo
+cp %{SOURCE3} .cargo/config
 
 %build
+export RUSTFLAGS=%{rustflags}
 %meson
 %meson_build
 
 %install
+export RUSTFLAGS=%{rustflags}
 %meson_install
 %find_lang fragments %{?no_lang_C}
 
@@ -72,13 +74,15 @@
 %meson_test
 
 %files
-%license COPYING
+%license COPYING.md
 %doc README.md
 %{_bindir}/fragments
 %{_datadir}/applications/de.haeckerfelix.Fragments.desktop
 %{_datadir}/glib-2.0/schemas/de.haeckerfelix.Fragments.gschema.xml
 %{_datadir}/icons/hicolor/
-%{_datadir}/metainfo/de.haeckerfelix.Fragments.appdata.xml
+%{_datadir}/metainfo/de.haeckerfelix.Fragments.metainfo.xml
+%{_datadir}/dbus-1/services/de.haeckerfelix.Fragments.service
+%{_datadir}/fragments/
 
 %files lang -f fragments.lang
 

++++++ Fragments-1.4.obscpio -> Fragments-2.0.2.obscpio ++++++
/work/SRC/openSUSE:Factory/Fragments/Fragments-1.4.obscpio 
/work/SRC/openSUSE:Factory/.Fragments.new.1958/Fragments-2.0.2.obscpio differ: 
char 47, line 1

++++++ Fragments.obsinfo ++++++
--- /var/tmp/diff_new_pack.TrUxKl/_old  2022-02-21 17:46:47.499597449 +0100
+++ /var/tmp/diff_new_pack.TrUxKl/_new  2022-02-21 17:46:47.503597450 +0100
@@ -1,5 +1,5 @@
 name: Fragments
-version: 1.4
-mtime: 1553454299
-commit: f91ea9b576f3ff2621d5f3fda417a9a43107607c
+version: 2.0.2
+mtime: 1644695844
+commit: 7a20eb0d8e1377ea0e93449047a8f24d6336e5d5
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.TrUxKl/_old  2022-02-21 17:46:47.523597456 +0100
+++ /var/tmp/diff_new_pack.TrUxKl/_new  2022-02-21 17:46:47.527597457 +0100
@@ -2,14 +2,18 @@
   <service name="obs_scm" mode="disabled">
     <param name="url">https://gitlab.gnome.org/World/Fragments.git</param>
     <param name="scm">git</param>
-    <param name="revision">refs/tags/1.4</param>
+    <param name="revision">refs/tags/2.0.2</param>
     <param name="versionformat">@PARENT_TAG@</param>
+    <param name="versionrewrite-pattern">v(.*)</param>
   </service>
+  <service name="set_version" mode="disabled"/>
   <service name="tar" mode="buildtime"/>
   <service name="recompress" mode="buildtime">
     <param name="file">*.tar</param>
     <param name="compression">xz</param>
   </service>
-  <service name="set_version" mode="disabled" />
+  <service name="cargo_vendor" mode="disabled">
+    <param name="srcdir">Fragments</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