Compare commits
10 Commits
d60634b827
...
0f0086685c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f0086685c | ||
|
|
ecc3b7be3b | ||
|
|
e8a050d803 | ||
|
|
02a9a14e9f | ||
|
|
ff9f6d05c0 | ||
|
|
ad53715f7c | ||
|
|
8a9cbcc4c5 | ||
|
|
12d1bf0041 | ||
|
|
4649ae1c61 | ||
|
|
c9cb210c48 |
Binary file not shown.
BIN
dict2xml-1.7.3.tar.gz
Normal file
BIN
dict2xml-1.7.3.tar.gz
Normal file
Binary file not shown.
@ -1,43 +1,66 @@
|
|||||||
%global pypi_name dict2xml
|
%global _empty_manifest_terminate_build 0
|
||||||
|
Name: python-dict2xml
|
||||||
|
Version: 1.7.3
|
||||||
|
Release: 2
|
||||||
|
Summary: Super Simple utility to convert a python dictionary into an xml string
|
||||||
|
License: MIT
|
||||||
|
URL: http://github.com/delfick/python-dict2xml
|
||||||
|
Source0: https://files.pythonhosted.org/packages/59/19/2e36329ad47671bd3701cf5dbb94b09fdc407d9635c75131f200ee6ec7dc/dict2xml-1.7.3.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
BuildRequires: python3-pip python3-hatchling python3-hatch-vcs python3-wheel
|
||||||
Version: 1.6.1
|
|
||||||
Release: 1
|
|
||||||
Summary: Super Simple utility to convert a python dictionary into an xml string
|
|
||||||
License: MIT
|
|
||||||
URL: https://github.com/delfick/python-dict2xml
|
|
||||||
Source0: https://files.pythonhosted.org/packages/ed/28/b169ce37d415e5c924fa4f2b157b051ef9fa5ab25ae94db192f19dd9c6b1/%{pypi_name}-%{version}.tar.gz
|
|
||||||
BuildArch: noarch
|
|
||||||
BuildRequires: python3-devel
|
|
||||||
|
|
||||||
%global _description \
|
%description
|
||||||
Super Simple utility to convert a python dictionary into an xml string.
|
Super Simple utility to convert a python dictionary into an xml string.
|
||||||
|
|
||||||
%description %{_description}
|
%package -n python3-dict2xml
|
||||||
|
Summary: Super Simple utility to convert a python dictionary into an xml string
|
||||||
|
Provides: python-dict2xml = %{version}-%{release}
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
|
||||||
%package -n python3-%{pypi_name}
|
%description -n python3-dict2xml
|
||||||
Summary: %{summary}
|
Super Simple utility to convert a python dictionary into an xml string.
|
||||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
||||||
|
|
||||||
%description -n python3-%{pypi_name} %{_description}
|
%package help
|
||||||
|
Summary: Development documents and examples for dict2xml
|
||||||
|
Provides: python3-dict2xml-doc
|
||||||
|
|
||||||
|
%description help
|
||||||
|
Super Simple utility to convert a python dictionary into an xml string.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pypi_name}-%{version}
|
%autosetup -n dict2xml-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install dict2xml==%{version}
|
||||||
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
|
||||||
%check
|
%files -n python3-dict2xml
|
||||||
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%files -n python3-%{pypi_name}
|
%files help
|
||||||
%license LICENSE
|
%{_docdir}/*
|
||||||
%doc README.rst
|
|
||||||
%{python3_sitelib}/%{pypi_name}/
|
|
||||||
%{python3_sitelib}/%{pypi_name}-*.egg-info/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 26 2023 xu_ping <707078654@qq.com> - 1.7.3-2
|
||||||
|
- Adapting to the pyproject.toml compilation mode
|
||||||
|
|
||||||
|
* Mon Mar 20 2023 wubijie <wubijie@kylinos.cn> - 1.7.3-1
|
||||||
|
- Update package to version 1.7.3
|
||||||
|
|
||||||
|
* Tue Nov 08 2022 wangjunqi <wangjunqi@kylinos.cn> - 1.7.2-1
|
||||||
|
- Update package to version 1.7.2
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 liudabo <liudabo1@huawei.com> - 1.7.0-1
|
||||||
|
- upgrade version to 1.7.0
|
||||||
|
|
||||||
* Tue Nov 5 2019 shanshishi <shanshishi@huawei.com> - 1.6.1-1
|
* Tue Nov 5 2019 shanshishi <shanshishi@huawei.com> - 1.6.1-1
|
||||||
- Init package
|
- Init package
|
||||||
|
|
||||||
|
|||||||
4
python-dict2xml.yaml
Normal file
4
python-dict2xml.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: pypi
|
||||||
|
src_repo: dict2xml
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user