SPECS: seedit.spec - added bison, pmake patches - use bison instead...

qboosh qboosh at pld-linux.org
Sun Jul 8 21:46:21 CEST 2007


Author: qboosh                       Date: Sun Jul  8 19:46:21 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bison,pmake patches
- use bison instead of byacc
- include locale file(s)

---- Files affected:
SPECS:
   seedit.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/seedit.spec
diff -u SPECS/seedit.spec:1.8 SPECS/seedit.spec:1.9
--- SPECS/seedit.spec:1.8	Sun Jul  8 21:34:10 2007
+++ SPECS/seedit.spec	Sun Jul  8 21:46:15 2007
@@ -10,8 +10,10 @@
 # Source0-md5:	2c9b44bd9a14b2e60fb1987161c6a797
 Source1:	%{name}-gui.desktop
 #Source2:	%{name}-gui.png
+Patch0:		%{name}-bison.patch
+Patch1:		%{name}-pmake.patch
 URL:		http://seedit.sourceforge.net/
-BuildRequires:	byacc
+BuildRequires:	bison
 BuildRequires:	desktop-file-utils
 BuildRequires:	flex
 BuildRequires:	gettext-devel
@@ -74,12 +76,16 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 %{__make} -C core \
+	CC="%{__cc}" \
 	CFLAGS="%{rpmcflags}" \
 	LDFLAGS="%{rpmldflags}" \
 	PYTHON_SITELIB=%{py_sitedir} \
+	YACC="bison -y" \
 	%ARGS
 
 %install
@@ -106,6 +112,8 @@
 touch $RPM_BUILD_ROOT%{_datadir}/%{name}/sepolicy/need-rbac-init
 touch $RPM_BUILD_ROOT%{_datadir}/%{name}/sepolicy/need-init
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -129,8 +137,6 @@
 	touch /.autorelabel
 fi
 
-%find_lang %{name}
-
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS Changelog NEWS README TODO
@@ -150,7 +156,7 @@
 %dir %{_datadir}/%{name}/sepolicy
 %{_datadir}/%{name}/seedit-load.conf
 
-%files gui
+%files gui -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/seedit-gui
 %attr(755,root,root) %{_sbindir}/seedit-gui
@@ -183,6 +189,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2007/07/08 19:46:15  qboosh
+- added bison,pmake patches
+- use bison instead of byacc
+- include locale file(s)
+
 Revision 1.8  2007/07/08 19:34:10  qboosh
 - pl, cleanup
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/seedit.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list