Fix %%preun to correctly remove the lfs filter on uninstall (rhbz#1580357)

This commit is contained in:
Carl George 2018-05-21 10:18:17 -05:00
parent 716ff62d4b
commit 7c8166e395

View File

@ -33,7 +33,7 @@
Name: git-lfs Name: git-lfs
Version: 2.4.0 Version: 2.4.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: Git extension for versioning large files Summary: Git extension for versioning large files
License: MIT License: MIT
@ -215,8 +215,8 @@ sort -u -o devel.file-list devel.file-list
%{_bindir}/%{name} install --system %{_bindir}/%{name} install --system
%preun %preun
if [ $1 -gt 0 ]; then if [ $1 -eq 0 ]; then
%{_bindir}/%{name} uninstall %{_bindir}/%{name} uninstall --system
fi fi
exit 0 exit 0
@ -252,6 +252,9 @@ popd
%changelog %changelog
* Mon May 21 2018 Carl George <carl@george.computer> - 2.4.0-3
- Fix %%preun to correctly remove the lfs filter on uninstall (rhbz#1580357)
* Mon Mar 12 2018 Carl George <carl@george.computer> - 2.4.0-2 * Mon Mar 12 2018 Carl George <carl@george.computer> - 2.4.0-2
- Add %%go_arches fallback to work around Koji issues - Add %%go_arches fallback to work around Koji issues