Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spotifyd for openSUSE:Factory 
checked in at 2022-01-06 15:51:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spotifyd (Old)
 and      /work/SRC/openSUSE:Factory/.spotifyd.new.1896 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spotifyd"

Thu Jan  6 15:51:09 2022 rev:5 rq:944104 version:0.3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/spotifyd/spotifyd.changes        2021-11-27 
00:52:27.582566866 +0100
+++ /work/SRC/openSUSE:Factory/.spotifyd.new.1896/spotifyd.changes      
2022-01-06 15:51:53.788991458 +0100
@@ -1,0 +2,15 @@
+Tue Dec 14 17:14:34 UTC 2021 - danilo.spine...@suse.com
+
+- Update to version 0.3.3:
+  * Bump version: 0.3.2 -> 0.3.3
+  * One last clippy warning
+  * More clippy errors
+  * Fix a first round of lint checks
+  * Run rustfmt to pass lint check
+  * Switch to not importing librespot root (which is binary) in favour of 
smaller libraries
+  * docs: Minor comment additions for MacOS
+  * Fix normalization.
+  * Fix polling in DBUS init
+- Update spec file to use cargo-packaging
+
+-------------------------------------------------------------------

Old:
----
  spotifyd-0.3.2.tar.gz
  vendor.tar.bz2

New:
----
  cargo_config
  spotifyd-0.3.3.tar.xz
  vendor.tar.xz

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

Other differences:
------------------
++++++ spotifyd.spec ++++++
--- /var/tmp/diff_new_pack.c2qgmA/_old  2022-01-06 15:51:54.776992000 +0100
+++ /var/tmp/diff_new_pack.c2qgmA/_new  2022-01-06 15:51:54.780992002 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package spotifyd
 #
-# 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
@@ -16,17 +16,21 @@
 #
 
 
+%define spotifyd_features 
alsa_backend,dbus_keyring,dbus_mpris,pulseaudio_backend
 Name:           spotifyd
-Version:        0.3.2
+Version:        0.3.3
 Release:        0
 Summary:        Spotify client running as a UNIX daemon
 License:        GPL-3.0-or-later
 Group:          Productivity/Multimedia/Sound/Players
 URL:            https://github.com/Spotifyd/spotifyd
-Source0:        
https://github.com/Spotifyd/spotifyd/archive/refs/tags/v%{version}.tar.gz#/spotifyd-%{version}.tar.gz
-Source1:        vendor.tar.bz2
+Source0:        %{name}-%{version}.tar.xz
+Source1:        vendor.tar.xz
+Source2:        cargo_config
 Patch0:        harden_spotifyd.service.patch
 BuildRequires:  cargo
+BuildRequires:  cargo-packaging
+BuildRequires:  rinstall
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(alsa)
 BuildRequires:  pkgconfig(avahi-client)
@@ -41,31 +45,14 @@
 the official clients.
 
 %prep
-%setup -q -a1
-%patch0 -p1
-
+%autosetup -a1 -p1
 mkdir .cargo
-cat >.cargo/config <<EOF
-[source.crates-io]
-registry = 'https://github.com/rust-lang/crates.io-index'
-replace-with = 'vendored-sources'
-[source.vendored-sources]
-directory = './vendor'
-EOF
+cp %{SOURCE2} .cargo/config
 
 %build
-cargo build \
-  --release \
-  --locked %{?_smp_mflags} \
-  --features alsa_backend,dbus_keyring,dbus_mpris,pulseaudio_backend
+%{cargo_build} --features %{spotifyd_features}
 
 %install
-cargo install \
-  --no-track \
-  --root=%{buildroot}%{_prefix} \
-  --path . \
-  --features alsa_backend,dbus_keyring,dbus_mpris,pulseaudio_backend
-
 install -pm0755 -D target/release/spotifyd %{buildroot}%{_bindir}/spotifyd
 install -pm0644 -D contrib/spotifyd.service 
%{buildroot}%{_userunitdir}/spotifyd.service
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.c2qgmA/_old  2022-01-06 15:51:54.808992017 +0100
+++ /var/tmp/diff_new_pack.c2qgmA/_new  2022-01-06 15:51:54.812992020 +0100
@@ -1,5 +1,29 @@
 <services>
+  <service mode="disabled" name="obs_scm">
+    <param name="url">https://github.com/Spotifyd/spotifyd.git</param>
+    <param name="versionformat">@PARENT_TAG@</param>
+    <param name="scm">git</param>
+    <param name="revision">v0.3.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">enable</param>
+    <param name="changesauthor">mailaen...@opensuse.org</param>
+  </service>
+  <service mode="disabled" name="tar" />
+  <service mode="disabled" name="recompress">
+    <param name="file">*.tar</param>
+    <param name="compression">xz</param>
+  </service>
+  <service mode="disabled" name="set_version"/>
+  <service name="cargo_vendor" mode="disabled">
+     <param name="srcdir">spotifyd</param>
+     <param name="compression">xz</param>
+     <param name="update">true</param>
+  </service>
   <service name="cargo_audit" mode="disabled">
+     <param name="srcdir">spotifyd</param>
   </service>
 </services>
+(No newline at EOF)
 

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

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

Reply via email to