changeset 307:db6db9a26a19

filter private provides from rpm
author Carl Byington <carl@five-ten-sg.com>
date Mon, 24 Dec 2012 16:26:39 -0800
parents 968a48a651af
children c4537664ff50
files libpst.spec.in src/pst2dii.cpp.in
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpst.spec.in	Thu Aug 09 12:08:59 2012 -0700
+++ b/libpst.spec.in	Mon Dec 24 16:26:39 2012 -0800
@@ -1,7 +1,7 @@
 Summary:            Utilities to convert Outlook .pst files to other formats
 Name:               @PACKAGE@
 Version:            @VERSION@
-Release:            2%{?dist}
+Release:            3%{?dist}
 License:            GPLv2+
 Group:              Applications/Productivity
 Source:             http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz
@@ -38,6 +38,8 @@
 Requires:           python
 Requires:           %{name}-libs = %{version}-%{release}
 
+%filter_provides_in %{python_sitearch}/_*.so
+
 %description python
 The libpst-python package allows you to use the libpst shared object
 from python code.
@@ -147,6 +149,9 @@
 
 
 %changelog
+* Mon Dec 24 2012 Carl Byington <carl@five-ten-sg.com> - 0.6.55-3
+- filter private provides from rpm
+
 * Tue Aug 09 2012 Carl Byington <carl@five-ten-sg.com> - 0.6.55-2
 - rebuild for python
 
--- a/src/pst2dii.cpp.in	Thu Aug 09 12:08:59 2012 -0700
+++ b/src/pst2dii.cpp.in	Mon Dec 24 16:26:39 2012 -0800
@@ -180,7 +180,7 @@
     DEBUG_INFO(("dirname=%s, pathname=%s, filename=%s\n", output_directory, f_name, attach_filename));
     int len = strlen(output_directory) + 1 + strlen(f_name) + 15;
     if (!attach_filename) {
-        // generate our own (dummy) filename for the attachement
+        // generate our own (dummy) filename for the attachment
         temp = (char*)pst_malloc(len);
         sprintf(temp, "%s/%s_attach%i", output_directory, f_name, attach_num);
     } else {