X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=example%2Fmingw32-example.spec;h=90353dfbc6c2fc054e55ac81f98de3bbf894c4e0;hb=2edb6a8dd2ce2d25669c42b66ada3bd14cc2d3d8;hp=1a03ff30c5554a30218a4e1221111203e8b456a8;hpb=5bf7d7cb0824c155c266934cfa853b80f657e848;p=fedora-mingw.git diff --git a/example/mingw32-example.spec b/example/mingw32-example.spec index 1a03ff3..90353df 100644 --- a/example/mingw32-example.spec +++ b/example/mingw32-example.spec @@ -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 @@ -24,7 +24,7 @@ Source0: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: mingw32-filesystem >= 34 +BuildRequires: mingw32-filesystem >= 35 BuildRequires: mingw32-gcc BuildRequires: mingw32-binutils # Any additional BuildRequires. @@ -39,7 +39,7 @@ BuildRequires: mingw32-binutils %build -%{_mingw32_configure} +%{_mingw32_configure} --disable-static make %{?_smp_mflags} @@ -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 -* Thu Nov 13 2008 Your Name - 1.2.3-1 +* Sat Jun 6 2009 Your Name - 1.2.3-1 - Initial RPM release.