29c896
%global modname smmap
29c896
29c896
Name:           python-%{modname}
1dfb58
Version:        2.0.3
70dbcb
Release:        8%{?dist}
Jesse Keating 24275d
Summary:        Sliding window memory map manager
Jesse Keating 24275d
Jesse Keating 24275d
License:        BSD
29c896
URL:            https://github.com/gitpython-developers/smmap
29c896
Source0:        %{url}/archive/v%{version}/%{modname}-%{version}.tar.gz
29c896
Jesse Keating 24275d
BuildArch:      noarch
Jesse Keating 24275d
29c896
%global _description \
29c896
Smmap wraps an interface around mmap and tracks the mapped files as well as\
29c896
the amount of clients who use it. If the system runs out of resources,\
29c896
or if a memory limit is reached, it will automatically unload unused maps\
29c896
to allow continued operation.
Jesse Keating 24275d
29c896
%description %{_description}
a0a377
29c896
%package -n python3-%{modname}
29c896
Summary:        %{summary}
29c896
%{?python_provide:%python_provide python3-%{modname}}
29c896
BuildRequires:  python3-devel
29c896
BuildRequires:  python3-setuptools
29c896
BuildRequires:  python3-nose
29c896
29c896
%description -n python3-%{modname} %{_description}
29c896
29c896
Python 3 version.
29c896
29c896
%prep
29c896
%autosetup -n %{modname}-%{version}
Jesse Keating 24275d
Jesse Keating 24275d
%build
29c896
%py3_build
Jesse Keating 24275d
29c896
%install
29c896
%py3_install
Jesse Keating 24275d
Jesse Keating 24275d
%check
29c896
nosetests-%{python3_version} -v
Jesse Keating 24275d
29c896
%files -n python3-%{modname}
29c896
%{python3_sitelib}/%{modname}2-*.egg-info/
29c896
%{python3_sitelib}/%{modname}/
Jesse Keating 24275d
Jesse Keating 24275d
%changelog
70dbcb
* Fri Aug 16 2019 Miro Hron훾ok <mhroncok@redhat.com> - 2.0.3-8
70dbcb
- Rebuilt for Python 3.8
70dbcb
322691
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-7
322691
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
322691
26ebf3
* Wed Jul 03 2019 Miro Hron훾ok <mhroncok@redhat.com> - 2.0.3-6
26ebf3
- Subpackage python2-smmap has been removed
26ebf3
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
26ebf3
10a78e
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-5
10a78e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
10a78e
fd43a0
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-4
fd43a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
fd43a0
d522cf
* Sun Jun 17 2018 Miro Hron훾ok <mhroncok@redhat.com> - 2.0.3-3
d522cf
- Rebuilt for Python 3.7
d522cf
e20ad4
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-2
e20ad4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e20ad4
1dfb58
* Tue Aug 08 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.3-1
1dfb58
- Update to 2.0.3
1dfb58
a187de
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-3
a187de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a187de
100d1f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2
100d1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
100d1f
29c896
* Wed Dec 28 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.1-1
29c896
- Update to 2.0.1
29c896
- Modernize spec
29c896
15ed3b
* Mon Dec 19 2016 Miro Hron훾ok <mhroncok@redhat.com> - 0.9.0-7
15ed3b
- Rebuild for Python 3.6
15ed3b
319436
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-6
319436
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
319436
07aa47
* Thu Apr 28 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 0.9.0-5
07aa47
- Remove non-portable test (#1285641)
07aa47
d0afd6
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-4
d0afd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d0afd6
f0d30d
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-3
f0d30d
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
f0d30d
9dc00f
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-2
9dc00f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9dc00f
a0a377
* Wed May 27 2015 Dennis Gilmore <dennis@ausil.us> - 0.9.0-1
a0a377
- update to 0.9.0
a0a377
- enable python3 support
a0a377
ea4ceb
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-8
ea4ceb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ea4ceb
2420f1
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-7
2420f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2420f1
ae0b89
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-6
ae0b89
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ae0b89
f3d10e
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-5
f3d10e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f3d10e
4194bb
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-4
4194bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4194bb
Jesse Keating 24275d
* Sat Sep 24 2011 Jesse Keating <jkeating@redhat.com> - 0.8.1-3
Jesse Keating 24275d
- Don't package tests
Jesse Keating 24275d
Jesse Keating 24275d
* Sat Sep 24 2011 Jesse Keating <jkeating@redhat.com> - 0.8.1-2
Jesse Keating 24275d
- Updated summary, use specific files section, add a check section
Jesse Keating 24275d
Jesse Keating 24275d
* Sat Sep 24 2011 Jesse Keating <jkeating@redhat.com> - 0.8.1-1
Jesse Keating 24275d
- First package attempt
Jesse Keating 24275d