File tree 1 file changed +49
-0
lines changed
1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ upstream_project_url : https://github.com/stratis-storage/libcryptsetup-rs
2
+
3
+ packages :
4
+ libcryptsetup-rs-sys :
5
+ specfile_path : ../distro/rust-libcryptsetup-rs-sys.spec
6
+ downstream_package_name : rust-libcryptsetup-rs-sys
7
+ actions :
8
+ post-upstream-clone :
9
+ - " mkdir ../distro"
10
+ - " bash -c '(cd ../distro; wget https://src.fedoraproject.org/rpms/rust-libcryptsetup-rs-sys/raw/rawhide/f/rust-libcryptsetup-rs-sys.spec https://src.fedoraproject.org/rpms/rust-libcryptsetup-rs-sys/raw/rawhide/f/rust2rpm.toml)'"
11
+ - " cargo install cargo-get"
12
+ create-archive :
13
+ - " bash -c '(cd libcryptsetup-rs-sys; cargo package --no-verify)'"
14
+ - " bash -c '(cd ../distro; rust2rpm libcryptsetup-rs-sys)'"
15
+ - " echo 'libcryptsetup-rs-sys/target/package/libcryptsetup-rs-sys-${PACKIT_PROJECT_VERSION}.crate'"
16
+ get-current-version :
17
+ - " bash -c '(cd libcryptsetup-rs-sys; cargo get package.version)'"
18
+
19
+ libcryptsetup-rs :
20
+ specfile_path : ../distro/rust-libcryptsetup-rs.spec
21
+ downstream_package_name : rust-libcryptsetup-rs
22
+ actions :
23
+ post-upstream-clone :
24
+ - " mkdir ../distro"
25
+ - " bash -c '(cd ../distro; wget https://src.fedoraproject.org/rpms/rust-libcryptsetup-rs/raw/rawhide/f/rust-libcryptsetup-rs.spec)'"
26
+ - " cargo install cargo-get"
27
+ create-archive :
28
+ - " cargo package --no-verify"
29
+ - " bash -c '(cd ../distro; rust2rpm libcryptsetup-rs)'"
30
+ - " echo 'target/package/libcryptsetup-rs-${PACKIT_PROJECT_VERSION}.crate'"
31
+ get-current-version :
32
+ - " cargo get package.version"
33
+
34
+ srpm_build_deps :
35
+ - cargo
36
+ - rust2rpm
37
+ - rust2rpm-helper
38
+ - wget2
39
+ - wget2-wget
40
+
41
+ jobs :
42
+ - job : copr_build
43
+ trigger : pull_request
44
+ targets :
45
+ - fedora-all
46
+
47
+ notifications :
48
+ pull_request :
49
+ successful_build : true
You can’t perform that action at this time.
0 commit comments