forked from Imagelibrary/rtems
Update.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user