Skip to content

Commit

Permalink
[RPM] Make %postun more robust remove a comment entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
daniviga committed Mar 26, 2019
1 parent 5a6a02e commit 13f9424
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rpm/qgis.spec.template
Expand Up @@ -253,7 +253,7 @@ rm -f %{buildroot}%{_datadir}/%{name}/doc/INSTALL*

%find_lang %{name} --with-qt

# TODO: Remove after F28 EoL
# TODO: Remove all %%post, %%posttrans and %%postun after F28 EoL
# Ref: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
%post
/sbin/ldconfig
Expand All @@ -280,7 +280,6 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%post -n python3-qgis -p /sbin/ldconfig

%postun -n python3-qgis -p /sbin/ldconfig
# END TODO #

%files -f %{name}.lang
%doc BUGS NEWS Exception_to_GPL_for_Qt.txt ChangeLog.gz
Expand Down

0 comments on commit 13f9424

Please sign in to comment.