From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 061701396D0 for ; Wed, 23 Aug 2017 06:42:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 40FE81FC002; Wed, 23 Aug 2017 06:42:08 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10A1A1FC002 for ; Wed, 23 Aug 2017 06:42:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C8772341D0E for ; Wed, 23 Aug 2017 06:42:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 49E437F7C for ; Wed, 23 Aug 2017 06:42:05 +0000 (UTC) From: "Andrew Savchenko" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Savchenko" Message-ID: <1503470517.08fa0cbd562f100a64fde7d079d7828e824b1004.bircoph@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/oprofile/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/oprofile/oprofile-1.2.0-r1.ebuild dev-util/oprofile/oprofile-1.2.0.ebuild dev-util/oprofile/oprofile-1.2.0_pre20161027-r1.ebuild dev-util/oprofile/oprofile-1.2.0_pre20161027.ebuild X-VCS-Directories: dev-util/oprofile/ X-VCS-Committer: bircoph X-VCS-Committer-Name: Andrew Savchenko X-VCS-Revision: 08fa0cbd562f100a64fde7d079d7828e824b1004 X-VCS-Branch: master Date: Wed, 23 Aug 2017 06:42:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3b07e862-0d4f-4a39-adc7-ad1e857a118a X-Archives-Hash: 01b2ea74dc1b35e86c109a84923e3246 commit: 08fa0cbd562f100a64fde7d079d7828e824b1004 Author: Andrew Savchenko gentoo org> AuthorDate: Wed Aug 23 06:11:26 2017 +0000 Commit: Andrew Savchenko gentoo org> CommitDate: Wed Aug 23 06:41:57 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08fa0cbd dev-util/oprofile: drop event files filtering Event files may be used in nontrivial way, so filtering them out may result in broken oprofile, see https://bugs.gentoo.org/show_bug.cgi?id=580016#c2 Package-Manager: Portage-2.3.8, Repoman-2.3.3 Signed-off-by: Andrew Savchenko gentoo.org> .../{oprofile-1.2.0.ebuild => oprofile-1.2.0-r1.ebuild} | 15 --------------- ...1027.ebuild => oprofile-1.2.0_pre20161027-r1.ebuild} | 17 +---------------- 2 files changed, 1 insertion(+), 31 deletions(-) diff --git a/dev-util/oprofile/oprofile-1.2.0.ebuild b/dev-util/oprofile/oprofile-1.2.0-r1.ebuild similarity index 84% rename from dev-util/oprofile/oprofile-1.2.0.ebuild rename to dev-util/oprofile/oprofile-1.2.0-r1.ebuild index c548ac8146e..c34d294d89f 100644 --- a/dev-util/oprofile/oprofile-1.2.0.ebuild +++ b/dev-util/oprofile/oprofile-1.2.0-r1.ebuild @@ -52,21 +52,6 @@ src_install() { dodoc ChangeLog* README TODO echo "LDPATH=${PREFIX}/usr/$(get_libdir)/${PN}" > "${T}/10${PN}" || die doenvd "${T}/10${PN}" - - # filter out event files for alien arches, bug 580016 - cd "${D}/usr/share/${PN}" || die - local arch="${ARCH}" f - case "${arch}" in - x86) - arch=i386 - ;; - amd64) - arch=x86-64 - ;; - esac - for f in $(find -O3 -mindepth 1 -maxdepth 1 -type d ! -name "${arch}" ); do - rm -r "${f}" || die - done } pkg_postinst() { diff --git a/dev-util/oprofile/oprofile-1.2.0_pre20161027.ebuild b/dev-util/oprofile/oprofile-1.2.0_pre20161027-r1.ebuild similarity index 84% rename from dev-util/oprofile/oprofile-1.2.0_pre20161027.ebuild rename to dev-util/oprofile/oprofile-1.2.0_pre20161027-r1.ebuild index 0c0f35aa14a..5eafde5bdbc 100644 --- a/dev-util/oprofile/oprofile-1.2.0_pre20161027.ebuild +++ b/dev-util/oprofile/oprofile-1.2.0_pre20161027-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -65,21 +65,6 @@ src_install() { dodoc ChangeLog* README TODO echo "LDPATH=${PREFIX}/usr/$(get_libdir)/${PN}" > "${T}/10${PN}" || die doenvd "${T}/10${PN}" - - # filter out event files for alien arches, bug 580016 - cd "${D}/usr/share/${PN}" || die - local arch="${ARCH}" f - case "${arch}" in - x86) - arch=i386 - ;; - amd64) - arch=x86-64 - ;; - esac - for f in $(find -O3 -mindepth 1 -maxdepth 1 -type d ! -name "${arch}" ); do - rm -r "${f}" || die - done } pkg_postinst() {