Skip to content

Commit ff46918

Browse files
committed
Initial Packit Configuration
Signed-off-by: mulhern <[email protected]>
1 parent 7317ee6 commit ff46918

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.packit.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
packages:
2+
libcryptsetup-rs:
3+
specfile_path: ../distro/rust-libcryptsetup-rs.spec
4+
downstream_package_name: rust-libcryptsetup-rs
5+
actions:
6+
post-upstream-clone:
7+
- "bash -c '(cd ../distro; wget https://src.fedoraproject.org/rpms/rust-libcryptsetup-rs/raw/rawhide/f/rust-libcryptsetup-rs.spec)'"
8+
- "cargo install cargo-get"
9+
create-archive:
10+
- "cargo package"
11+
- "echo 'target/package/libcryptsetup-rs-0.13.0.crate'"
12+
fix-spec-file:
13+
- "bash -c '(cd ../distro; rust2rpm)'"
14+
get-current-version:
15+
- "cargo get package.version"
16+
17+
srpm_build_deps:
18+
- cargo
19+
- rust2rpm
20+
- wget2
21+
- wget2-wget
22+
23+
jobs:
24+
- job: copr_build
25+
trigger: pull_request
26+
manual_trigger: true
27+
targets:
28+
- fedora-all

0 commit comments

Comments
 (0)