smock: add --overwrite option
[fedora-mingw.git] / example / mingw32-example.spec
index 9361ee9..90353df 100644 (file)
@@ -1,8 +1,8 @@
-%define __strip %{_mingw32_strip}
-%define __objdump %{_mingw32_objdump}
-%define _use_internal_dependency_generator 0
-%define __find_requires %{_mingw32_findrequires}
-%define __find_provides %{_mingw32_findprovides}
+%global __strip %{_mingw32_strip}
+%global __objdump %{_mingw32_objdump}
+%global _use_internal_dependency_generator 0
+%global __find_requires %{_mingw32_findrequires}
+%global __find_provides %{_mingw32_findprovides}
 
 Name:           mingw32-example
 Version:        1.2.3
@@ -56,12 +56,13 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %files
-%defattr(-,root,root)
+%defattr(-,root,root,-)
+%doc LICENSE
 %{_mingw32_bindir}/foo.dll
 %{_mingw32_libdir}/foo.dll.a
 # etc.
 
 
 %changelog
-* Fri Jan 23 2009 Your Name <you@example.com> - 1.2.3-1
+* Sat Jun  6 2009 Your Name <you@example.com> - 1.2.3-1
 - Initial RPM release.