rebuilt for python3 and with distdeps [release 0.9.6.1-2mamba;Wed Aug 10 2022]
This commit is contained in:
parent
89db2d9acb
commit
0cbbdb0407
@ -1,6 +1,7 @@
|
||||
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||
Name: python-vobject
|
||||
Version: 0.9.6.1
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: A Python iCalendar library
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -10,15 +11,20 @@ URL: http://vobject.skyhouseconsulting.com/
|
||||
Source: https://pypi.debian.net/vobject/vobject-%{version}.tar.gz
|
||||
License: Apache License 2.0
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: python3.7dist(python-dateutil)
|
||||
BuildRequires: python3.7dist(setuptools)
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libpython-devel
|
||||
Requires: python >= %python_version
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
vobject is intended to be a full featured Python package for parsing and generating vCard and vCalendar files.
|
||||
|
||||
%if 0%{?with_pyver}
|
||||
%pyver_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n vobject-%{version}
|
||||
|
||||
@ -35,12 +41,18 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
--single-version-externally-managed \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%files -f %{name}.filelist
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
|
||||
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
||||
%doc LICENSE-2.0.txt
|
||||
|
||||
%changelog
|
||||
* Wed Aug 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6.1-2mamba
|
||||
- rebuilt for python3 and with distdeps
|
||||
|
||||
* Fri Sep 07 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6.1-1mamba
|
||||
- update to 0.9.6.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user