diff --git a/sane-backends.spec b/sane-backends.spec index 1da91eb..6ef6ff2 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -33,7 +33,7 @@ Summary: Scanner access software Name: sane-backends Version: 1.0.28 -Release: 5%{?dist} +Release: 6%{?dist} # lib/ is LGPLv2+, backends are GPLv2+ with exceptions # Tools are GPLv2+, docs are public domain # see LICENSE for details @@ -84,6 +84,8 @@ BuildRequires: gettext BuildRequires: gphoto2-devel BuildRequires: systemd-devel BuildRequires: systemd +# needed by macros in rpm scriptlets +BuildRequires: systemd-rpm-macros Requires: libpng Requires: systemd >= 196 Requires: systemd-udev >= 196 @@ -297,7 +299,7 @@ exit 0 %systemd_preun saned.socket %postun daemon -%systemd_postun saned.socket +%systemd_postun_with_restart saned.socket %files -f %{name}.lang %dir %{_maindocdir} @@ -457,6 +459,9 @@ exit 0 %{_unitdir}/saned@.service %changelog +* Wed Jan 15 2020 Zdenek Dohnal - 1.0.28-6 +- add buildrequires on systemd-rpm-macros + * Thu Oct 31 2019 Zdenek Dohnal - 1.0.28-5 - 1761530 - apply upstream patch