rpms/hunspell/devel hunspell.spec,1.65,1.66

Caolan McNamara caolanm at fedoraproject.org
Thu Jul 9 08:11:39 UTC 2009


Author: caolanm

Update of /cvs/pkgs/rpms/hunspell/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21183

Modified Files:
	hunspell.spec 
Log Message:
fix up rpmlint warnings


Index: hunspell.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell/devel/hunspell.spec,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -p -r1.65 -r1.66
--- hunspell.spec	7 Jul 2009 14:05:41 -0000	1.65
+++ hunspell.spec	9 Jul 2009 08:11:07 -0000	1.66
@@ -44,13 +44,15 @@ EOF
 chmod +x %{__perl_requires}
 
 %build
-libtoolize --automake --force
 aclocal -I m4
+libtoolize --force --copy
+automake --add-missing --copy
 autoconf
-automake
-%configure --disable-static  --with-ui --with-readline
-for i in man/*.? man/hu/*.?; do
-    iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
+%configure --disable-rpath --disable-static  --with-ui --with-readline
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+for i in AUTHORS.myspell; do
+    iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
     mv -f $i.new $i
 done
 make %{?_smp_mflags}
@@ -58,7 +60,6 @@ make %{?_smp_mflags}
 %install
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
-%find_lang %{name}
 rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
 rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
 rm -f $RPM_BUILD_ROOT/%{_bindir}/example
@@ -69,6 +70,7 @@ install -m 755 src/tools/makealias $RPM_
 install -m 755 src/tools/wordforms $RPM_BUILD_ROOT/%{_bindir}/wordforms
 install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/%{_bindir}/ispellaff2myspell
 install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/%{_bindir}/wordlist2hunspell
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT




More information about the fedora-extras-commits mailing list