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:
parent
ac14c7a8e1
commit
cfb465566c
25
README.suse-maint
Normal file
25
README.suse-maint
Normal 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.
|
2
_service
2
_service
@ -1,5 +1,5 @@
|
|||||||
<services>
|
<services>
|
||||||
<service name="cargo_vendor" mode="disabled">
|
<service name="cargo_vendor" mode="disabled">
|
||||||
<param name="srcdir">rav1e</param>
|
<param name="srcdir">rav1e-0.4.1</param>
|
||||||
</service>
|
</service>
|
||||||
</services>
|
</services>
|
||||||
|
5
cargo_config
Normal file
5
cargo_config
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[source.crates-io]
|
||||||
|
replace-with = "vendored-sources"
|
||||||
|
|
||||||
|
[source.vendored-sources]
|
||||||
|
directory = "vendor"
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:b5ffd22b5b37f8e89ae1c1a6d295de86265f671fd7955b8994b0a1bf30f05665
|
oid sha256:cc962cdae054eea09f102ecae6d34e8a14e4daac5dc76a0923bc1024c2fce1ff
|
||||||
size 15054112
|
size 15053860
|
||||||
|
Loading…
Reference in New Issue
Block a user