[mercator] Make the files specs more flexible.

Bruno Wolff III bruno at fedoraproject.org
Sun May 15 18:01:53 UTC 2011


commit d1656f04dc7f7749091858956e8cbe9d88f94c34
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Sun May 15 12:11:50 2011 -0500

    Make the files specs more flexible.
    
    The previous files specs had version dependcies and broke between
    0.2.7 and 0.3.0. The new specs should work for either (and hopefully
    be more future proof).

 mercator.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/mercator.spec b/mercator.spec
index 1598ac7..3711a70 100644
--- a/mercator.spec
+++ b/mercator.spec
@@ -1,6 +1,6 @@
 Name:           mercator
 Version:        0.3.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Terrain library for WorldForge client/server
 
 Group:          Development/Libraries
@@ -65,18 +65,21 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING README TODO
-%{_libdir}/lib%{name}-0.2.so.*
+%{_libdir}/lib%{name}-*.so.*
 
 
 %files devel
 %defattr(-,root,root,-)
 %doc doc/html/*
-%{_includedir}/Mercator-0.2
-%{_libdir}/lib%{name}-0.2.so
+%{_includedir}/Mercator-*
+%{_libdir}/lib%{name}-*.so
 %{_libdir}/pkgconfig/*.pc
 
 
 %changelog
+* Sun May 15 2011 Bruno Wolff III <bruno at wolff.to> - 0.3.0-2
+- Adjust the files spec to be less version dependent
+
 * Sun May 15 2011 Bruno Wolff III <bruno at wolff.to> - 0.3.0-1
 - Upstream update to 0.3.0
 


More information about the scm-commits mailing list