Benjamin A. Beasley 4 years ago
parent 058d14c6b5
commit d7ddbd9075

@ -25,7 +25,7 @@ Name: gn
%global access 20210314
%global shortcommit %(echo %{commit} | cut -b -8)
Version: 1893
Release: 2.%{access}git%{shortcommit}%{?dist}
Release: 3.%{access}git%{shortcommit}%{?dist}
Summary: Meta-build system that generates build files for Ninja
# BSD except for src/base/third_party/icu/, which is (Unicode and MIT); note
@ -69,9 +69,6 @@ Provides: vim-%{name} = %{version}-%{release}
BuildRequires: emacs
Requires: emacs-filesystem >= %{_emacs_version}
Provides: emacs-%{name} = %{version}-%{release}
BuildRequires: xemacs
Requires: xemacs-filesystem >= %{_xemacs_version}
Provides: xemacs-%{name} = %{version}-%{release}
%description
@ -145,11 +142,8 @@ install -d '%{buildroot}%{_datadir}/vim/vimfiles'
cp -vrp misc/vim/* '%{buildroot}%{_datadir}/vim/vimfiles'
%py_byte_compile %{__python3} '%{buildroot}%{_datadir}/vim/vimfiles/%{name}-format.py'
for dir in '%{_emacs_sitestartdir}' '%{_xemacs_sitestartdir}'
do
install -d "%{buildroot}${dir}"
install -t "%{buildroot}${dir}" -p -m 0644 misc/emacs/*.el
done
install -d '%{buildroot}%{_emacs_sitestartdir}'
install -t '%{buildroot}%{_emacs_sitestartdir}' -p -m 0644 misc/emacs/*.el
install -d '%{buildroot}%{_mandir}/man1'
install -t '%{buildroot}%{_mandir}/man1' -m 0644 -p out/%{name}.1
@ -181,7 +175,6 @@ grep -E '^#define[[:blank:]]+LAST_COMMIT_POSITION[[:blank:]]+'\
%{_datadir}/vim/vimfiles/syntax/%{name}.vim
%{_emacs_sitestartdir}/%{name}-mode.el
%{_xemacs_sitestartdir}/%{name}-mode.el
%files doc
@ -199,6 +192,10 @@ grep -E '^#define[[:blank:]]+LAST_COMMIT_POSITION[[:blank:]]+'\
%changelog
* Wed Mar 17 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1893-3.20210314git64b3b940
- Stop installing xemacs plugins
(https://fedoraproject.org/wiki/Changes/Deprecate_xemacs)
* Wed Mar 17 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1893-2.20210314git64b3b940
- Improved source URL based on package review feedback

Loading…
Cancel
Save