[PyPAM] 658955 - fix two bugs in the PAM object deallocation

Miroslav Suchý msuchy at fedoraproject.org
Wed Jan 19 09:12:59 UTC 2011


commit c74fcee91f20eb55bde418a1a4be94428a23ebda
Author: Miroslav Suchý <msuchy at redhat.com>
Date:   Wed Jan 19 10:12:20 2011 +0100

    658955 - fix two bugs in the PAM object deallocation

 PyPAM.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/PyPAM.spec b/PyPAM.spec
index f6cf887..0cd53ef 100644
--- a/PyPAM.spec
+++ b/PyPAM.spec
@@ -6,10 +6,11 @@
 Summary:        PAM bindings for Python
 Name:           PyPAM
 Version:        0.5.0
-Release:        7%{?dist}
+Release:        8%{?dist}
 Source0:        http://www.pangalactic.org/PyPAM/%{name}-%{version}.tar.gz
 Url:            http://www.pangalactic.org/PyPAM
 Patch0:         PyPAM-dlopen.patch
+Patch1:         PyPAM-0.5.0-dealloc.patch
 License:        LGPLv2
 Group:          Development/Libraries
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -28,7 +29,7 @@ PAM (Pluggable Authentication Module) bindings for Python.
 rm -rf build dist
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -48,6 +49,10 @@ rm -rf $RPM_BUILD_ROOT
 %doc examples 
 
 %changelog
+* Wed Jan 19 2011 Miroslav Suchý <msuchy at redhat.com> 0.5.0-8
+- 658955 - fix two bugs in the PAM object deallocation
+- add -fno-strict-aliasing to CFLAGS
+
 * Thu Aug 05 2010 Miroslav Suchý <msuchy at redhat.com> 0.5.0-7
 - 612998 - PyPAM do not work with python3 (msuchy at redhat.com)
 


More information about the scm-commits mailing list