1 |
%{!?python_sitelib_platform: %define python_sitelib_platform %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} |
2 |
|
3 |
Summary: A fast metadata parser for yum |
4 |
Name: yum-metadata-parser |
5 |
Version: 1.1.0 |
6 |
Release: 2%{?dist} |
7 |
Source0: http://linux.duke.edu/projects/yum/download/%{name}/%{name}-%{version}.tar.gz |
8 |
Patch0: yum-metadata-parser-1.0-quiet.patch |
9 |
Patch1: yum-metadata-parser-1.1.0-dbversion.patch |
10 |
License: GPL |
11 |
Group: Development/Libraries |
12 |
URL: http://linux.duke.edu/projects/yum/ |
13 |
Conflicts: yum < 2.6.2 |
14 |
BuildRequires: python-devel |
15 |
BuildRequires: glib2-devel |
16 |
BuildRequires: libxml2-devel |
17 |
BuildRequires: sqlite-devel |
18 |
BuildRequires: pkgconfig |
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
20 |
|
21 |
%description |
22 |
Fast metadata parser for yum implemented in C. |
23 |
|
24 |
%prep |
25 |
%setup -q |
26 |
%patch0 -p1 |
27 |
%patch1 -p1 |
28 |
|
29 |
%build |
30 |
%{__python} setup.py build |
31 |
|
32 |
%install |
33 |
%{__rm} -rf %{buildroot} |
34 |
%{__python} setup.py install -O1 --root=%{buildroot} |
35 |
|
36 |
%clean |
37 |
%{__rm} -rf %{buildroot} |
38 |
|
39 |
%files |
40 |
%defattr(-,root,root) |
41 |
%doc README AUTHORS ChangeLog |
42 |
%{python_sitelib_platform}/_sqlitecache.so |
43 |
%{python_sitelib_platform}/sqlitecachec.py |
44 |
%{python_sitelib_platform}/sqlitecachec.pyc |
45 |
%{python_sitelib_platform}/sqlitecachec.pyo |
46 |
|
47 |
%changelog |
48 |
* Tue May 15 2007 Jeremy Katz <katzj@redhat.com> - 1.1.0-2 |
49 |
- export dbversion so that things like createrepo can discover it (#239938) |
50 |
|
51 |
* Fri Apr 27 2007 Jeremy Katz <katzj@redhat.com> - 1.1.0-1 |
52 |
- update to 1.1.0 for new sqlite db schema |
53 |
|
54 |
* Wed Apr 4 2007 Jeremy Katz <katzj@redhat.com> - 1.0.4-1 |
55 |
- update to 1.0.4 |
56 |
|
57 |
* Tue Feb 13 2007 James Bowes <jbowes@redhat.com> - 1.0.3-2 |
58 |
- Spec file updates from the merge review: clean the buildroot. |
59 |
|
60 |
* Mon Jan 8 2007 Jeremy Katz <katzj@redhat.com> - 1.0.3-1 |
61 |
- update to 1.0.3 |
62 |
|
63 |
* Wed Dec 6 2006 Jeremy Katz <katzj@redhat.com> - 1.0-9 |
64 |
- rebuild for python 2.5, support new sqlite |
65 |
|
66 |
* Wed Sep 27 2006 Jeremy Katz <katzj@redhat.com> - 1.0-8 |
67 |
- fix dep loop |
68 |
|
69 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> |
70 |
- rebuild |
71 |
|
72 |
* Thu Jun 15 2006 Paul Nasrat <pnasrat@redhat.com> - 1.0-7 |
73 |
- add patch to correct population of packages.location_base |
74 |
|
75 |
* Wed Jun 14 2006 Paul Nasrat <pnasrat@redhat.com> - 1.0-6 |
76 |
- add patch to correct table order of primary:files |
77 |
|
78 |
* Tue Jun 13 2006 Jeremy Katz <katzj@redhat.com> - 1.0-5 |
79 |
- add patch to be quieter so that we don't break tree composes |
80 |
|
81 |
* Mon Jun 12 2006 Jeremy Katz <katzj@redhat.com> - 1.0-4 |
82 |
- urls, build into fedora |
83 |
|
84 |
* Mon Jun 05 2006 Tambet Ingo <tambet@ximian.com> - 1.0-3 |
85 |
- Require yum >= 2.6.2 |
86 |
|
87 |
* Sat Jun 04 2006 Terje Rosten <terje.rosten@pvv.org> - 1.0-2 |
88 |
- add buildrequires |
89 |
- doc files |
90 |
- url |
91 |
|
92 |
* Fri Jun 02 2006 Terje Rosten <terje.rosten@pvv.org> - 1.0-0.1 |
93 |
- initial package |
94 |
|