diff --git a/emacs.spec b/emacs.spec index 5d84348603429bd599d2cbffb697e26a85858c77..51bb26698ca68a946f6fa0689136d11b0685d3d8 100644 --- a/emacs.spec +++ b/emacs.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.1 +%define anolis_release .0.2 %global _hardened_build 1 # This file is encoded in UTF-8. -*- coding: utf-8 -*- @@ -85,6 +85,9 @@ Requires(posttrans): %{_sbindir}/alternatives Requires: emacs-common = %{epoch}:%{version}-%{release} Provides: emacs(bin) = %{epoch}:%{version}-%{release} +Requires: glibc +Provides: /usr/bin/emacs + %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 @@ -99,6 +102,15 @@ without leaving the editor. This package provides an emacs binary with support for X windows. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{epoch}:%{version}-%{release} + + +%description doc +Doc pages for %{name}. + %package lucid Summary: GNU Emacs text editor with LUCID toolkit X support Group: Applications/Editors @@ -444,7 +456,6 @@ fi %config(noreplace) %{_sysconfdir}/skel/.emacs %{_rpmconfigdir}/macros.d/macros.emacs %license etc/COPYING -%doc doc/NEWS BUGS README %{_bindir}/ebrowse %{_bindir}/emacsclient %{_bindir}/etags.emacs @@ -469,7 +480,13 @@ fi %dir %{_datadir}/emacs/site-lisp %dir %{_datadir}/emacs/site-lisp/site-start.d +%files doc +%doc doc/NEWS BUGS README + %changelog +* Sat Jul 16 2022 mgb01105731 - 1:26.1-7.0.2 +- Add doc sub package + * Mon Dec 6 2021 Liwei Ge - 1:26.1-7.0.1 - Support loongarch64 platform