Skip to content

Commit

Permalink
build: update RPM build spec
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarolopez committed Dec 3, 2024
1 parent 44bc258 commit df63b36
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packaging/redhat/caso.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-rpm-macros
BuildRequires: pyproject-rpm-macros
Requires: python3
Requires: python3-oslo-config
Requires: python3-oslo-concurrency
Expand All @@ -29,6 +30,9 @@ Requires: python3-dirq

%?python_enable_dependency_generator

%generate_buildrequires
%pyproject_buildrequires

%description

cASO is an OpenStack Accounting extractor to be used in the EGI.eu
Expand All @@ -39,10 +43,10 @@ Federated Cloud Infrastructure.
%autosetup -n caso-%{version}

%build
%py3_build
%pyproject_wheel

%install
%py3_install
%pyproject_install
mv %{buildroot}/usr/etc/ %{buildroot}/etc

%check
Expand Down

0 comments on commit df63b36

Please sign in to comment.