From b75b3c377df3dad5f0e33b973eb1d4c6ff54987f Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Aug 06 2014 11:43:43 +0000 Subject: fix license handling --- diff --git a/vim.spec b/vim.spec index a370203..b393041 100644 --- a/vim.spec +++ b/vim.spec @@ -21,7 +21,7 @@ Summary: The VIM editor URL: http://www.vim.org/ Name: vim Version: %{baseversion}.%{patchlevel} -Release: 2%{?dist} +Release: 3%{?dist} License: Vim Group: Applications/Editors Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}.tar.bz2 @@ -1116,7 +1116,9 @@ rm -rf %{buildroot} %files common %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/vimrc -%doc README* LICENSE +%{!?_licensedir:%global license %%doc} +%license LICENSE +%doc README* %doc runtime/docs %doc Changelog.rpm %dir %{_datadir}/%{name} @@ -1320,6 +1322,9 @@ rm -rf %{buildroot} %{_datadir}/icons/hicolor/*/apps/* %changelog +* Wed Aug 6 2014 Tom Callaway 2:7.4.307-3 +- fix license handling + * Sun Jun 08 2014 Fedora Release Engineering - 2:7.4.307-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild