rebuilt with target armopenmamba-linux-gnueabihf [release 0.4-13mamba;Mon Aug 01 2016]
This commit is contained in:
parent
5ecd9c18c7
commit
e9ba07f694
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Name: cross-environment
|
Name: cross-environment
|
||||||
Version: 0.4
|
Version: 0.4
|
||||||
Release: 12mamba
|
Release: 13mamba
|
||||||
Summary: Environment files for cross-platform development
|
Summary: Environment files for cross-platform development
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -21,9 +21,11 @@ Source3: %{name}-ppc-macros
|
|||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
%if "%{?cross_target_cpu}" != ""
|
||||||
BuildRequires: cross-%{_target_platform}-binutils
|
BuildRequires: cross-%{_target_platform}-binutils
|
||||||
BuildRequires: cross-%{_target_platform}-gcc
|
BuildRequires: cross-%{_target_platform}-gcc
|
||||||
BuildRequires: cross-%{_target_platform}-glibc
|
BuildRequires: cross-%{_target_platform}-glibc
|
||||||
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -52,19 +54,20 @@ mkdir -p RPM/{SPECS,BUILD,SOURCES,SRPMS,RPMS/%{target_cpu}}
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
rpmbuild -ba fakedeps.spec --target %{target_cpu} \
|
rpmbuild -ba fakedeps.spec --target %{target_cpu} \
|
||||||
|
--define="_target_platform %{_target_platform}" \
|
||||||
--define="_topdir %{_builddir}/%{name}-%{version}/RPM"
|
--define="_topdir %{_builddir}/%{name}-%{version}/RPM"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
|
||||||
%if "%{target_cpu}" == "arm"
|
%if "%{target_cpu}" == "arm"
|
||||||
install -D -m0644 %{SOURCE1} %{buildroot}%{_libdir}/rpm/arm-linux/macros
|
install -D -m0644 %{SOURCE1} %{buildroot}%{_prefix}/lib/rpm/arm-linux/macros
|
||||||
%endif
|
%endif
|
||||||
%if "%{target_cpu}" == "x86_64"
|
%if "%{target_cpu}" == "x86_64"
|
||||||
install -D -m0644 %{SOURCE2} %{buildroot}%{_libdir}/rpm/x86_64-linux/macros
|
install -D -m0644 %{SOURCE2} %{buildroot}%{_prefix}/lib/rpm/x86_64-linux/macros
|
||||||
%endif
|
%endif
|
||||||
%if "%{target_cpu}" == "ppc"
|
%if "%{target_cpu}" == "ppc"
|
||||||
install -D -m0644 %{SOURCE3} %{buildroot}%{_libdir}/rpm/ppc-linux/macros
|
install -D -m0644 %{SOURCE3} %{buildroot}%{_prefix}/lib/rpm/ppc-linux/macros
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
CROSSDIR=%{buildroot}%{_prefix}/%{_target_platform}
|
CROSSDIR=%{buildroot}%{_prefix}/%{_target_platform}
|
||||||
@ -93,7 +96,7 @@ exit 0
|
|||||||
%files -n cross-%{_target_platform}-environment
|
%files -n cross-%{_target_platform}-environment
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_prefix}/gnemul/qemu-%{target_cpu}
|
%{_prefix}/gnemul/qemu-%{target_cpu}
|
||||||
%{_libdir}/rpm/%{target_cpu}-linux/macros
|
%{_prefix}/lib/rpm/%{target_cpu}-linux/macros
|
||||||
%dir %{_prefix}/%{_target_platform}
|
%dir %{_prefix}/%{_target_platform}
|
||||||
%dir %attr(775,root,packager) %{_prefix}/%{_target_platform}/usr
|
%dir %attr(775,root,packager) %{_prefix}/%{_target_platform}/usr
|
||||||
%dir %attr(775,root,packager) %{_prefix}/%{_target_platform}/usr/src
|
%dir %attr(775,root,packager) %{_prefix}/%{_target_platform}/usr/src
|
||||||
@ -116,6 +119,9 @@ exit 0
|
|||||||
%attr(775,root,packager) %{_prefix}/%{_target_platform}/usr/src/RPM/RPMS/*
|
%attr(775,root,packager) %{_prefix}/%{_target_platform}/usr/src/RPM/RPMS/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 01 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4-13mamba
|
||||||
|
- rebuilt with target armopenmamba-linux-gnueabihf
|
||||||
|
|
||||||
* Sat Jul 27 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4-12mamba
|
* Sat Jul 27 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4-12mamba
|
||||||
- ppc-macros: add -fPIC required to recently build cross glibc/gcc
|
- ppc-macros: add -fPIC required to recently build cross glibc/gcc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user