diff --git a/avrdude.spec b/avrdude.spec index 690c09d..96f5b93 100644 --- a/avrdude.spec +++ b/avrdude.spec @@ -28,6 +28,14 @@ BuildRequires: texi2html BuildRequires: texinfo-tex BuildRequires: tetex-dvips +# https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets +%if 0%{?fedora} >= 30 +%{nil} +%else +%{error:No install-info scriptlets for Fedora prior to F30 or EL7/EL6.} +%endif + + %description AVRDUDE is a program for programming Atmel's AVR CPU's. It can program the Flash and EEPROM, and where supported by the serial programming protocol, it