forked from pool/cargo-c
Accepting request 883123 from devel:languages:rust
- Add README.suse-maint to fix OBS warning. - 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/883123 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cargo-c?expand=0&rev=8
This commit is contained in:
commit
c69eef0794
25
README.suse-maint
Normal file
25
README.suse-maint
Normal file
@ -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.
|
1
_service
1
_service
@ -1,4 +1,5 @@
|
|||||||
<services>
|
<services>
|
||||||
<service name="cargo_vendor" mode="disabled">
|
<service name="cargo_vendor" mode="disabled">
|
||||||
|
<param name="srcdir">cargo-c-0.8.0</param>
|
||||||
</service>
|
</service>
|
||||||
</services>
|
</services>
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1cda5235cadc9f618168ea6497e4226856807f6c7fe4419df20bef8e67bfe9c0
|
|
||||||
size 21130
|
|
3
cargo-c-0.8.0.tar.gz
Normal file
3
cargo-c-0.8.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2bcb143317e7f579bcfd13ef3f230cf72961ccc79abb176789f8d1fdff03fd35
|
||||||
|
size 22362
|
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 6 02:21:28 UTC 2021 - William Brown <william.brown@suse.com>
|
||||||
|
|
||||||
|
- Add README.suse-maint to fix OBS warning.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 5 07:52:23 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
|
||||||
|
|
||||||
|
- 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 <asn@cryptomilk.org>
|
Wed Jan 13 16:32:44 UTC 2021 - Andreas Schneider <asn@cryptomilk.org>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cargo-c
|
Name: cargo-c
|
||||||
Version: 0.7.0
|
Version: 0.8.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Helper to build and install c-like libraries from Rust
|
Summary: Helper to build and install c-like libraries from Rust
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -29,6 +29,7 @@ URL: https://crates.io/crates/cargo-c
|
|||||||
Source0: https://github.com/lu-zero/cargo-c/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/lu-zero/cargo-c/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
Source1: vendor.tar.xz
|
Source1: vendor.tar.xz
|
||||||
#
|
#
|
||||||
|
Source1000: README.suse-maint
|
||||||
BuildRequires: rust-packaging
|
BuildRequires: rust-packaging
|
||||||
BuildRequires: pkgconfig(openssl)
|
BuildRequires: pkgconfig(openssl)
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:73b5347dce86de3981f918d6b4f56163e35ac3b7d67bea7e10cc53a0c70134b6
|
oid sha256:d5c54f5fb58483f14ccca660c62b44d1ea486bbf84529d23cc3211fff90b1693
|
||||||
size 23044200
|
size 22091880
|
||||||
|
Loading…
Reference in New Issue
Block a user