6917569 CVE-2008-5824 libaudiofile contains heap-based buffer overflow in msadpcm.c
Committing for Rohini because of svn issues on opensolaris2009.06 branch.
#
# spec file for package SUNWpysqlite
#
# Copyright 2008 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Owner: dkenny
#
%include Solaris.inc
%define pythonver 2.4
Name: SUNWpysqlite
Summary: Python DB-API 2.0 interface for the SQLite
%define
%define major_version 2.4
Version: %{major_version}.1
Source: http://initd.org/pub/software/pysqlite/releases/%{major_version}/%{version}/pysqlite-%{version}.tar.gz
SUNW_BaseDir: %{_basedir}
SUNW_Copyright: %{name}.copyright
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: SUNWPython
Requires: SUNWsqlite3
BuildRequires: SUNWPython-devel
BuildRequires: SUNWsqlite3
BuildRequires: SUNWpython-setuptools
%include default-depend.inc
%prep
%setup -q -n pysqlite-%version
%build
python setup.py build \
--build-base=$RPM_BUILD_ROOT%{_prefix}
%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
# move to vendor-packages
mkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages
mv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages/* \
$RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages/
rmdir $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages
rm -rf $RPM_BUILD_ROOT%{_prefix}/pysqlite2-doc
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-, root, bin)
%dir %attr(0755, root, bin) %{_prefix}/lib/python2.4
%dir %attr(0755, root, bin) %{_prefix}/lib/python2.4/vendor-packages
%dir %attr(0755, root, bin) %{_prefix}/lib/python2.4/vendor-packages/pysqlite2
%{_prefix}/lib/python2.4/vendor-packages/pysqlite2/*
%doc LICENSE PKG-INFO
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, other) %{_datadir}/doc
%changelog
* Tue Nov 18 2008 - [email protected]
- Fix installation directory problem.
* Tue Sep 16 2008 - [email protected]
- Update copyright
* Tue Mar 11 2008 - [email protected]
- Change SUNWsqlite3-devel reference to SUNWsqlite3.
* Tue Feb 12 2008 - [email protected]
- Change SFEsqlite require to SUNWsqlite.
* Tue Feb 12 2008 - [email protected]
- initial version