Hello community, here is the log from the commit of package openam for openSUSE:Factory checked in at 2012-07-15 12:05:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openam (Old) and /work/SRC/openSUSE:Factory/.openam.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openam", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/openam/openam.changes 2011-09-23 02:15:11.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.openam.new/openam.changes 2012-07-15 12:05:03.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: ------------------ ++++++ openam.spec ++++++ --- /var/tmp/diff_new_pack.U9JuAZ/_old 2012-07-15 12:05:05.000000000 +0200 +++ /var/tmp/diff_new_pack.U9JuAZ/_new 2012-07-15 12:05:05.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package openam (Version 1.1.18) +# spec file for package openam # -# 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,18 +15,27 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild +%ifarch %ix86 +%define arch x86 +%else +%define arch %{_target_cpu} +%endif Name: openam -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 +Summary: A Simple Answering Machine Using the H.323 Protocol License: MPL-1.1 -AutoReqProv: on Group: Productivity/Telephony/H323/Servers -Summary: A Simple Answering Machine Using the H.323 Protocol Version: 1.1.18 -Release: 431 +Release: 0 Source0: openam-1.1.18.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -46,17 +55,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` -case $M in - *86) export M="x86" ;; # treat i586 and i686 alike -esac mkdir -p $RPM_BUILD_ROOT/usr/sbin -install -c obj_linux_"$M"_r/openam $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/openam $RPM_BUILD_ROOT/usr/sbin %files %defattr(-,root,root) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
