Simplify the %mingw_make_install macro

... and move it to the deprecated section.
This commit is contained in:
Kalev Lember 2012-03-16 22:19:00 +02:00
parent 7efd7c1a02
commit f14297dd84
2 changed files with 7 additions and 11 deletions

View File

@ -51,16 +51,6 @@ make -C build_win64$MINGW_BUILDDIR_SUFFIX $@} \
} \ } \
run_mingw_make run_mingw_make
%mingw_make_install \
run_mingw_make_install() \
{ \
%{?mingw_build_win32: \
make -C build_win32$MINGW_BUILDDIR_SUFFIX install $@} \
%{?mingw_build_win64: \
make -C build_win64$MINGW_BUILDDIR_SUFFIX install $@} \
} \
run_mingw_make_install
%mingw_cmake \ %mingw_cmake \
run_mingw_cmake() \ run_mingw_cmake() \
{ \ { \
@ -93,3 +83,5 @@ popd } \
} \ } \
run_mingw_cmake_kde4 run_mingw_cmake_kde4
# Deprecated:
%mingw_make_install %mingw_make install

View File

@ -2,7 +2,7 @@
Name: mingw-filesystem Name: mingw-filesystem
Version: 95 Version: 95
Release: 4%{?dist} Release: 5%{?dist}
Summary: MinGW cross compiler base filesystem and environment Summary: MinGW cross compiler base filesystem and environment
Group: Development/Libraries Group: Development/Libraries
@ -250,6 +250,10 @@ install -m 0644 %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/mingw/
%changelog %changelog
* Fri Mar 16 2012 Kalev Lember <kalevlember@gmail.com> - 95-5
- Simplify the mingw_make_install macro, also moving it to the deprecated
section
* Mon Mar 12 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 95-4 * Mon Mar 12 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 95-4
- Added a manual provides for the native windows library ksuser.dll as - Added a manual provides for the native windows library ksuser.dll as
wine doesn't have an implementation for this library at the moment wine doesn't have an implementation for this library at the moment