[mingw-enchant: 14/20] Spec cleanup

epienbro epienbro at fedoraproject.org
Wed Mar 7 16:54:56 UTC 2012


commit c0c6d5ace13e50ec7d06bc84683c2cd0a26d1346
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Sun Sep 4 16:38:22 2011 +0300

    Spec cleanup

 mingw32-enchant.spec |   13 +------------
 sources              |    2 +-
 2 files changed, 2 insertions(+), 13 deletions(-)
---
diff --git a/mingw32-enchant.spec b/mingw32-enchant.spec
index 7e61e0c..dce1d10 100644
--- a/mingw32-enchant.spec
+++ b/mingw32-enchant.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}
 
 Summary:       MinGW Windows Enchanting Spell Checking Library
@@ -13,7 +10,6 @@ Group:         System Environment/Libraries
 License:       LGPLv2+
 Source0:       http://www.abisource.com/downloads/enchant/%{version}/enchant-%{version}.tar.gz
 URL:           http://www.abisource.com/
-BuildRoot:     %{_tmppath}/%{name}-%{version}-root
 
 BuildRequires: mingw32-filesystem
 BuildRequires: mingw32-gcc
@@ -41,7 +37,7 @@ Group:          Development/Libraries
 Static version of the MinGW Windows enchant spell checking library.
 
 
-%{_mingw32_debug_package}
+%{?_mingw32_debug_package}
 
 
 %prep
@@ -64,7 +60,6 @@ make
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
 
 # Drop the man-pages
@@ -72,7 +67,6 @@ rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/man
 
 
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS COPYING.LIB README
 %{_mingw32_bindir}/enchant-lsmod.exe
 %{_mingw32_bindir}/enchant.exe
@@ -88,15 +82,10 @@ rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/man
 %{_mingw32_datadir}/enchant/
 
 %files static
-%defattr(-,root,root,-)
 %{_mingw32_libdir}/libenchant.a
 %{_mingw32_libdir}/enchant/libenchant_myspell.a
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %changelog
 * Sun Sep 04 2011 Kalev Lember <kalevlember at gmail.com> - 1.6.0-1
 - Update to 1.6.0
diff --git a/sources b/sources
index 788a845..955eaf6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7dfaed14e142b4a0004b770c9568ed02  enchant-1.5.0.tar.gz
+de11011aff801dc61042828041fb59c7  enchant-1.6.0.tar.gz


More information about the scm-commits mailing list