https://bugzilla.redhat.com/show_bug.cgi?id=1809263
--- Comment #4 from Damian Wrobel dwrobel@ertelnet.rybnik.pl --- (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-...