Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rust-cbindgen for openSUSE:Factory 
checked in at 2021-06-12 20:05:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rust-cbindgen (Old)
 and      /work/SRC/openSUSE:Factory/.rust-cbindgen.new.32437 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rust-cbindgen"

Sat Jun 12 20:05:24 2021 rev:14 rq:898581 version:0.19.0+git0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rust-cbindgen/rust-cbindgen.changes      
2021-04-21 20:58:15.878094101 +0200
+++ /work/SRC/openSUSE:Factory/.rust-cbindgen.new.32437/rust-cbindgen.changes   
2021-06-12 20:05:28.620659848 +0200
@@ -1,0 +2,10 @@
+Wed Jun  9 01:55:17 UTC 2021 - William Brown <william.br...@suse.com>
+
+- Resolve issue with UPDATING.md in submission
+
+-------------------------------------------------------------------
+Wed Jun 02 05:23:06 UTC 2021 - william.br...@suse.com
+
+- Update to to build from _service with cargo-audit integration
+
+-------------------------------------------------------------------

Old:
----
  cbindgen-0.19.0.tar.gz

New:
----
  UPDATING.md
  _service
  cargo_config
  cbindgen-0.19.0+git0.tar.xz

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

Other differences:
------------------
++++++ rust-cbindgen.spec ++++++
--- /var/tmp/diff_new_pack.v6vTrf/_old  2021-06-12 20:05:29.988662228 +0200
+++ /var/tmp/diff_new_pack.v6vTrf/_new  2021-06-12 20:05:29.992662236 +0200
@@ -20,14 +20,16 @@
 %global crate_name cbindgen
 %global rustflags -Clink-arg=-Wl,-z,relro,-z,now
 Name:           rust-%{crate_name}
-Version:        0.19.0
+Version:        0.19.0+git0
 Release:        0
 Summary:        A tool for generating C bindings from Rust code
 License:        MPL-2.0
 Group:          Development/Languages/Rust
 URL:            https://crates.io/crates/cbindgen
-Source0:        
https://github.com/eqrion/cbindgen/archive/v%{version}.tar.gz#/%{crate_name}-%{version}.tar.gz
+Source0:        %{crate_name}-%{version}.tar.xz
 Source1:        vendor.tar.xz
+Source2:        cargo_config
+Source99:       UPDATING.md
 BuildRequires:  cargo >= 1.30.0
 BuildRequires:  rust >= 1.30.0
 BuildRequires:  rust-std-static >= 1.30.0
@@ -39,13 +41,7 @@
 %setup -q -T -b 0 -n %{crate_name}-%{version}
 %setup -q -D -T -a 1 -n %{crate_name}-%{version}
 mkdir cargo-home
-cat >cargo-home/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-home/config
 
 %build
 # This should eventually migrate to distro policy

++++++ UPDATING.md ++++++
## Updating with OBS Services

To do an update:

* Edit \_service and change `<param name="revision">v0.19.0</param>` to match 
the release tag version from upstream
* Optional: Change `<param name="changesauthor"></param>` to your email address
* Run `osc service ra` - this will download the git sources, tar it, and vendor 
the dependencies.
* osc rm the "old" source tar
* osc add the "new" source tar
* test build with osc build
* osc ci / osc sr as normal.
++++++ _service ++++++
<services>
  <service mode="disabled" name="obs_scm">
    <param name="url">https://github.com/eqrion/cbindgen.git</param>
    <param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@</param>
    <param name="scm">git</param>
    <param name="revision">v0.19.0</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">william.br...@suse.com</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">cbindgen</param>
     <param name="compression">xz</param>
  </service>
  <service name="cargo_audit" mode="disabled">
     <param name="srcdir">cbindgen</param>
  </service>
</services>
++++++ cargo_config ++++++
[source.crates-io]
replace-with = "vendored-sources"

[source.vendored-sources]
directory = "vendor"++++++ vendor.tar.xz ++++++

Reply via email to