rpms/osgcal/devel osgcal.spec,1.6,1.7

Christopher Stone (xulchris) fedora-extras-commits at redhat.com
Mon Jan 29 23:42:36 UTC 2007


Author: xulchris

Update of /cvs/extras/rpms/osgcal/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5669/devel

Modified Files:
	osgcal.spec 
Log Message:
Compile with $RPM_OPT_FLAGS


Index: osgcal.spec
===================================================================
RCS file: /cvs/extras/rpms/osgcal/devel/osgcal.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- osgcal.spec	6 Dec 2006 18:42:47 -0000	1.6
+++ osgcal.spec	29 Jan 2007 23:42:06 -0000	1.7
@@ -1,13 +1,13 @@
 Name:           osgcal
 Version:        0.1.44
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Adapts OpenSceneGraph to use Cal3D
 
 Group:          Development/Libraries
 License:        GPL
 URL:            http://gna.org/projects/underware
 Source0:        http://download.gna.org/underware/sources/%{name}-%{version}.tar.gz
-Patch0:         %{name}-%{version}-64bit.patch
+Patch0:         %{name}-1.0.44-64bit.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  OpenSceneGraph-devel cal3d-devel libxml2-devel glib2-devel
@@ -43,13 +43,16 @@
 
 %build
 %configure --enable-gifplugin --disable-static
-make %{?_smp_mflags}
+CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags}
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
+# remove libtool archives
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
 
 %check
 MALLOC_CHECK_=1 make check
@@ -77,10 +80,14 @@
 %{_includedir}/osgCal
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/%{name}.pc
-%exclude %{_libdir}/*.la
 
 
 %changelog
+* Mon Jan 29 2007 Christopher Stone <chris.stone at gmail.com> 0.1.44-2
+- Remove %%{version} from Patch tag
+- Remove libtool archive instead of %%excluding it
+- Compile with $RPM_OPT_FLAGS
+
 * Wed Dec 06 2006 Christopher Stone <chris.stone at gmail.com> 0.1.44-1
 - Upstream sync
 - Clean up description




More information about the fedora-extras-commits mailing list