diff --git a/picard.spec b/picard.spec index 1de6eda..ec6685a 100644 --- a/picard.spec +++ b/picard.spec @@ -35,10 +35,10 @@ track-oriented. %build %{__python3} setup.py config -env CFLAGS="%{optflags}" %{__python3} setup.py build +%py3_build %install -%{__python3} setup.py install -O1 --skip-build --root=%{buildroot} +%py3_install desktop-file-install \ --delete-original --remove-category="Application" \