Fix to actually make it work.
authorDavid Schleef <ds@schleef.org>
Thu, 5 Jun 2003 22:12:45 +0000 (22:12 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 5 Jun 2003 22:12:45 +0000 (22:12 +0000)
comedilib.spec.in

index b1a6b977bcb12993aa4aa568dbc0b80a796de246..3369484b60fcac3bab3988022ccc0edd75f0609a 100644 (file)
@@ -5,7 +5,7 @@ Release: 1
 License: LGPL
 Group: System Environment/Kernel
 URL: http://www.comedi.org/
-Source: http://www.comedi.org/comedi/download/comedilib-0.7.19.tgz
+Source: http://www.comedi.org/comedi/download/comedilib-@VERSION@.tar.gz
 BuildRoot: /var/tmp/%{name}-buildroot
 Prereq: /sbin/ldconfig
 BuildRequires: python
@@ -47,7 +47,7 @@ make
 
 # Clean out files that should not be part of the rpm. 
 # This is the recommended way of dealing with it for RH8
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
+#rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
 # Move files
@@ -65,7 +65,7 @@ mv $RPM_BUILD_ROOT%{_datadir}/comedilib $RPM_BUILD_ROOT%{_datadir}/comedilib-dev
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING README TODO ChangeLog NEWS
-%{_libdir}/libcomedi0.so
+%{_libdir}/libcomedi.so
 %{_libdir}/libcomedi.so.*
 %{_libdir}/python2.2/site-packages/*.so
 %{_libdir}/python2.2/site-packages/comedi.py
@@ -82,9 +82,9 @@ mv $RPM_BUILD_ROOT%{_datadir}/comedilib $RPM_BUILD_ROOT%{_datadir}/comedilib-dev
 %{_datadir}/comedilib-devel/html/*
 
 %changelog
-* Wed Feb 21 2002 Tim Ousley <tim.ousley@ni.com>
-- initial build of comedilib RPM
-
 * Tue Jun 03 2002 David Schleef <ds@schleef.org>
 - update for new build system
 
+* Wed Feb 21 2002 Tim Ousley <tim.ousley@ni.com>
+- initial build of comedilib RPM
+