peterwu / copr-iosevka

A repository that contains rpm build specs for all Iosevka fonts
MIT License
4 stars 2 forks source link

*.spec: add directory itself to %files #6

Closed kolyshkin closed 1 month ago

kolyshkin commented 1 month ago

This fixes two issues wrt packaging:

  1. rpm -qf /usr/share/fonts/iosevka-*-fonts shows "file ... is not owned by any package".

  2. When any of these rpms are installed and then removed, an empty directory (like /usr/share/fonts/iosevka-*-fonts/) remains on the host.

Brought to you by

for f in $(git ls-files \*.spec); do sed -i -e 's/\*$//' $f; done

PTAL @peterwu