From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00, DNS_FROM_OPENWHOIS,SPF_PASS autolearn=no version=3.2.5 Date: Fri, 20 Aug 2010 08:23:55 +0300 From: Igor Vlasenko To: ALT Linux Team development discussions Message-ID: <20100820052355.GB10570@dad.imath.kiev.ua> References: <20100819193353.GA8632@dad.imath.kiev.ua> <20100819204436.GG6033@osdn.org.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100819204436.GG6033@osdn.org.ua> User-Agent: Mutt/1.5.20 (2009-08-17) Subject: Re: [devel] %buildroot check X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2010 05:24:00 -0000 Archived-At: List-Archive: List-Post: On Thu, Aug 19, 2010 at 11:44:37PM +0300, Michael Shigorin wrote: > On Thu, Aug 19, 2010 at 10:33:53PM +0300, Igor Vlasenko wrote: > > Уважаемые коллеги, обращаю ваше внимание, что заново включен > > тест на упоминания %buildroot. > В содержимом пакетов, что ли? Да. > > liblasi-1.1.0-alt3.x86_64 > > liblasi-devel-1.1.0-alt3.x86_64 например, lasi.pc файл вышел крив: ------ Файл: lasi.pc ------------------ prefix=/usr/src/tmp/liblasi-buildroot/usr exec_prefix=/usr/src/tmp/liblasi-buildroot/usr libdir=/usr/src/tmp/liblasi-buildroot/usr/lib64 includedir=/usr/src/tmp/liblasi-buildroot/usr/include Name: LASi Description: Library to write UTF-8 strings to Postscript stream. Version: 1.1.0 Requires: freetype2,pango,pangoft2 Libs: -lLASi Cflags: -I/usr/src/tmp/liblasi-buildroot/usr/include ------------------------------------------- > В спеке: > > %build > cmake \ > -DCMAKE_INSTALL_PREFIX=%buildroot%_prefix \ > -DCMAKE_INSTALL_LIBDIR=%buildroot%_libdir Надо пользоваться %cmake вместо голого cmake. флаги с %buildroot убрать, а для install воспользоваться DESTDIR: см. http://vtk.org/Wiki/CMake_FAQ#Does_CMake.27s_.22make_install.22_support_DESTDIR.3F -- Dr. Igor Vlasenko -------------------- Topology Department Institute of Math Kiev, Ukraine