From 8b9524e921ec2b940a26dcb2929bff7cc6cf2f955ccc7d3694c16c297af889b6 Mon Sep 17 00:00:00 2001 From: William Brown Date: Tue, 6 Apr 2021 00:58:13 +0000 Subject: [PATCH] Accepting request 883011 from home:alarrosa:branches:devel:languages:rust - Update to version 0.8.0 * cbindgen 0.18 * provide a cli option to have fully static builds. * cargo cinstall and cargo capi install now imply --release to match the behavior of cargo install. OBS-URL: https://build.opensuse.org/request/show/883011 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/cargo-c?expand=0&rev=18 --- README.suse-maint | 25 +++++++++++++++++++++++++ _service | 1 + cargo-c-0.7.0.tar.gz | 3 --- cargo-c-0.8.0.tar.gz | 3 +++ cargo-c.changes | 9 +++++++++ cargo-c.spec | 2 +- vendor.tar.xz | 4 ++-- 7 files changed, 41 insertions(+), 6 deletions(-) create mode 100644 README.suse-maint delete mode 100644 cargo-c-0.7.0.tar.gz create mode 100644 cargo-c-0.8.0.tar.gz diff --git a/README.suse-maint b/README.suse-maint new file mode 100644 index 0000000..b4535ea --- /dev/null +++ b/README.suse-maint @@ -0,0 +1,25 @@ +# How to update the cargo-c package + +## Prerequisites: +You need the download_files and cargo_vendor obs services installed: + zypper in obs-service-download_files obs-service-cargo_vendor + +## Updating to a new version from upstream + +Edit the spec file and update the version variable. + +Download the new source file by running: + osc service ra download_files + +Uncompress the cargo-c-%{version}.tar.gz file: + tar xvfz cargo-c-%{version}.tar.gz + +This will create a cargo-c-%{version} directory + +Edit the _service file and set the srcdir param +to the extracted directory. + +Run the cargo_vendor service with: + osc service disabledrun + +Update the changelog file with the upstream release notes. diff --git a/_service b/_service index 6cd96d3..f2d7c46 100644 --- a/_service +++ b/_service @@ -1,4 +1,5 @@ + cargo-c-0.8.0 diff --git a/cargo-c-0.7.0.tar.gz b/cargo-c-0.7.0.tar.gz deleted file mode 100644 index f52145e..0000000 --- a/cargo-c-0.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1cda5235cadc9f618168ea6497e4226856807f6c7fe4419df20bef8e67bfe9c0 -size 21130 diff --git a/cargo-c-0.8.0.tar.gz b/cargo-c-0.8.0.tar.gz new file mode 100644 index 0000000..8fe4abb --- /dev/null +++ b/cargo-c-0.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bcb143317e7f579bcfd13ef3f230cf72961ccc79abb176789f8d1fdff03fd35 +size 22362 diff --git a/cargo-c.changes b/cargo-c.changes index 391a2f7..bd10704 100644 --- a/cargo-c.changes +++ b/cargo-c.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Apr 5 07:52:23 UTC 2021 - Antonio Larrosa + +- Update to version 0.8.0 + * cbindgen 0.18 + * provide a cli option to have fully static builds. + * cargo cinstall and cargo capi install now imply --release + to match the behavior of cargo install. + ------------------------------------------------------------------- Wed Jan 13 16:32:44 UTC 2021 - Andreas Schneider diff --git a/cargo-c.spec b/cargo-c.spec index 490e5ce..5f6ba2b 100644 --- a/cargo-c.spec +++ b/cargo-c.spec @@ -18,7 +18,7 @@ Name: cargo-c -Version: 0.7.0 +Version: 0.8.0 Release: 0 Summary: Helper to build and install c-like libraries from Rust License: MIT diff --git a/vendor.tar.xz b/vendor.tar.xz index 665cc6d..3c88f05 100644 --- a/vendor.tar.xz +++ b/vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:73b5347dce86de3981f918d6b4f56163e35ac3b7d67bea7e10cc53a0c70134b6 -size 23044200 +oid sha256:d5c54f5fb58483f14ccca660c62b44d1ea486bbf84529d23cc3211fff90b1693 +size 22091880