[ecl/f16] Add missing Requires (bz 816675). Fix source URL. Drop unnecessary spec file elements (clean script,
Jerry James
jjames at fedoraproject.org
Thu Apr 26 20:11:25 UTC 2012
commit 0fda57baee5648a7472acf31f6f2d8f17d9501a8
Author: Jerry James <loganjerry at gmail.com>
Date: Thu Apr 26 14:10:42 2012 -0600
Add missing Requires (bz 816675).
Fix source URL.
Drop unnecessary spec file elements (clean script, etc.).
ecl.spec | 26 ++++++++++++++------------
1 files changed, 14 insertions(+), 12 deletions(-)
---
diff --git a/ecl.spec b/ecl.spec
index 445afcb..34cdc5e 100644
--- a/ecl.spec
+++ b/ecl.spec
@@ -1,12 +1,12 @@
Name: ecl
Version: 11.1.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Embeddable Common-Lisp
Group: Development/Languages
License: LGPLv2+ and BSD and MIT and Public Domain
URL: http://ecls.sourceforge.net/
-Source0: http://downloads.sourceforge.net/project/ecls/ecls/11.1/ecl-%{version}.tar.gz
+Source0: http://downloads.sourceforge.net/ecls/ecl-%{version}.tar.gz
# The manual has not yet been released. Use the following commands to generate
# the manual tarball:
# git clone git://ecls.git.sourceforge.net/gitroot/ecls/ecl-doc
@@ -40,9 +40,12 @@ BuildRequires: emacs-common
BuildRequires: docbook-dtds
BuildRequires: xmlto
BuildRequires: desktop-file-utils
-Requires: gcc
-Requires(post): coreutils, desktop-file-utils, gtk2
-Requires(postun): coreutils, desktop-file-utils, gtk2
+Requires: gcc%{?_isa}
+Requires: gc-devel%{?_isa}
+Requires: gmp-devel%{?_isa}
+Requires: hicolor-icon-theme
+Requires(post): coreutils
+Requires(postun): coreutils
%description
ECL (Embeddable Common Lisp) is an implementation of the Common Lisp
@@ -79,7 +82,6 @@ make -C ecl-doc
%install
-rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
# Remove installed files that are in the wrong place
@@ -106,6 +108,7 @@ cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps
%post
+/sbin/ldconfig
update-desktop-database -q >&/dev/null ||:
touch --no-create %{_datadir}/icons/hicolor
@@ -120,16 +123,10 @@ fi
%posttrans
-/sbin/ldconfig
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null ||:
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files
-%defattr(-,root,root,-)
%{_bindir}/ecl
%{_bindir}/ecl-config
%{_datadir}/applications/ecl.desktop
@@ -143,6 +140,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu Apr 26 2012 Jerry James <loganjerry at gmail.com> - 11.1.1-2
+- Add missing Requires (bz 816675)
+- Fix source URL
+- Drop unnecessary spec file elements (clean script, etc.)
+
* Tue Mar 1 2011 Jerry James <loganjerry at gmail.com> - 11.1.1-1
- New release 11.1.1
- Drop libffi patch (fixed upstream)
More information about the scm-commits
mailing list