- Fix scriptlets so they don't complain when uninstalling.

Also:
- Use license macro.
This commit is contained in:
Jerry James 2015-01-23 21:47:52 -07:00
parent a45c931da2
commit 0df503a5dd

View File

@ -1,6 +1,6 @@
Name: GAPDoc
Version: 1.5.1
Release: 5%{?dist}
Release: 6%{?dist}
Summary: GAP documentation tool
# The package is all GPLv2+ except for some of the mathml files
@ -69,15 +69,20 @@ cd ..
cp -a %{name}-%{version} $RPM_BUILD_ROOT%{_gap_dir}/pkg
rm -f $RPM_BUILD_ROOT%{_gap_dir}/pkg/%{name}-%{version}/{CHANGES,GPL,README}
%posttrans -p %{_bindir}/update-gap-workspace
%post -p %{_bindir}/update-gap-workspace &> /dev/null || :
%postun -p %{_bindir}/update-gap-workspace
%postun -p %{_bindir}/update-gap-workspace &> /dev/null || :
%files
%doc CHANGES GPL README
%doc CHANGES README
%license GPL
%{_gap_dir}/pkg/%{name}-%{version}/
%changelog
* Fri Jan 23 2015 Jerry James <loganjerry@gmail.com> - 1.5.1-6
- Fix scriptlets so they don't complain when uninstalling
- Use license macro
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild