forked from pool/python-vobject
Accepting request 651601 from home:frispete:python
- update to version 0.9.6.1:
* Revert too-strict serialization of timestamp values
- broke too many other implementations
- update to version 0.9.6:
* Correctly order calendar properties before calendar components
(#98)
* Pass correct formatting string to logger (#102)
- thanks @CruzR!
* RRULE: Fix floating UNTIL with dateutil > 2.6.1 (#115)
- thanks @Unrud!
* Encode params if necessary in serialization (#109)
- thanks @matthias-k!
* Ignore escaped semi-colons in UNTIL value (#114)
- thanks @Unrud!
* RRULE: Fix VTODO without DTSTART (#116)
- thanks @Unrud!
* Fixed regexp for VCF Version 2.1 (#121)
- thanks @farmovit!
* repr changed for datetime.timedelta in python 3.7 (#122)
- thanks @sharkcz!
- enable testing
OBS-URL: https://build.opensuse.org/request/show/651601
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vobject?expand=0&rev=7
This commit is contained in:
@@ -12,14 +12,16 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
|
||||
Name: python-vobject
|
||||
%global modname vobject
|
||||
Version: 0.9.6
|
||||
Version: 0.9.6.1
|
||||
Release: 0
|
||||
Summary: Python package for parsing and creating iCalendar and vCard files
|
||||
License: Apache-2.0
|
||||
@@ -64,6 +66,11 @@ for p in change_tz ics_diff ; do
|
||||
done
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_exec tests.py
|
||||
%endif
|
||||
|
||||
%post
|
||||
%python_install_alternative change_tz
|
||||
%python_install_alternative ics_diff
|
||||
@@ -74,7 +81,8 @@ done
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root)
|
||||
%doc ACKNOWLEDGEMENTS.txt LICENSE-2.0.txt README.md
|
||||
%license LICENSE-2.0.txt
|
||||
%doc ACKNOWLEDGEMENTS.txt README.md
|
||||
%python_alternative %{_bindir}/change_tz
|
||||
%python_alternative %{_bindir}/ics_diff
|
||||
%{python_sitelib}/%{modname}/
|
||||
|
||||
Reference in New Issue
Block a user