diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2017-07-04 10:21:15 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2017-07-04 10:21:29 +0800 |
commit | 485bda5b7866be8727c04f8fa9c33e21329d3466 (patch) | |
tree | b2f25dc99ed5e91efc837881c18584c8f4356e9b /arm-linux-gnueabi-toolchain/arm-linux-gnueabi-gcc/arm-linux-gnueabi-gcc.spec | |
parent | bba7cf13e2fa74ef451048a4afed6143f0a0fbf6 (diff) | |
download | copr-rpm-spec-485bda5b7866be8727c04f8fa9c33e21329d3466.tar copr-rpm-spec-485bda5b7866be8727c04f8fa9c33e21329d3466.tar.gz copr-rpm-spec-485bda5b7866be8727c04f8fa9c33e21329d3466.tar.bz2 copr-rpm-spec-485bda5b7866be8727c04f8fa9c33e21329d3466.tar.lz copr-rpm-spec-485bda5b7866be8727c04f8fa9c33e21329d3466.tar.xz copr-rpm-spec-485bda5b7866be8727c04f8fa9c33e21329d3466.tar.zst copr-rpm-spec-485bda5b7866be8727c04f8fa9c33e21329d3466.zip |
arm-linux-gnueabi-toolchain: Filter provides in cross_sysroot
Diffstat (limited to 'arm-linux-gnueabi-toolchain/arm-linux-gnueabi-gcc/arm-linux-gnueabi-gcc.spec')
-rw-r--r-- | arm-linux-gnueabi-toolchain/arm-linux-gnueabi-gcc/arm-linux-gnueabi-gcc.spec | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/arm-linux-gnueabi-toolchain/arm-linux-gnueabi-gcc/arm-linux-gnueabi-gcc.spec b/arm-linux-gnueabi-toolchain/arm-linux-gnueabi-gcc/arm-linux-gnueabi-gcc.spec index 1429378..dedcd90 100644 --- a/arm-linux-gnueabi-toolchain/arm-linux-gnueabi-gcc/arm-linux-gnueabi-gcc.spec +++ b/arm-linux-gnueabi-toolchain/arm-linux-gnueabi-gcc/arm-linux-gnueabi-gcc.spec @@ -26,7 +26,7 @@ Name: %{cross_triplet}-gcc%{pkg_suffix} Version: 7.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The GNU Compiler Collection (%{cross_triplet}) %define major_version %(echo %{version} | sed 's/\\..*$//') @@ -58,6 +58,9 @@ Provides: %{cross_triplet}-gcc-stage2 = %{version} Provides: %{cross_triplet}-gcc-stage3 = %{version} %endif +%global __provides_exclude_from ^%{cross_sysroot} +%global __requires_exclude_from ^%{cross_sysroot} + %description @@ -199,25 +202,6 @@ chmod +x %{__ar_no_strip} %undefine __strip %define __strip %{__ar_no_strip} -# Disable automatic requirements finding in %{cross_sysroot} -%define _use_internal_dependency_generator 0 -%define __rpmdeps_command %{__find_requires} -%define __rpmdeps_skip_sysroot %{_builddir}/gcc-%{version}/rpmdeps-skip-sysroot -cat > %{__rpmdeps_skip_sysroot} << EOF -#!/bin/sh -while read oneline; do - case \$oneline in - %{buildroot}%{cross_sysroot}*) - ;; - *) - echo \$oneline | %{__rpmdeps_command} - esac -done -EOF -chmod +x %{__rpmdeps_skip_sysroot} -%undefine __find_requires -%define __find_requires %{__rpmdeps_skip_sysroot} - %files %license COPYING COPYING.LIB COPYING.RUNTIME COPYING3 COPYING3.LIB @@ -356,6 +340,9 @@ chmod +x %{__rpmdeps_skip_sysroot} %changelog +* Mon Jul 03 2017 Ting-Wei Lan <lantw44@gmail.com> - 7.1.0-2 +- Filter provides and requires in cross_sysroot + * Wed May 03 2017 Ting-Wei Lan <lantw44@gmail.com> - 7.1.0-1 - Update to new stable release 7.1.0 - Use bcond_without macro to conditionally enable Ada support |