[openchange] Fix install and files sections of spec file

Simo Sorce simo at fedoraproject.org
Fri Mar 25 22:45:39 UTC 2011


commit 522ec58db0f1bff7a7d45b368508791d8db94870
Author: Simo Sorce <ssorce at redhat.com>
Date:   Fri Mar 25 18:44:36 2011 -0400

    Fix install and files sections of spec file
    
    The new version has minor file differences that need specfile changes

 openchange.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/openchange.spec b/openchange.spec
index cb5f773..e471c7c 100644
--- a/openchange.spec
+++ b/openchange.spec
@@ -158,7 +158,8 @@ rm -r $RPM_BUILD_ROOT%{python_sitearch}/openchange
 #     libraries in OpenChange 0.9, so just delete them.
 rm $RPM_BUILD_ROOT%{_libdir}/libmapiserver.so.*
 rm $RPM_BUILD_ROOT%{_libdir}/libmapistore.so.*
-rm $RPM_BUILD_ROOT%{_libdir}/mapistore_backends/mapistore_sqlite3.so
+rm $RPM_BUILD_ROOT%{_libdir}/mapistore_backends/mapistore_fsocpf.so
+rm $RPM_BUILD_ROOT%{_libdir}/mapistore_backends/mapistore_mstoredb.so
 %endif
 
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/devhelp/books/openchange-libmapi
@@ -224,6 +225,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %{_bindir}/*
 %{_mandir}/man1/*
+%{_datadir}/mapitest/*
 
 %if %{build_python_package}
 %files python
@@ -236,7 +238,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %{_libdir}/libmapiserver.so.*
 %{_libdir}/libmapistore.so.*
-%{_libdir}/mapistore_backends/mapistore_sqlite3.so
+%{_libdir}/mapistore_backends/mapistore_fsocpf.so
+%{_libdir}/mapistore_backends/mapistore_mstoredb.so
 %endif
 
 %changelog
@@ -244,6 +247,8 @@ rm -rf $RPM_BUILD_ROOT
 - New snapshot that avoid bison issues.
 - Also add patch that fix build (previously erroneously preapplied in the
   snapshot tarball)
+- Fix timestamps in tarball
+- Fix specfile's install and files section to cope with newer version changes
 
 * Fri Mar 25 2011 Simo Sorce <ssorce at redhat.com> - 0.10.9-1
 - Upgrade to a 0.11 development snapshot.


More information about the scm-commits mailing list