From ae52ac81491857c303c42209116885e5db96280d Mon Sep 17 00:00:00 2001 From: Jan Synacek Date: Aug 13 2018 09:51:48 +0000 Subject: remove python dependencies emacs*.py have not been there for a while --- diff --git a/emacs.spec b/emacs.spec index 40ca98c..a223b0d 100644 --- a/emacs.spec +++ b/emacs.spec @@ -5,7 +5,7 @@ Summary: GNU Emacs text editor Name: emacs Epoch: 1 Version: 26.1 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv3+ and CC0-1.0 URL: http://www.gnu.org/software/emacs/ Group: Applications/Editors @@ -66,8 +66,6 @@ BuildRequires: libacl-devel BuildRequires: gtk3-devel BuildRequires: webkit2gtk3-devel -BuildRequires: python2-devel -BuildRequires: python3-devel # For lucid BuildRequires: Xaw3d-devel @@ -84,11 +82,6 @@ Requires(posttrans): %{_sbindir}/alternatives Requires: emacs-common = %{epoch}:%{version}-%{release} Provides: emacs(bin) = %{epoch}:%{version}-%{release} -# Turn off the brp-python-bytecompile script since this script doesn't -# properly dtect the correct python runtime for the files emacs2.py and -# emacs3.py -%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') - %define site_lisp %{_datadir}/emacs/site-lisp %define site_start_d %{site_lisp}/site-start.d %define bytecompargs -batch --no-init-file --no-site-file -f batch-byte-compile @@ -364,11 +357,6 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications \ desktop-file-install --dir=%{buildroot}%{_datadir}/applications \ %SOURCE6 -# Byte compile emacs*.py with correct python interpreters -%py_byte_compile %{__python} %{buildroot}%{_datadir}/%{name}/%{version}/etc/emacs.py -%py_byte_compile %{__python} %{buildroot}%{_datadir}/%{name}/%{version}/etc/emacs2.py -%py_byte_compile %{__python3} %{buildroot}%{_datadir}/%{name}/%{version}/etc/emacs3.py - # # Create file lists # @@ -479,6 +467,9 @@ fi %dir %{_datadir}/emacs/site-lisp/site-start.d %changelog +* Mon Aug 13 2018 Jan Synáček - 1:26.1-6 +- remove python dependencies, emacs*.py have not been there for a while + * Thu Jul 12 2018 Fedora Release Engineering - 1:26.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild