2024-05-03 11:30:45 +02:00
|
|
|
# How to update the cargo-c package
|
|
|
|
|
|
|
|
## Prerequisites:
|
|
|
|
You need the download_files and cargo_vendor obs services installed:
|
2024-11-28 17:40:25 +01:00
|
|
|
zypper in obs-service-obs_scm obs-service-cargo_vendor
|
2024-05-03 11:30:45 +02:00
|
|
|
|
|
|
|
## Updating to a new version from upstream
|
|
|
|
|
2024-11-28 17:40:25 +01:00
|
|
|
Edit the _service file and update the revision parameter.
|
2024-05-03 11:30:45 +02:00
|
|
|
|
|
|
|
Download the new source file by running:
|
2024-11-28 17:40:25 +01:00
|
|
|
osc service mr obs_scm
|
2024-05-03 11:30:45 +02:00
|
|
|
|
|
|
|
Run the cargo_vendor service with:
|
2024-11-28 17:40:25 +01:00
|
|
|
osc service mr cargo_vendor
|
2024-05-03 11:30:45 +02:00
|
|
|
|
|
|
|
Update the changelog file with the upstream release notes.
|