File tree Expand file tree Collapse file tree 2 files changed +78
-0
lines changed
Expand file tree Collapse file tree 2 files changed +78
-0
lines changed Original file line number Diff line number Diff line change 1+ specfile_path : rpm/podman-bootc.spec
2+ upstream_tag_template : v{version}
3+
4+ # add or remove files that should be synced
5+ files_to_sync :
6+ - rpm/podman-bootc.spec
7+ - .packit.yaml
8+
9+ # name in upstream package repository or registry (e.g. in PyPI)
10+ upstream_package_name : podman-bootc
11+ # downstream (Fedora) RPM package name
12+ downstream_package_name : podman-bootc
13+
14+ jobs :
15+ - job : copr_build
16+ trigger : pull_request
17+ enable_net : true
18+ targets :
19+ - fedora-all-x86_64
20+
Original file line number Diff line number Diff line change 1+ # https://github.com/containers/podman-bootc
2+ %global goipath github.com/containers/podman-bootc
3+ Version: 0.1.1
4+
5+ %gometa -L -f
6+
7+ %global common_description %{expand:
8+ Streamlining podman + bootc interactions}
9+
10+ %global golicenses LICENSE
11+ %global godocs README.md
12+
13+ Name: podman-bootc
14+ Release: %autorelease
15+ Summary: None
16+
17+ License: Apache-2.0
18+ URL: %{gourl }
19+ Source: %{gosource }
20+
21+ %description %{common_description }
22+
23+ BuildRequires: git
24+ BuildRequires: gcc
25+ BuildRequires: golang
26+ BuildRequires: make
27+ BuildRequires: libvirt-devel
28+
29+ Requires: xorriso
30+ Requires: podman
31+ Requires: qemu
32+ Requires: libvirt
33+
34+ %gopkg
35+
36+ %prep
37+ %goprep -A
38+ %autopatch -p1
39+
40+ %build
41+ go mod vendor
42+ export BUILDTAGS=" exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper containers_image_openpgp remote"
43+ %gobuild -o %{gobuilddir }/bin/%%{name } %{goipath }
44+
45+ %install
46+ %gopkginstall
47+ install -m 0755 -vd %{buildroot }%{_bindir }
48+ install -m 0755 -vp %{gobuilddir }/bin/* %{buildroot }%{_bindir }/
49+
50+ %files
51+ %license LICENSE
52+ %doc README.md
53+ %{_bindir }/*
54+
55+ %gopkgfiles
56+
57+ %changelog
58+ %autochangelog
You can’t perform that action at this time.
0 commit comments