Skip to content

Commit 4140318

Browse files
committed
packaging: Fix %files in spec
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_files_to_include Also thanks to Miro Hrončok!
1 parent 1f752d1 commit 4140318

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

distro/python-dbusmock.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ rm -rf python-%{modname}.egg-info
4747

4848
%install
4949
%pyproject_install
50+
%pyproject_save_files -l dbusmock
5051

5152
%check
5253
%{__python3} -m unittest -v
5354

54-
%files -n python3-dbusmock
55-
/usr/lib/python*
55+
%files -n python3-dbusmock -f %{pyproject_files}
5656

5757
%doc README.md COPYING
5858

0 commit comments

Comments
 (0)