Skip to content

Commit 142b832

Browse files
committed
packit: Simplify files_to_sync
Signed-off-by: Cristian Le <[email protected]>
1 parent ffbda8c commit 142b832

File tree

4 files changed

+16
-25
lines changed

4 files changed

+16
-25
lines changed

.distro/plans/main.fmf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
adjust+:
2+
# Cannot use initiator: fedora-ci reliably yet
3+
when: initiator is not defined or initiator != packit
4+
discover+:
5+
how: fmf
6+
dist-git-source: true
7+
dist-git-extract: scikit_build_core-*/

.distro/plans/main.fmf.dist-git

Lines changed: 0 additions & 4 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,6 @@ ehthumbs.db
170170
Thumbs.db
171171

172172
.idea/
173-
# tmt setup
174-
/.distro/main.fmf
175-
/.distro/plans/main.fmf
176-
/.distro/tests/main.fmf
177173

178174
/docs/**/build
179175
.vscode/

.packit.yaml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,16 @@
44
specfile_path: .distro/python-scikit-build-core.spec
55

66
files_to_sync:
7-
- src: .distro/python-scikit-build-core.spec
8-
dest: python-scikit-build-core.spec
9-
- .packit.yaml
10-
- src: .distro/python-scikit-build-core.rpmlintrc
11-
dest: python-scikit-build-core.rpmlintrc
12-
# tmt setup
13-
- src: .distro/.fmf/
14-
dest: .fmf/
15-
- src: .distro/plans/
16-
dest: plans/
7+
- src: .distro/
8+
dest: ./
9+
delete: true
1710
filters:
18-
- "- main.fmf.dist-git"
19-
- "- rpminspect.fmf"
20-
- "- rpmlint.fmf"
21-
- src: .distro/tests/
22-
dest: tests/
23-
- src: .distro/plans/main.fmf.dist-git
24-
dest: plans/main.fmf
11+
- "protect .git*"
12+
- "protect sources"
13+
- "protect changelog"
14+
- "- plans/rpminspect.fmf"
15+
- "- plans/rpmlint.fmf"
16+
- .packit.yaml
2517
upstream_package_name: scikit_build_core
2618
downstream_package_name: python-scikit-build-core
2719
update_release: false

0 commit comments

Comments
 (0)