From ec72a69bfccf70737f26e8dc621f3e88f2a3bc3a Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 26 May 2022 13:32:27 -0400 Subject: [PATCH] Auto sync2gitlab import of python-chardet-3.0.4-7.el8.src.rpm --- .gitignore | 1 + EMPTY | 1 - python-chardet.spec | 133 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 135 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 EMPTY create mode 100644 python-chardet.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0562fd3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/chardet-3.0.4.tar.gz diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/python-chardet.spec b/python-chardet.spec new file mode 100644 index 0000000..2d78937 --- /dev/null +++ b/python-chardet.spec @@ -0,0 +1,133 @@ +%global pypi_name chardet +Name: python-%{pypi_name} +Version: 3.0.4 +Release: 7%{?dist} +Summary: Character encoding auto-detection in Python + +Group: Development/Languages +License: LGPLv2 +URL: https://github.com/%{pypi_name}/%{pypi_name} +Source0: https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python3-devel, python3-setuptools + +%global _description\ +Character encoding auto-detection in Python. As\ +smart as your browser. Open source. + +%description %_description + +%package -n python3-%{pypi_name} +Summary: Character encoding auto-detection in Python 3 + +%description -n python3-%{pypi_name} +Character encoding auto-detection in Python. As +smart as your browser. Open source. + +Python 3 version. + +%prep +%setup -q -n %{pypi_name}-%{version} +sed -ie '1d' %{pypi_name}/cli/chardetect.py + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%{!?_licensedir:%global license %%doc} +%license LICENSE +%doc README.rst +%{python3_sitelib}/* +%{_bindir}/chardetect + + +%changelog +* Wed Jul 11 2018 Petr Viktorin - 3.0.4-7 +- Remove the Python 2 subpackage + https://bugzilla.redhat.com/show_bug.cgi?id=1590397 + +* Mon Jun 25 2018 Petr Viktorin - 3.0.4-6 +- Allow Python 2 for build + see https://hurl.corp.redhat.com/rhel8-py2 + +* Sun Feb 11 2018 Iryna Shcherbina - 3.0.4-5 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Fri Feb 09 2018 Fedora Release Engineering - 3.0.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 3.0.4-3 +- Python 2 binary package renamed to python2-chardet + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + +* Thu Jul 27 2017 Fedora Release Engineering - 3.0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Jun 20 2017 Jeremy Cline - 3.0.4-1 +- Update to 3.0.4 (#1441436) + +* Sat Feb 11 2017 Fedora Release Engineering - 2.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Dec 09 2016 Charalampos Stratakis - 2.3.0-2 +- Rebuild for Python 3.6 + +* Wed Jul 27 2016 Miro Hrončok - 2.3.0-1 +- Update to 2.3.0 (#1150536) + +* Tue Jul 19 2016 Fedora Release Engineering - 2.2.1-6 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Feb 04 2016 Fedora Release Engineering - 2.2.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Oct 14 2015 Robert Kuska - 2.2.1-4 +- Rebuilt for Python3.5 rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 2.2.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Jul 31 2014 Tom Callaway - 2.2.1-2 +- fix license handling + +* Wed Jul 02 2014 Miro Hrončok - 2.2.1-1 +- Updated to 2.2.1 +- Introduced Python 3 subpackage (upstream has merged the codebase) +- Removed BuildRoot and python_sitelib definition +- Use python2 macros instead of just python + +* Sat Jun 07 2014 Fedora Release Engineering - 2.0.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 2.0.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 2.0.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 2.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 2.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 2.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Jul 21 2010 David Malcolm - 2.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Wed Jan 13 2010 Kushal Das 2.0.1-1 +- New release + +* Sun Jul 26 2009 Fedora Release Engineering - 1.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Aug 04 2008 Kushal Das 1.0.1-1 +- Initial release + diff --git a/sources b/sources new file mode 100644 index 0000000..53fca90 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (chardet-3.0.4.tar.gz) = 61a03b23447a2bfe52ceed4dd1b9afdb5784da1933a623776883ee9f297e341f633e27f0ce0230bd5fdc5fdb5382105ab42736a74a417ddeb9f83af57455dba5