Compare commits

..

No commits in common. "993eb0024469ab5a1e89764f926c9ca44a85794e" and "5348746b1f7f1141a99a2ef67a38c033859e80bf" have entirely different histories.

4 changed files with 18 additions and 20 deletions

BIN
olefile-0.46.zip Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +1,6 @@
Name: python-olefile
Version: 0.47
Release: 1
Version: 0.46
Release: 2
Summary: This Python package is used to parse, read and write Microsoft OLE2 files
License: BSD
URL: https://pypi.python.org/pypi/olefile/
@ -13,6 +13,14 @@ such as Microsoft Office 97-2003 documents, vbaProject.bin in MS Office 2007+ fi
Image Composer and FlashPix files, Outlook messages, StickyNotes, several \
Microscopy file formats, McAfee antivirus quarantine files, etc.
%package -n python2-olefile
Summary: This Python package is used to parse, read and write Microsoft OLE2 files.
BuildRequires: python2-devel
%{?python_provide: %python_provide python2-olefile}
%description -n python2-olefile
Python2 version.
%package -n python%{python3_pkgversion}-olefile
Summary: This Python package is used to parse, read and write Microsoft OLE2 files.
BuildRequires: python%{python3_pkgversion}-devel
@ -25,14 +33,20 @@ Python3 version.
%autosetup -p1 -n olefile-%{version}
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%check
PYTHONPATH=%{buildroot}%{python3_sitelib} \
%{__python3} tests/test_olefile.py
%files -n python2-olefile
%doc README.md
%license doc/License.rst
%{python2_sitelib}/olefile-*.egg-info
%{python2_sitelib}/olefile/
%files -n python%{python3_pkgversion}-olefile
%doc README.md
@ -42,17 +56,5 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
%changelog
* Mon Feb 05 2024 zhouwenpei <zhouwenpei1@h-partners.com> - 0.47-1
- update to 0.47
* Wed Oct 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 0.46-5
- Rebuild for next release
* Sat Dec 5 2020 yanglongkang <yanglongkang@huawei.com> - 0.46-4
- Add make check
* Fri Oct 30 2020 yanglongkang <yanglongkang@huawei.com> - 0.46-3
- remove python2 dependency
* Thu Dec 12 2019 Senlin Xia <xiasenlin1@huawei.com> - 0.46-2
- Package init

View File

@ -1,4 +0,0 @@
version_control: pypi
src_repo: olefile
tag_prefix: ^v
seperator: .