2023-12-28 01:07:31 +01:00
|
|
|
# How to update the cargo-c package
|
|
|
|
|
|
|
|
## Prerequisites:
|
|
|
|
You need the download_files and cargo_vendor obs services installed:
|
2025-02-19 14:36:54 +01:00
|
|
|
zypper in obs-service-obs_scm obs-service-cargo_vendor
|
2023-12-28 01:07:31 +01:00
|
|
|
|
|
|
|
## Updating to a new version from upstream
|
|
|
|
|
2025-02-19 14:36:54 +01:00
|
|
|
Edit the _service file and update the revision parameter.
|
2023-12-28 01:07:31 +01:00
|
|
|
|
|
|
|
Download the new source file by running:
|
2025-02-19 14:36:54 +01:00
|
|
|
osc service mr obs_scm
|
2023-12-28 01:07:31 +01:00
|
|
|
|
|
|
|
Run the cargo_vendor service with:
|
2025-02-19 14:36:54 +01:00
|
|
|
osc service mr cargo_vendor
|
2023-12-28 01:07:31 +01:00
|
|
|
|
|
|
|
Update the changelog file with the upstream release notes.
|