This commit is contained in:
Ralf Corsepius
2009-07-17 13:40:05 +00:00
parent 5b42429fa3
commit 20857e1219
2 changed files with 2 additions and 44 deletions

View File

@@ -1,6 +1,6 @@
Name: i686-pc-mingw32-gcc-helper
Version: 0.20090717.0
Release: 2%{?dist}
Release: 1%{?dist}
Summary: RTEMS gcc helper
Group: Development
@@ -12,8 +12,6 @@ BuildRequires: mingw32-gcc
Requires: mingw32-gcc
Provides: i686-pc-mingw32-gcc
%define _prefix /usr
%description
%{summary}
@@ -21,26 +19,7 @@ Provides: i686-pc-mingw32-gcc
%setup -q -c -T -n %{name}-%{version}
%build
rm -rf .%{_prefix}/bin
mkdir -p .%{_prefix}/bin
pushd .%{_prefix}/bin
for f in $(rpm -ql mingw32-gcc|grep /usr/bin); do \
ln -s $f .; \
done
popd
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_prefix}/bin
cp -a .%{_prefix}/bin/* $RPM_BUILD_ROOT%{_prefix}/bin
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_prefix}
%changelog

View File

@@ -1,6 +1,6 @@
Name: @rpmprefix@i686-pc-mingw32-gcc-helper
Version: 0.20090717.0
Release: 2%{?dist}
Release: 1%{?dist}
Summary: RTEMS gcc helper
Group: Development
@@ -12,8 +12,6 @@ BuildRequires: mingw32-gcc
Requires: mingw32-gcc
Provides: @rpmprefix@i686-pc-mingw32-gcc
%define _prefix @_prefix@
%description
%{summary}
@@ -21,26 +19,7 @@ Provides: @rpmprefix@i686-pc-mingw32-gcc
%setup -q -c -T -n %{name}-%{version}
%build
rm -rf .%{_prefix}/bin
mkdir -p .%{_prefix}/bin
pushd .%{_prefix}/bin
for f in $(rpm -ql mingw32-gcc|grep /usr/bin); do \
ln -s $f .; \
done
popd
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_prefix}/bin
cp -a .%{_prefix}/bin/* $RPM_BUILD_ROOT%{_prefix}/bin
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_prefix}
%changelog