Add %license identification to the COPYING file, use %fdupes and move
where the manifest file is being copied in.
Signed-off-by: William Douglas <william.douglas@intel.com>
Name: emacs
-Summary: The extensible, customizable, self-documenting real-time display editor
+Summary: Extensible editor
Version: 24.3
Release: 0
Url: http://ftp.gnu.org/gnu/emacs/
BuildRequires: pkgconfig(xft)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(xpm)
+BuildRequires: fdupes
%description
%prep
%setup -q -n %{name}-%{version}
-
-%build
cp %{SOURCE1001} .
+%build
%configure
make
%install
-rm -rf %{buildroot}
-
%make_install
+%fdupes %{buildroot}%{_datarootdir}
%files
%manifest emacs.manifest
+%license %{_datarootdir}/emacs/24.3/etc/COPYING
%{_bindir}/ctags
%{_bindir}/ebrowse
%{_bindir}/emacs