diff --git a/avogadro2.spec b/avogadro2.spec index 86e40e0..4d31368 100644 --- a/avogadro2.spec +++ b/avogadro2.spec @@ -1,6 +1,6 @@ Name: avogadro2 Version: 1.90.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Advanced molecular editor License: BSD @@ -73,6 +73,7 @@ mkdir -p %{buildroot}%{_datadir}/metainfo install -pm 644 %{SOURCE1} %{buildroot}%{_datadir}/metainfo/ %endif +%if 0%{?rhel} && 0%{?rhel} <= 7 %post /bin/touch --no-create %{_datadir}/icons/%{name} &>/dev/null || : @@ -84,6 +85,7 @@ fi %posttrans /usr/bin/gtk-update-icon-cache %{_datadir}/icons/%{name} &>/dev/null || : +%endif %check pushd build @@ -104,6 +106,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata %{_datadir}/icons/%{name}/ %changelog +* Sun Jan 07 2018 Igor Gnatenko - 1.90.0-9 +- Remove obsolete scriptlets + * Thu Dec 21 2017 Antonio Trande - 1.90.0-8 - Appdata file moved into metainfo data directory