File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 11Name: caso
2- Version: %{version }
32Release: 1%{?dist }
43Summary: cASO is an OpenStack Accounting extractor
54
65License: ASL 2.0
76URL: https://github.com/IFCA/caso
8- Source0: https://github.com/IFCA/caso/caso-%{version }.tar.gz
97
108BuildArch: noarch
119BuildRequires: python3-devel
1210BuildRequires: python3-setuptools
1311BuildRequires: python3-pbr
1412BuildRequires: python3-rpm-macros
13+ BuildRequires: pyproject-rpm-macros
1514Requires: python3
1615Requires: python3-oslo-config
1716Requires: python3-oslo-concurrency
@@ -29,6 +28,9 @@ Requires: python3-dirq
2928
3029%?python_enable_dependency_generator
3130
31+ %generate_buildrequires
32+ %pyproject_buildrequires
33+
3234%description
3335
3436cASO is an OpenStack Accounting extractor to be used in the EGI.eu
@@ -39,10 +41,10 @@ Federated Cloud Infrastructure.
3941%autosetup -n caso-%{version }
4042
4143%build
42- %py3_build
44+ %pyproject_wheel
4345
4446%install
45- %py3_install
47+ %pyproject_install
4648mv %{buildroot }/usr/etc/ %{buildroot }/etc
4749
4850%check
You can’t perform that action at this time.
0 commit comments