diff --git a/mingw32-filesystem.spec b/mingw32-filesystem.spec index 5411573..54afefa 100644 --- a/mingw32-filesystem.spec +++ b/mingw32-filesystem.spec @@ -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 - 68-1 +- Support RPM 4.9 new "fileattr" dep extraction system + * Sat May 14 2011 Erik van Pienbroek - 67-1 - Don't unset PKG_CONFIG_PATH in the wrapper scripts mingw32-pkg-config and i686-pc-mingw32-pkg-config (BZ #688171) diff --git a/mingw32.attr b/mingw32.attr new file mode 100644 index 0000000..fa9251a --- /dev/null +++ b/mingw32.attr @@ -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])$