21b6a75
%{!?python_sitelib_platform: %define python_sitelib_platform %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
c186916
21b6a75
21b6a75
Summary: A fast metadata parser for yum
21b6a75
Name: yum-metadata-parser
Seth Vidal 4a1831c
Version: 1.1.4
36ec5aa
Release: 21%{?dist}
21b6a75
Source0: http://linux.duke.edu/projects/yum/download/%{name}/%{name}-%{version}.tar.gz
aa6cdcb
Source1: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
James Antill 0ed5e62
Patch0: BZ-612409-handle-2GB-rpms.patch
James Antill ef640fe
Patch1: UPSTREAM-py-3-split.patch
James Antill ef640fe
Patch2: UPSTREAM-weak-deps.patch
James Antill 0f4de4e
Patch3: UPSTREAM-index-weak-deps.patch
James Antill 0f4de4e
Patch4: UPSTREAM-fix-minor-mem-leak.patch
Seth Vidal ab45d39
License: GPLv2
21b6a75
Group: Development/Libraries
21b6a75
URL: http://linux.duke.edu/projects/yum/
853c98d
Conflicts: yum < 3.2.0
21b6a75
BuildRequires: python-devel
21b6a75
BuildRequires: glib2-devel
21b6a75
BuildRequires: libxml2-devel
21b6a75
BuildRequires: sqlite-devel
21b6a75
BuildRequires: pkgconfig
Seth Vidal a37d2aa
Requires: glib2 >= 2.15
21b6a75
21b6a75
%description
21b6a75
Fast metadata parser for yum implemented in C.
21b6a75
21b6a75
%prep
df59829
%setup -q
James Antill 0ed5e62
%patch0 -p1
James Antill ef640fe
%patch1 -p1
James Antill ef640fe
%patch2 -p1
James Antill 0f4de4e
%patch3 -p1
James Antill 0f4de4e
%patch4 -p1
21b6a75
aa6cdcb
cp %{SOURCE1} .
aa6cdcb
21b6a75
%build
21b6a75
%{__python} setup.py build
21b6a75
21b6a75
%install
f63931e
%{__rm} -rf %{buildroot}
21b6a75
%{__python} setup.py install -O1 --root=%{buildroot}
21b6a75
21b6a75
%files
519de06
%defattr(-,root,root,-)
aa6cdcb
%{!?_licensedir:%global license %%doc}
aa6cdcb
%license gpl-2.0.txt
21b6a75
%doc README AUTHORS ChangeLog
21b6a75
%{python_sitelib_platform}/_sqlitecache.so
21b6a75
%{python_sitelib_platform}/sqlitecachec.py
21b6a75
%{python_sitelib_platform}/sqlitecachec.pyc
21b6a75
%{python_sitelib_platform}/sqlitecachec.pyo
57ad8a7
%{python_sitelib_platform}/*egg-info
c186916
21b6a75
%changelog
36ec5aa
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-21
36ec5aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
36ec5aa
cd16a34
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-20
cd16a34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
cd16a34
6aeea52
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-19
6aeea52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6aeea52
83f56c7
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-18
83f56c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
83f56c7
daf2068
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-17
daf2068
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
daf2068
dd624b9
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-16
dd624b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
dd624b9
36471c9
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-15
36471c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
36471c9
c839a87
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-14
c839a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c839a87
aa6cdcb
* Wed Aug  6 2014 Tom Callaway <spot@fedoraproject.org> - 1.1.4-13
aa6cdcb
- fix license handling
aa6cdcb
ba1d3e9
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-12
ba1d3e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ba1d3e9
James Antill 0f4de4e
* Tue Apr  8 2014 James Antill <james at fedoraproject.org> 1.1.4-11
James Antill 0f4de4e
- Add indexes to weak dep. tables.
James Antill 0f4de4e
- Fix minor memory leak.
James Antill 0f4de4e
James Antill f5fa35a
* Mon Mar 10 2014 James Antill <james at fedoraproject.org> 1.1.4-10
James Antill ef640fe
- Add py3 build support.
James Antill ef640fe
- Add weak deps.
James Antill ef640fe
9a85c36
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-9
9a85c36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9a85c36
ea424b2
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-8
ea424b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ea424b2
a05dfd3
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-7
a05dfd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a05dfd3
c38feff
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-6
c38feff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c38feff
James Antill 6a243a8
* Thu Feb 24 2011 James Antill <james at fedoraproject.org> 1.1.4-5
James Antill d623e88
- Really handle rpms that are over 2GB, in the .xml to .sqlite conversion.
James Antill d623e88
- Resolves: bz#612409
James Antill d623e88
50354fc
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-4
50354fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
50354fc
James Antill 0ed5e62
* Fri Sep 10 2010 James Antill <james at fedoraproject.org> 1.1.4-3
James Antill 0ed5e62
- Handle rpms that are over 2GB, in the .xml to .sqlite conversion.
James Antill 0ed5e62
- Resolves: bz#612409
James Antill 0ed5e62
b1fbd55
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.1.4-2
b1fbd55
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
b1fbd55
Seth Vidal 4a1831c
* Thu Jan  7 2010 Seth Vidal <skvidal at fedoraproject.org> - 1.1.4-1
Seth Vidal 4a1831c
- update to upstream 1.1.4 - which is really just all of these patches rolled into a release
Seth Vidal 4a1831c
Seth Vidal 1b51faf
* Tue Aug 18 2009 Seth Vidal <skvidal at fedoraproject.org> - 1.1.2-14
Seth Vidal 1b51faf
- apply latest patches from upstream - consolidate into one big patch
Seth Vidal 1b51faf
- test before a 1.1.3 from upstream
Seth Vidal 1b51faf
04d110d
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-13
04d110d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
04d110d
45ab65e
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-12
45ab65e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
45ab65e
392e979
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.1.2-11
392e979
- Rebuild for Python 2.6
392e979
bc9f556
* Tue Oct 14 2008 James Antill <james at fedoraproject.org> 1.1.2-10
771635a
- Add delay indexes and no updates patches from upstream.
771635a
- Resolves: bug 465898
771635a
Seth Vidal df89d33
* Thu Feb 14 2008 Seth Vidal <skvidal at fedoraproject.org> 1.1.2-8
Seth Vidal df89d33
- bump for gcc 
Seth Vidal df89d33
Seth Vidal f3e9bc0
* Fri Jan 25 2008 Seth Vidal <skvidal at fedoraproject.org> 1.1.2-7
Seth Vidal f3e9bc0
- apply exclusive lock patch
Seth Vidal f3e9bc0
Seth Vidal a37d2aa
* Thu Jan 24 2008 Seth Vidal <skvidal at fedoraproject.org> 1.1.2-6
Seth Vidal a37d2aa
- add explicit dep on glib2 > 2.15
Seth Vidal a37d2aa
Seth Vidal b76dacf
* Tue Jan 22 2008 Seth Vidal <skvidal at fedoraproject.org> 1.1.2-5
Seth Vidal b76dacf
- rebuild
Seth Vidal b76dacf
57ad8a7
* Tue Jan 08 2008 James Bowes <jbowes@redhat.com> 1.1.2-4
57ad8a7
- egg-info is under the arch specific dir
57ad8a7
c186916
* Tue Jan 08 2008 James Bowes <jbowes@redhat.com> 1.1.2-3
c186916
- Include the egg-info dir.
c186916
Paul Nasrat 01442ac
* Tue Nov 27 2007 Paul Nasrat <pauln at truemesh.com> 1.1.2-2
Paul Nasrat 01442ac
- Fix segmentation fault with no pkgId
Paul Nasrat 01442ac
Seth Vidal 8919788
* Fri Aug 24 2007 Seth Vidal <skvidal at fedoraproject.org> 1.1.2-1
Seth Vidal 8919788
- 1.1.2-1
Seth Vidal 8919788
- hopefully fixes the mash issues
Seth Vidal 8919788
519de06
* Tue Jul 10 2007 James Bowes <jbowes@redhat.com>
519de06
- Use the 4 argument form of defattr
519de06
853c98d
* Mon Jul  9 2007 Jeremy Katz <katzj@redhat.com> 
853c98d
- conflict with yum < 3.2.0 (#247451)
853c98d
de864e8
* Tue May 15 2007 Jeremy Katz <katzj@redhat.com> - 1.1.0-2
de864e8
- export dbversion so that things like createrepo can discover it (#239938)
de864e8
d99db2a
* Fri Apr 27 2007 Jeremy Katz <katzj@redhat.com> - 1.1.0-1
d99db2a
- update to 1.1.0 for new sqlite db schema
d99db2a
b934369
* Wed Apr  4 2007 Jeremy Katz <katzj@redhat.com> - 1.0.4-1
b934369
- update to 1.0.4
b934369
f63931e
* Tue Feb 13 2007 James Bowes <jbowes@redhat.com> - 1.0.3-2
f63931e
- Spec file updates from the merge review: clean the buildroot.
f63931e
cd45ac5
* Mon Jan  8 2007 Jeremy Katz <katzj@redhat.com> - 1.0.3-1
cd45ac5
- update to 1.0.3
cd45ac5
a83ca62
* Wed Dec  6 2006 Jeremy Katz <katzj@redhat.com> - 1.0-9
a83ca62
- rebuild for python 2.5, support new sqlite
a83ca62
11999e7
* Wed Sep 27 2006 Jeremy Katz <katzj@redhat.com> - 1.0-8
11999e7
- fix dep loop
11999e7
11999e7
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 
d071f47
- rebuild
d071f47
Paul Nasrat c0d60cc
* Thu Jun 15 2006 Paul Nasrat <pnasrat@redhat.com> - 1.0-7
Paul Nasrat c0d60cc
- add patch to correct population of packages.location_base
Paul Nasrat c0d60cc
Paul Nasrat a625acb
* Wed Jun 14 2006 Paul Nasrat <pnasrat@redhat.com> - 1.0-6
Paul Nasrat a625acb
- add patch to correct table order of primary:files
Paul Nasrat a625acb
df59829
* Tue Jun 13 2006 Jeremy Katz <katzj@redhat.com> - 1.0-5
df59829
- add patch to be quieter so that we don't break tree composes
df59829
21b6a75
* Mon Jun 12 2006 Jeremy Katz <katzj@redhat.com> - 1.0-4
21b6a75
- urls, build into fedora
21b6a75
21b6a75
* Mon Jun 05 2006 Tambet Ingo <tambet@ximian.com> - 1.0-3
21b6a75
- Require yum >= 2.6.2
21b6a75
21b6a75
* Sat Jun 04 2006 Terje Rosten <terje.rosten@pvv.org> - 1.0-2
21b6a75
- add buildrequires
21b6a75
- doc files
21b6a75
- url
21b6a75
21b6a75
* Fri Jun 02 2006 Terje Rosten <terje.rosten@pvv.org> - 1.0-0.1
21b6a75
- initial package
21b6a75