Hello community, here is the log from the commit of package openivr for openSUSE:Factory checked in at 2012-07-15 12:05:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openivr (Old) and /work/SRC/openSUSE:Factory/.openivr.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openivr", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/openivr/openivr.changes 2011-09-23 02:15:26.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.openivr.new/openivr.changes 2012-07-15 12:05:12.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Jul 11 08:08:45 UTC 2012 - [email protected] + +- fix builds when using a target arch (eg. armv7hl) +- drop unsafe build root removal + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openivr.spec ++++++ --- /var/tmp/diff_new_pack.EEEU9G/_old 2012-07-15 12:05:13.000000000 +0200 +++ /var/tmp/diff_new_pack.EEEU9G/_new 2012-07-15 12:05:13.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package openivr (Version 1.0.6) +# spec file for package openivr # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,19 +15,28 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild +%ifarch %ix86 +%define arch x86 +%else +%define arch %{_target_cpu} +%endif Name: openivr -BuildRequires: SDL-devel gcc-c++ libdv openh323-devel openldap2-devel pwlib-devel speex-devel +BuildRequires: SDL-devel +BuildRequires: gcc-c++ +BuildRequires: libdv +BuildRequires: openh323-devel +BuildRequires: openldap2-devel +BuildRequires: pwlib-devel +BuildRequires: speex-devel Url: http://www.openh323.org -License: MPL-1.1 BuildRoot: %{_tmppath}/%{name}-%{version}-build -AutoReqProv: on -Group: Productivity/Telephony/H323/Servers Summary: H.323 Interactive Voice Response +License: MPL-1.1 +Group: Productivity/Telephony/H323/Servers Version: 1.0.6 -Release: 450 +Release: 0 Source0: openivr-%{version}.tar.bz2 %description @@ -42,17 +51,8 @@ make PREFIX=/usr OPENH323DIR=/usr/share/openh323 OH323_LIBDIR=%{_libdir} opt %install -[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; -export M=`uname -m` -if [ `uname -m | cut -b 3-` == "86" ]; then - export M="x86" -fi mkdir -p $RPM_BUILD_ROOT/usr/sbin -install -c obj_linux_"$M"_r/openivr $RPM_BUILD_ROOT/usr/sbin - -%clean -# Clear up the mess -[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; +install -c obj_linux_%{arch}_r/openivr $RPM_BUILD_ROOT/usr/sbin %files %defattr(-,root,root) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
