forked from pool/cargo-c
- 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
26 lines
692 B
Plaintext
26 lines
692 B
Plaintext
# 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.
|