SPECS: guile.spec - pass --enable-error-on-warning=on (avoids -Werror) - em...

adamg adamg at pld-linux.org
Sun Sep 7 23:29:05 CEST 2008


Author: adamg                        Date: Sun Sep  7 21:29:05 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass --enable-error-on-warning=on (avoids -Werror)
- emacs subpackage
- release 4

---- Files affected:
SPECS:
   guile.spec (1.119 -> 1.120) 

---- Diffs:

================================================================
Index: SPECS/guile.spec
diff -u SPECS/guile.spec:1.119 SPECS/guile.spec:1.120
--- SPECS/guile.spec:1.119	Sun Sep  7 20:54:32 2008
+++ SPECS/guile.spec	Sun Sep  7 23:28:59 2008
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_without	tests	# don't perform ./check-guile
+%bcond_without	emacs	# don't build emacs subpackage
 #
 %define		ver	1.8
 Summary:	GNU Extension language
@@ -13,7 +14,7 @@
 Summary(uk.UTF-8):	Мова розширень GNU
 Name:		guile
 Version:	1.8.5
-Release:	3
+Release:	4
 Epoch:		5
 License:	GPL v2+/LGPL v2.1+
 Group:		Development/Languages
@@ -28,6 +29,7 @@
 URL:		http://www.gnu.org/software/guile/guile.html
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake >= 1.6
+%{?with_emacs:BuildRequires:	emacs}
 BuildRequires:	gettext-devel
 BuildRequires:	gmp-devel >= 4.1
 BuildRequires:	libltdl-devel
@@ -145,6 +147,18 @@
 %description static -l uk.UTF-8
 Статичні бібліотеки guile.
 
+%package -n emacs-guile-mode-pkg
+Summary:	emacs guile-mode
+Summary(pl.UTF-8):	Tryb guile dla emacsa
+Group:		Applications/Editors/Emacs
+Requires:	emacs
+
+%description -n emacs-guile-mode-pkg
+Emacs guile-mode.
+
+%description -n emacs-guile-mode-pkg -l pl.UTF-8
+Tryb edycji guile dla emacsa.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -171,7 +185,8 @@
 # DON'T USE --force HERE - it would break build
 automake -a -c --foreign
 cd ..
-%configure
+%configure \
+	--enable-error-on-warning=no
 
 %{__make}
 
@@ -263,12 +278,23 @@
 %{_libdir}/libguile-srfi-srfi-60-v-2.a
 %{_libdir}/libguilereadline-v-17.a
 
+%if %{with emacs}
+%files -n emacs-guile-mode-pkg
+%defattr(644,root,root,755)
+%{_emacs_lispdir}/*.el
+%endif
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.120  2008/09/07 21:28:59  adamg
+- pass --enable-error-on-warning=on (avoids -Werror)
+- emacs subpackage
+- release 4
+
 Revision 1.119  2008/09/07 18:54:32  adamg
 - release 3 (against libltdl-2.2.6-1)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/guile.spec?r1=1.119&r2=1.120&f=u



More information about the pld-cvs-commit mailing list