rpms/osgal/devel osgal.spec,1.8,1.9

Christopher Stone (xulchris) fedora-extras-commits at redhat.com
Sat Sep 29 22:08:46 UTC 2007


Author: xulchris

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

Modified Files:
	osgal.spec 
Log Message:
add some rpmlint fixes


Index: osgal.spec
===================================================================
RCS file: /cvs/extras/rpms/osgal/devel/osgal.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- osgal.spec	29 Sep 2007 18:51:41 -0000	1.8
+++ osgal.spec	29 Sep 2007 22:08:11 -0000	1.9
@@ -5,7 +5,7 @@
 Summary:        Adapts OpenSceneGraph to use OpenAL++
 
 Group:          System Environment/Libraries
-License:        LGPL
+License:        LGPLv2+
 URL:            http://www.vrlab.umu.se/research/osgAL
 Source0:        http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -24,9 +24,8 @@
 %package devel
 Summary:        Library development files for osgal
 Group:          Development/Libraries
-Requires:       %{name} = %{version}-%{release}
-Requires:       OpenSceneGraph-devel OpenThreads-devel
-Requires:       openal-devel freealut-devel libvorbis-devel
+Requires:       %{name} = %{epoch}:%{version}-%{release}
+Requires:       OpenThreads-devel openal-devel freealut-devel libvorbis-devel
 
 %description devel
 This package contains headers and libraries required to build applications
@@ -34,13 +33,17 @@
 
 
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q
 sed -i -e 's/^\(CXXFLAGS="[^"]*\)/\1 $CXXFLAGS/' configure.in
-chmod -x {include,src}/osg*/*
 autoreconf --force --install
 
-# Fix rpmlint errors
+# Fix rpmlint warnings
+chmod -x {include,src}/osg*/*
 chmod -x AUTHORS COPYING NEWS README
+iconv -f iso8859-1 -t utf-8 AUTHORS > AUTHORS.conv && mv -f AUTHORS.conv AUTHORS
+iconv -f iso8859-1 -t utf-8 NEWS > NEWS.conv && mv -f NEWS.conv NEWS
+iconv -f iso8859-1 -t utf-8 README > README.conv && mv -f README.conv README
+sed -i 's/\r//' AUTHORS NEWS README doc/*html
 
 
 %build
@@ -84,10 +87,11 @@
 
 
 %changelog
-* Sat Sep 29 2007 Christopher Stone <chris.stone at gmail.com> 0.6.1-1
+* Sat Sep 29 2007 Christopher Stone <chris.stone at gmail.com> 1:0.6.1-1
 - Upstream sync
 - Move openalpp-devel Requires to this package
 - Obsolete/Provides openalpp
+- Fix up some rpmlint warnings
 
 * Sun Feb 04 2007 Christopher Stone <chris.stone at gmail.com> 20060903-3
 - Fix setting of CFLAGS in configure.in bug #227290




More information about the scm-commits mailing list