From cfb465566c58ab7995ced6ea20fea3bdbe59f618c9cbe77f958ca64fae085c22 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 2 Jun 2021 07:18:57 +0000 Subject: [PATCH] Fix service for cargo vendor creation OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/rav1e?expand=0&rev=29 --- README.suse-maint | 25 +++++++++++++++++++++++++ _service | 2 +- cargo_config | 5 +++++ vendor.tar.xz | 4 ++-- 4 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 README.suse-maint create mode 100644 cargo_config diff --git a/README.suse-maint b/README.suse-maint new file mode 100644 index 0000000..80abe77 --- /dev/null +++ b/README.suse-maint @@ -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. diff --git a/_service b/_service index 7a6861f..c444f09 100644 --- a/_service +++ b/_service @@ -1,5 +1,5 @@ - rav1e + rav1e-0.4.1 diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..6fb4ff4 --- /dev/null +++ b/cargo_config @@ -0,0 +1,5 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" \ No newline at end of file diff --git a/vendor.tar.xz b/vendor.tar.xz index 883577d..2f0b7e6 100644 --- a/vendor.tar.xz +++ b/vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b5ffd22b5b37f8e89ae1c1a6d295de86265f671fd7955b8994b0a1bf30f05665 -size 15054112 +oid sha256:cc962cdae054eea09f102ecae6d34e8a14e4daac5dc76a0923bc1024c2fce1ff +size 15053860