commit 11c4c8fba587396ef960ca6fd8a4dedab6294e48 Author: Kalev Lember kalev@smartlink.ee Date: Fri May 20 13:30:59 2011 +0300
Cleaned up the spec file from cruft not needed with latest rpm
mingw32-filesystem.spec | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) --- diff --git a/mingw32-filesystem.spec b/mingw32-filesystem.spec index 54afefa..dab8866 100644 --- a/mingw32-filesystem.spec +++ b/mingw32-filesystem.spec @@ -8,7 +8,6 @@ Summary: MinGW base filesystem and environment Group: Development/Libraries License: GPLv2+ URL: http://hg.et.redhat.com/misc/fedora-mingw--devel/ -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch
Source0: COPYING @@ -77,8 +76,6 @@ sed 's/@VERSION@/%{version}/' < %{SOURCE4} > mingw32-find-requires.sh
%install -rm -rf $RPM_BUILD_ROOT - mkdir -p $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_libexecdir} @@ -147,12 +144,8 @@ 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
-%clean -rm -rf $RPM_BUILD_ROOT -
%files -%defattr(-,root,root,-) %doc COPYING %config(noreplace) %{_sysconfdir}/rpm/macros.mingw32 %config(noreplace) %{_sysconfdir}/profile.d/mingw32.sh @@ -175,6 +168,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Fri May 20 2011 Kalev Lember kalev@smartlink.ee - 68-1 - Support RPM 4.9 new "fileattr" dep extraction system +- Cleaned up the spec file from cruft not needed with latest rpm
* Sat May 14 2011 Erik van Pienbroek epienbro@fedoraproject.org - 67-1 - Don't unset PKG_CONFIG_PATH in the wrapper scripts
these changes not really useful since after that the same spec no longer compiles on rhel. which is not a good idea, mainly after rhel-6.1 add support for mingw32...
On 05/21/2011 08:15 AM, Kalev Lember wrote:
commit 11c4c8fba587396ef960ca6fd8a4dedab6294e48 Author: Kalev Lember kalev@smartlink.ee Date: Fri May 20 13:30:59 2011 +0300
Cleaned up the spec file from cruft not needed with latest rpm
mingw32-filesystem.spec | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/mingw32-filesystem.spec b/mingw32-filesystem.spec index 54afefa..dab8866 100644 --- a/mingw32-filesystem.spec +++ b/mingw32-filesystem.spec @@ -8,7 +8,6 @@ Summary: MinGW base filesystem and environment Group: Development/Libraries License: GPLv2+ URL: http://hg.et.redhat.com/misc/fedora-mingw--devel/ -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch
Source0: COPYING @@ -77,8 +76,6 @@ sed 's/@VERSION@/%{version}/' < %{SOURCE4} > mingw32-find-requires.sh
%install -rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_libexecdir} @@ -147,12 +144,8 @@ 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
-%clean -rm -rf $RPM_BUILD_ROOT
%files -%defattr(-,root,root,-) %doc COPYING %config(noreplace) %{_sysconfdir}/rpm/macros.mingw32 %config(noreplace) %{_sysconfdir}/profile.d/mingw32.sh @@ -175,6 +168,7 @@ rm -rf $RPM_BUILD_ROOT %changelog
- Fri May 20 2011 Kalev Lember kalev@smartlink.ee - 68-1
- Support RPM 4.9 new "fileattr" dep extraction system
+- Cleaned up the spec file from cruft not needed with latest rpm
- Sat May 14 2011 Erik van Pienbroek epienbro@fedoraproject.org - 67-1
- Don't unset PKG_CONFIG_PATH in the wrapper scripts
On 05/21/2011 09:57 AM, Farkas Levente wrote:
these changes not really useful since after that the same spec no longer compiles on rhel. which is not a good idea, mainly after rhel-6.1 add support for mingw32...
Right, and the previous commit before that [1] also depends on RPM 4.9 features that are not available on RHEL 6.
However, like you said, RHEL 6.1 now comes with a MinGW toolchain (including mingw32-filesystem and mingw32-gcc packages) and I believe people should use the packages shipped with RHEL, not try to replace system packages with those taken from Fedora rawhide.
Hope this clears it up, Kalev
[1] commit b4298c0ccc855b3dbd8c109eb21ed19a5b82f0e7 Author: Kalev Lember kalev@smartlink.ee Date: Fri May 20 13:27:53 2011 +0300
Support RPM 4.9 new "fileattr" dep extraction system
On Sat, May 21, 2011 at 08:57:04AM +0200, Farkas Levente wrote:
these changes not really useful since after that the same spec no longer compiles on rhel. which is not a good idea, mainly after rhel-6.1 add support for mingw32...
This is not an issue. When adding the packages to RHEL, just fork from the earlier version and cherry pick any patches which are not related to the dependency change.
Rich.