Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rsign2 for openSUSE:Factory checked 
in at 2022-01-19 00:35:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rsign2 (Old)
 and      /work/SRC/openSUSE:Factory/.rsign2.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rsign2"

Wed Jan 19 00:35:29 2022 rev:2 rq:947282 version:0.6.1+0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rsign2/rsign2.changes    2021-02-20 
22:12:59.931084246 +0100
+++ /work/SRC/openSUSE:Factory/.rsign2.new.1892/rsign2.changes  2022-01-19 
00:36:03.330327326 +0100
@@ -1,0 +2,12 @@
+Sat Jan 15 12:00:00 UTC 2022 - cu...@mail.de
+
+- Bump minimum Rust version to 1.46
+- Catch more vendored licenses
+
+-------------------------------------------------------------------
+Fri Jan  7 01:35:27 UTC 2022 - William Brown <william.br...@suse.com>
+
+- Update to 0.6.1
+- Change packaging to use obs_scm and cargo services
+
+-------------------------------------------------------------------

Old:
----
  Cargo-0.5.7-20210216.lock
  rsign2-0.5.7.tar.gz
  vendor-0.5.7.tar.xz

New:
----
  _service
  cargo_config
  rsign2-0.6.1+0.tar.xz
  vendor.tar.xz

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

Other differences:
------------------
++++++ rsign2.spec ++++++
--- /var/tmp/diff_new_pack.pHvGOS/_old  2022-01-19 00:36:04.066327852 +0100
+++ /var/tmp/diff_new_pack.pHvGOS/_new  2022-01-19 00:36:04.070327855 +0100
@@ -1,7 +1,8 @@
 #
-# spec file for package rsign2
+# spec file
 #
-# Copyright (c) 2021 cunix
+# Copyright (c) 2021-2022 cunix
+# 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
@@ -19,28 +20,29 @@
 %define _buildshell /bin/bash
 %define vlic_dir  vendored
 %define short_name  rsign
-%define last_update  20210216
+%define last_update  20220115
+
+# repeated here to guard against script deletes
+#
+# Copyright (c) 2021-2022 cunix
+#
 
 Name:           %{short_name}2
-Version:        0.5.7
+Version:        0.6.1+0
 Release:        0
 Summary:        Command-line tool to sign files and verify signatures
 License:        MIT
 Group:          Productivity/Security
 URL:            https://github.com/jedisct1/%{name}
-Source0:        
https://codeload.github.com/jedisct1/%{name}/tar.gz/%{version}#/%{name}-%{version}.tar.gz
-# created with "cargo vendor --versioned-dirs"
-Source1:        vendor-%{version}.tar.xz
-# to verify Source1:
-Source2:        Cargo-%{version}-%{last_update}.lock
+Source0:        %{name}-%{version}.tar.xz
+Source1:        vendor.tar.xz
+Source2:        cargo_config
 # Find licenses of dependency packages.
 Source3:        find_licenses.sh
 # Install licenses of dependency packages.
 Source4:        install_licenses.sh
-BuildRequires:  cargo
-# on 20210216 at least following crates had this minimum version in README.md
-# cipher, crypto-mac, digest, generic-array, hmac, pbkdf2, scrypt, sha2, subtle
-BuildRequires:  rust >= 1.41
+# on 20220115 at least crate bitflags had this minimum version requirement
+BuildRequires:  cargo >= 1.46
 Provides:       %{short_name} = %{version}-%{release}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -51,26 +53,17 @@
 %setup -q -n %{name}-%{version}
 %setup -q -D -T -a 1
 
-cp %{SOURCE2} Cargo.lock
-
-mkdir $PWD/.cargo
-cat > $PWD/.cargo/config <<EOF
-[source.crates-io]
-replace-with = "vendored-sources"
-[source.vendored-sources]
-directory = "./.vendor"
-EOF
+mkdir .cargo
+cp %{SOURCE2} .cargo/config
 
-cd $PWD/.vendor
+cd $PWD/vendor
 # Find licenses of dependency packages and prepare for installation
 bash %{SOURCE3} %{vlic_dir}
 
 %build
-export CARGO_HOME=$PWD/.cargo
 cargo build --release %{?_smp_mflags}
 
 %install
-export CARGO_HOME=$PWD/.cargo
 cargo install --path . --root=%{buildroot}%{_prefix}
 
 rm %{buildroot}%{_prefix}/.crates.toml
@@ -78,7 +71,7 @@
 
 # Dependency Licenses
 install -d -m 0755 %{buildroot}%{_licensedir}/%{name}/%{vlic_dir}
-bash %{SOURCE4} .vendor/%{vlic_dir} 
%{buildroot}/%{_licensedir}/%{name}/%{vlic_dir}
+bash %{SOURCE4} vendor/%{vlic_dir} 
%{buildroot}/%{_licensedir}/%{name}/%{vlic_dir}
 
 %files
 %{_bindir}/%{short_name}

++++++ _service ++++++
<services>
  <service mode="disabled" name="obs_scm">
    <param name="url">https://github.com/jedisct1/rsign2.git</param>
    <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
    <param name="scm">git</param>
    <param name="revision">0.6.1</param>
    <param name="match-tag">*</param>
    <param name="versionrewrite-pattern">(\d+\.\d+\.\d+)</param>
    <param name="versionrewrite-replacement">\1</param>
    <param name="changesgenerate">disable</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">rsign2</param>
     <param name="compression">xz</param>
     <param name="update">true</param>
  </service>
  <service name="cargo_audit" mode="disabled">
     <param name="srcdir">rsign2</param>
  </service>
</services>



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

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

++++++ find_licenses.sh ++++++
--- /var/tmp/diff_new_pack.pHvGOS/_old  2022-01-19 00:36:04.130327898 +0100
+++ /var/tmp/diff_new_pack.pHvGOS/_new  2022-01-19 00:36:04.134327900 +0100
@@ -16,6 +16,7 @@
 goahead=0
 hash_list=()
 filename_list=()
+legal_file_names="copying copyright legal licence license notice patents 
unlicense"
 
 if [[ -z "$vendor_licenses_dir" ]]
   then
@@ -35,11 +36,11 @@
           then
             echo Searching for licenses ...
             rm $licenses_file
-            find ./*/ -iname  "license*" | sort > $licenses_file
-            find ./*/ -iname  "licence*" | sort >> $licenses_file
-            find ./*/ -iname  "copying*" | sort >> $licenses_file
-            find ./*/ -iname  "notice*" | sort >> $licenses_file
-            find ./*/ -iname  "patents*" | sort >> $licenses_file
+            for item in $legal_file_names
+              do
+                echo searching for file names starting with $item
+                find ./*/ -iname  "$item*" | sort >> $licenses_file
+              done
             goahead=1
           else
             echo "$vendor_licenses_dir" is not a directory.

++++++ vendor-0.5.7.tar.xz -> vendor.tar.xz ++++++
++++ 726694 lines of diff (skipped)

Reply via email to