add buildrequires on systemd-rpm-macros

This commit is contained in:
Zdenek Dohnal 2020-01-15 18:01:17 +01:00
parent d73c59b309
commit 4c8bc843fa

View File

@ -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 <zdohnal@redhat.com> - 1.0.28-6
- add buildrequires on systemd-rpm-macros
* Thu Oct 31 2019 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.28-5
- 1761530 - apply upstream patch