File tree 7 files changed +164
-0
lines changed
7 files changed +164
-0
lines changed Original file line number Diff line number Diff line change
1
+ 1
Original file line number Diff line number Diff line change
1
+ discover:
2
+ how: fmf
3
+ dist-git-source: true
4
+ dist-git-extract: scikit_build_core-*/
Original file line number Diff line number Diff line change
1
+ plan:
2
+ import:
3
+ url: https://github.com/packit/tmt-plans
4
+ ref: main
5
+ name: /plans/rpminspect
6
+ environment:
7
+ RPMINSPECT_EXCLUDE: metadata,upstream
Original file line number Diff line number Diff line change
1
+ prepare:
2
+ - how: shell
3
+ script: cp ./*.rpmlintrc $TMT_PLAN_DATA/
4
+ discover:
5
+ how: fmf
6
+ filter: "tag: rpmlint"
7
+ url: https://github.com/packit/tmt-plans
8
+ ref: main
9
+ execute:
10
+ how: tmt
Original file line number Diff line number Diff line change
1
+ Name: pybind11
2
+ Version: 0.0.0
3
+ Release: %autorelease
4
+ Summary: Seamless operability between C++11 and Python
5
+
6
+ # TODO: https://github.com/pybind/pybind11/issues/5093
7
+ License: BSD
8
+ URL: https://github.com/pybind/pybind11
9
+ Source0: %{pypi_source pybind11}
10
+
11
+ BuildRequires: python3-devel
12
+ BuildRequires: cmake
13
+ BuildRequires: ninja-build
14
+ BuildRequires: gcc
15
+ BuildRequires: gcc-c++
16
+
17
+ %global _description %{expand:
18
+ pybind11 is a lightweight header-only library that exposes C++ types
19
+ in Python and vice versa, mainly to create Python bindings of existing
20
+ C++ code.
21
+ }
22
+
23
+ %description %_description
24
+
25
+ %package devel
26
+ Summary: Development files for pybind11
27
+ BuildRequires: pybind11-devel
28
+ Provides: pybind11-static = %{version }-%{release }
29
+ %description devel %_description
30
+
31
+ Development files.
32
+
33
+ %package -n python3-pybind11
34
+ Summary: %{summary }
35
+ BuildRequires: pybind11-devel
36
+ %description -n python3-pybind11 %_description
37
+
38
+
39
+ %prep
40
+ %autosetup -n pybind11-%{version }
41
+
42
+
43
+ %generate_buildrequires
44
+ %pyproject_buildrequires
45
+
46
+
47
+ %build
48
+ %pyproject_wheel
49
+
50
+
51
+ %install
52
+ %pyproject_install
53
+ %pyproject_save_files pybind11
54
+
55
+
56
+ %check
57
+ %pytest
58
+
59
+
60
+ %files devel
61
+ %license LICENSE
62
+ %doc README.rst
63
+ %{_includedir }/pybind11/
64
+ %{_datadir }/cmake/pybind11/
65
+ %{_bindir }/pybind11-config
66
+ %{_datadir }/pkgconfig/pybind11.pc
67
+
68
+ %files -n python3-pybind11 -f %{pyproject_files }
69
+
70
+
71
+ %changelog
72
+ %autochangelog
Original file line number Diff line number Diff line change
1
+ packages :
2
+ pybind11 :
3
+ # Use `path` when upstream issue is clarified
4
+ # https://github.com/packit/packit/issues/2272#issuecomment-2033712303
5
+ specfile_path : .distro/pybind11.spec
6
+ downstream_package_name : pybind11
7
+ files_to_sync :
8
+ - src : .distro/pybind11.spec
9
+ dest : pybind11.spec
10
+ - .packit.yaml
11
+ - src : .distro/pybind11.rpmlintrc
12
+ dest : pybind11.rpmlintrc
13
+ # tmt setup
14
+ - src : .distro/.fmf/
15
+ dest : .fmf/
16
+ - src : .distro/plans/
17
+ dest : plans/
18
+ filters :
19
+ - " - main.fmf.dist-git"
20
+ - " - rpminspect.fmf"
21
+ - " - rpmlint.fmf"
22
+ - src : .distro/tests/
23
+ dest : tests/
24
+ - src : .distro/plans/main.fmf.dist-git
25
+ dest : plans/main.fmf
26
+
27
+ update_release : false
28
+ upstream_tag_template : v{version}
29
+
30
+ jobs :
31
+ - &copr
32
+ job : copr_build
33
+ trigger : release
34
+ owner : " @scikit-build"
35
+ project : release
36
+ targets :
37
+ - fedora-all-x86_64
38
+ - fedora-all-aarch64
39
+ - &tests
40
+ job : tests
41
+ trigger : release
42
+ targets :
43
+ - fedora-all-x86_64
44
+ - fedora-all-aarch64
45
+ fmf_path : .distro
46
+ - << : *copr
47
+ trigger : commit
48
+ project : nightly
49
+ branch : main
50
+ - << : *tests
51
+ trigger : commit
52
+ - << : *copr
53
+ trigger : pull_request
54
+ project : pybind11
55
+ update_release : true
56
+ release_suffix : " {PACKIT_RPMSPEC_RELEASE}"
57
+ - << : *tests
58
+ trigger : pull_request
59
+ - job : propose_downstream
60
+ trigger : release
61
+ dist_git_branches :
62
+ - fedora-rawhide
63
+ - job : koji_build
64
+ trigger : commit
65
+ dist_git_branches :
66
+ - fedora-all
67
+ - job : bodhi_update
68
+ trigger : commit
69
+ dist_git_branches :
70
+ - fedora-branched
You can’t perform that action at this time.
0 commit comments