[mingw-hunspell: 16/22] Spec cleanup

Kalev Lember kalev at fedoraproject.org
Tue Mar 6 18:36:29 UTC 2012


commit acbda3e3a0be0e9379095cd59216b987e79650cc
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Sun Sep 4 15:56:29 2011 +0300

    Spec cleanup

 mingw32-hunspell.spec |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/mingw32-hunspell.spec b/mingw32-hunspell.spec
index 28901a7..15f85f1 100644
--- a/mingw32-hunspell.spec
+++ b/mingw32-hunspell.spec
@@ -1,8 +1,5 @@
 %global __strip %{_mingw32_strip}
 %global __objdump %{_mingw32_objdump}
-%global _use_internal_dependency_generator 0
-%global __find_requires %{_mingw32_findrequires}
-%global __find_provides %{_mingw32_findprovides}
 %define __debug_install_post %{_mingw32_debug_install_post}
 
 Name:          mingw32-hunspell
@@ -12,7 +9,6 @@ Release:       1%{?dist}
 Source0:       http://downloads.sourceforge.net/hunspell/hunspell-%{version}.tar.gz
 Group:         System Environment/Libraries
 URL:           http://hunspell.sourceforge.net/
-BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 License:       LGPLv2+ or GPLv2+ or MPLv1.1
 
 BuildArch:     noarch
@@ -24,7 +20,6 @@ BuildRequires: mingw32-gcc-c++
 BuildRequires: mingw32-binutils
 BuildRequires: mingw32-gettext
 BuildRequires: mingw32-readline
-Requires:      pkgconfig
 
 %description
 Hunspell is a spell checker and morphological analyzer library and program 
@@ -63,7 +58,6 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
 
 # Drop the man pages
@@ -72,12 +66,7 @@ rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/man
 %find_lang hunspell
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files -f hunspell.lang
-%defattr(-,root,root,-)
 %doc README README.myspell COPYING COPYING.LGPL COPYING.MPL AUTHORS AUTHORS.myspell license.hunspell license.myspell THANKS
 %{_mingw32_bindir}/i686-pc-mingw32-affixcompress
 %{_mingw32_bindir}/i686-pc-mingw32-analyze.exe
@@ -99,7 +88,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_mingw32_libdir}/pkgconfig/hunspell.pc
 
 %files static
-%defattr(-,root,root,-)
 %{_mingw32_libdir}/libhunspell-1.3.a
 
 


More information about the scm-commits mailing list