Set %files

This commit is contained in:
Daniel Berteaud 2022-08-14 23:50:08 +02:00
parent f827120b9c
commit 408ec62d78
1 changed files with 2 additions and 5 deletions

View File

@ -24,16 +24,13 @@ User space client to ease DRBD9 resource management.
%{python} setup.py build
%install
%{python} setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT
%{python} setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%clean
rm -rf $RPM_BUILD_ROOT
%files
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc README.md
%_bindir/*
%python_sitelib/*
%_sysconfdir/bash_completion.d/*
%changelog