diff --git a/.python-smmap.metadata b/.python-smmap.metadata new file mode 100644 index 0000000..f3e4181 --- /dev/null +++ b/.python-smmap.metadata @@ -0,0 +1 @@ +7cbe384fe637639e7a47aae85dba5dcf8e82d2d6 SOURCES/smmap-3.0.1.tar.gz diff --git a/SPECS/python-smmap.spec b/SPECS/python-smmap.spec new file mode 100644 index 0000000..526ac3e --- /dev/null +++ b/SPECS/python-smmap.spec @@ -0,0 +1,148 @@ +%global modname smmap + +Name: python-%{modname} +Version: 3.0.1 +Release: 4%{?dist} +Summary: Sliding window memory map manager + +License: BSD +URL: https://github.com/gitpython-developers/smmap +Source0: %{url}/archive/v%{version}/%{modname}-%{version}.tar.gz + +BuildArch: noarch + +%global _description \ +Smmap wraps an interface around mmap and tracks the mapped files as well as\ +the amount of clients who use it. If the system runs out of resources,\ +or if a memory limit is reached, it will automatically unload unused maps\ +to allow continued operation. + +%description %{_description} + +%package -n python3-%{modname} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{modname}} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-nose + +%description -n python3-%{modname} %{_description} + +Python 3 version. + +%prep +%autosetup -n %{modname}-%{version} + +%build +%py3_build + +%install +%py3_install + +%check +nosetests-%{python3_version} -v + +%files -n python3-%{modname} +%{python3_sitelib}/%{modname}-*.egg-info/ +%{python3_sitelib}/%{modname}/ + +%changelog +* Wed Jan 27 2021 Fedora Release Engineering - 3.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 3.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat May 23 2020 Miro Hrončok - 3.0.1-2 +- Rebuilt for Python 3.9 + +* Mon Feb 24 2020 Lubomír Sedlář - 3.0.1-1 +- New upstream release 3.0.1 + +* Thu Jan 30 2020 Fedora Release Engineering - 2.0.3-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 2.0.3-9 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Fri Aug 16 2019 Miro Hrončok - 2.0.3-8 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 2.0.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Jul 03 2019 Miro Hrončok - 2.0.3-6 +- Subpackage python2-smmap has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Sat Feb 02 2019 Fedora Release Engineering - 2.0.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 2.0.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sun Jun 17 2018 Miro Hrončok - 2.0.3-3 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Fedora Release Engineering - 2.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Aug 08 2017 Igor Gnatenko - 2.0.3-1 +- Update to 2.0.3 + +* Thu Jul 27 2017 Fedora Release Engineering - 2.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 2.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Dec 28 2016 Igor Gnatenko - 2.0.1-1 +- Update to 2.0.1 +- Modernize spec + +* Mon Dec 19 2016 Miro Hrončok - 0.9.0-7 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 0.9.0-6 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Apr 28 2016 Yaakov Selkowitz - 0.9.0-5 +- Remove non-portable test (#1285641) + +* Thu Feb 04 2016 Fedora Release Engineering - 0.9.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Nov 10 2015 Fedora Release Engineering - 0.9.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Thu Jun 18 2015 Fedora Release Engineering - 0.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed May 27 2015 Dennis Gilmore - 0.9.0-1 +- update to 0.9.0 +- enable python3 support + +* Sat Jun 07 2014 Fedora Release Engineering - 0.8.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 0.8.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.8.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 0.8.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 0.8.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sat Sep 24 2011 Jesse Keating - 0.8.1-3 +- Don't package tests + +* Sat Sep 24 2011 Jesse Keating - 0.8.1-2 +- Updated summary, use specific files section, add a check section + +* Sat Sep 24 2011 Jesse Keating - 0.8.1-1 +- First package attempt +