Support RPM 4.9 new "fileattr" dep extraction system

This commit is contained in:
Kalev Lember 2011-05-20 13:27:53 +03:00
parent 2c67134589
commit b4298c0ccc
2 changed files with 12 additions and 1 deletions

View File

@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: mingw32-filesystem
Version: 67
Version: 68
Release: 1%{?dist}
Summary: MinGW base filesystem and environment
@ -21,6 +21,7 @@ Source6: mingw32-scripts.sh
Source7: mingw32-rpmlint.config
Source8: Toolchain-mingw32.cmake
Source9: mingw32-find-debuginfo.sh
Source10: mingw32.attr
Requires: pkgconfig
@ -140,6 +141,9 @@ install -m 0755 mingw32-find-requires.sh $RPM_BUILD_ROOT/usr/lib/rpm
install -m 0755 %{SOURCE5} $RPM_BUILD_ROOT/usr/lib/rpm
install -m 0755 %{SOURCE9} $RPM_BUILD_ROOT/usr/lib/rpm
mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm/fileattrs
install -m 0644 %{SOURCE10} $RPM_BUILD_ROOT/usr/lib/rpm/fileattrs/
mkdir -p $RPM_BUILD_ROOT%{_datadir}/mingw32
install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_datadir}/mingw32
@ -165,9 +169,13 @@ rm -rf $RPM_BUILD_ROOT
%{_prefix}/i686-pc-mingw32/
%{_datadir}/mingw32
/usr/lib/rpm/mingw32-*
/usr/lib/rpm/fileattrs/mingw32.attr
%changelog
* Fri May 20 2011 Kalev Lember <kalev@smartlink.ee> - 68-1
- Support RPM 4.9 new "fileattr" dep extraction system
* Sat May 14 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 67-1
- Don't unset PKG_CONFIG_PATH in the wrapper scripts
mingw32-pkg-config and i686-pc-mingw32-pkg-config (BZ #688171)

3
mingw32.attr Normal file
View File

@ -0,0 +1,3 @@
%__mingw32_provides %{_rpmconfigdir}/mingw32-find-provides.sh
%__mingw32_requires %{_rpmconfigdir}/mingw32-find-requires.sh
%__mingw32_path ^%{_mingw32_prefix}/.*\.([Dd][Ll][Ll]|[Ee][Xx][Ee])$