rpm-software-management / spec-cleaner

spec-cleaner
BSD 3-Clause "New" or "Revised" License
27 stars 33 forks source link

Incorrect curlification for more systemd-macros #287

Closed msirringhaus closed 3 years ago

msirringhaus commented 3 years ago

spec-cleaner is doing this:

 %post
-%systemd_user_post %{name}.service
+%{systemd_user_post} %{name}.service

 %post indicator
-%systemd_user_post %{name}-indicator.service
+%{systemd_user_post} %{name}-indicator.service

 %preun
-%systemd_user_preun %{name}.service
+%{systemd_user_preun} %{name}.service

 %preun indicator
-%systemd_user_preun %{name}-indicator.service
+%{systemd_user_preun} %{name}-indicator.service

which breaks the build.