https://bugzilla.redhat.com/show_bug.cgi?id=1809263 --- Comment #4 from Damian Wrobel <dwrobel@xxxxxxxxxxxxxxxxxx> --- (In reply to Robert-André Mauchin from comment #3) > - mv %{buildroot}/lib %{buildroot}/usr/ → mv %{buildroot}/lib > %{buildroot}%{_prefix} Fixed > - rm %{_sysconfdir}/logrotate.d/wmbusmeters if you don't need to use it, > %exclude is reserved for use with multiple packages Fixed > - You need to add the systemd scriptlets: > > %post > %systemd_post %{name}@.service > > %preun > %systemd_preun %{name}@.service > > %postun > %systemd_postun_with_restart %{name}@.service > Fixed however, I'm using wmbusmeters@\*.service instead of %{name}@.service as the %{name}@.service is just the template not the real service name. > %forgemeta -v Fixed Updated spec & SRPM: Spec URL: https://dwrobel.fedorapeople.org/projects/rpmbuild/SPECS/wmbusmeters.spec SRPM URL: https://dwrobel.fedorapeople.org/projects/rpmbuild/SRPMS/wmbusmeters-0.9.27-6.fc31.src.rpm -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx