From 45b08fd7bb6600fa24b09c0ba659dd329ba25cdace1187766d9937d36d0219dc Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 14 Oct 2013 11:55:14 +0000 Subject: [PATCH] Accepting request 203218 from home:scarabeus_iv - Version bump to 3.8.0.2-r1 to use latest sqlite queries. - Drop the macroed commands in favor of normal ones - Drop clean section - Write fully what documents go where. OBS-URL: https://build.opensuse.org/request/show/203218 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=6 --- apsw-3.7.8-r1.zip | 3 --- apsw-3.8.0.2-r1.zip | 3 +++ python-apsw.changes | 8 ++++++++ python-apsw.spec | 38 +++++++++++++------------------------- 4 files changed, 24 insertions(+), 28 deletions(-) delete mode 100644 apsw-3.7.8-r1.zip create mode 100644 apsw-3.8.0.2-r1.zip diff --git a/apsw-3.7.8-r1.zip b/apsw-3.7.8-r1.zip deleted file mode 100644 index 0967ad5..0000000 --- a/apsw-3.7.8-r1.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:818bb96680829c8dedb7db5453596e4f02dd7ad6e5b58e9e3b5f00e5c74a7ea4 -size 607540 diff --git a/apsw-3.8.0.2-r1.zip b/apsw-3.8.0.2-r1.zip new file mode 100644 index 0000000..4363593 --- /dev/null +++ b/apsw-3.8.0.2-r1.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f3da7dbc1c92b9962086de90d6c6ec5ce199ffcc9f4edca9f55ee62b27db61f0 +size 662335 diff --git a/python-apsw.changes b/python-apsw.changes index 4fea8a6..d1dce36 100644 --- a/python-apsw.changes +++ b/python-apsw.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Oct 14 11:46:39 UTC 2013 - tchvatal@suse.com + +- Version bump to 3.8.0.2-r1 to use latest sqlite queries. +- Drop the macroed commands in favor of normal ones +- Drop clean section +- Write fully what documents go where. + ------------------------------------------------------------------- Wed Oct 9 17:32:14 UTC 2013 - hrvoje.senjan@gmail.com diff --git a/python-apsw.spec b/python-apsw.spec index 146f105..d866547 100644 --- a/python-apsw.spec +++ b/python-apsw.spec @@ -18,10 +18,10 @@ Name: python-apsw -Version: 3.7.8+r1 +Version: 3.8.0.2_r1 Release: 0 -%define pkg_version 3.7.8-r1 -%define sqlite_version 3.7.8 +%define pkg_version 3.8.0.2-r1 +%define sqlite_version 3.7.16 Summary: Another Python SQLite Wrapper License: Zlib Group: Development/Libraries/Python @@ -46,7 +46,6 @@ engine. In contrast to other wrappers such as pysqlite it focuses on being a minimal layer over SQLite attempting just to translate the complete SQLite API into Python. -%if !0%{?nodoc} %package doc Summary: Another Python SQLite Wrapper - Documentation Group: Development/Libraries/Python @@ -56,41 +55,30 @@ APSW is a Python wrapper for the SQLite embedded relational database engine. In contrast to other wrappers such as pysqlite it focuses on being a minimal layer over SQLite attempting just to translate the complete SQLite API into Python. -%endif %prep %setup -q -n "apsw-%{pkg_version}" %build -CFLAGS="%{optflags} -fno-strict-aliasing" \ -%__python ./setup.py build +python setup.py build %install -%__python ./setup.py \ - install \ - --prefix="%{_prefix}" \ - --root="%{buildroot}" \ - --record-rpm=files.lst +python setup.py install --prefix=%{_prefix} --root=%{buildroot} +rm -f doc/.buildinfo -%__rm -f doc/.buildinfo +install -d "%{buildroot}%{_docdir}/%{name}" +cp -a doc/* "%{buildroot}%{_docdir}/%{name}/" -%__install -d "%{buildroot}%{_docdir}/%{name}" -%if !0%{?nodoc} -%__cp -a doc/* "%{buildroot}%{_docdir}/%{name}/" -%endif - -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} - -%files -f files.lst +%files %defattr(-,root,root) -%if !0%{?nodoc} -%dir %{_docdir}/%{name} +%doc doc/_sources/copyright.txt +%{python_sitearch}/apsw.so +%{python_sitearch}/apsw-%{version}-py%{py_ver}.egg-info +%exclude %{_docdir}/%{name} %files doc %defattr(-,root,root) %dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/* -%endif %changelog