Fix service for cargo vendor creation

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/rav1e?expand=0&rev=29
This commit is contained in:
Andreas Schneider 2021-06-02 07:18:57 +00:00 committed by Git OBS Bridge
parent ac14c7a8e1
commit cfb465566c
4 changed files with 33 additions and 3 deletions

25
README.suse-maint Normal file
View File

@ -0,0 +1,25 @@
# How to update the rav1e 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 rav1e-%{version}.tar.gz file:
tar xf rav1e-*.tar.gz
This will create a rav1e-%{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.

View File

@ -1,5 +1,5 @@
<services>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">rav1e</param>
<param name="srcdir">rav1e-0.4.1</param>
</service>
</services>

5
cargo_config Normal file
View File

@ -0,0 +1,5 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b5ffd22b5b37f8e89ae1c1a6d295de86265f671fd7955b8994b0a1bf30f05665
size 15054112
oid sha256:cc962cdae054eea09f102ecae6d34e8a14e4daac5dc76a0923bc1024c2fce1ff
size 15053860