[createrepo] update to 0.9.9 update ten changelog limit patch bash completetion, too
Seth Vidal
skvidal at fedoraproject.org
Wed Jan 26 17:40:57 UTC 2011
commit e47d3525e12f2b4cb698510d00d3ffb8af43640d
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Wed Jan 26 12:38:57 2011 -0500
update to 0.9.9
update ten changelog limit patch
bash completetion, too
.gitignore | 1 +
createrepo.spec | 17 ++++++++++-------
sources | 2 +-
ten-changelog-limit.patch | 8 ++++----
4 files changed, 16 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e5c57e0..0838a34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
createrepo-0.9.8.tar.gz
+/createrepo-0.9.9.tar.gz
diff --git a/createrepo.spec b/createrepo.spec
index e7e3346..923d262 100644
--- a/createrepo.spec
+++ b/createrepo.spec
@@ -2,18 +2,17 @@
Summary: Creates a common metadata repository
Name: createrepo
-Version: 0.9.8
-Release: 5%{?dist}
+Version: 0.9.9
+Release: 1%{?dist}
License: GPLv2
Group: System Environment/Base
Source: %{name}-%{version}.tar.gz
Patch0: ten-changelog-limit.patch
-Patch1: createrepo-head.patch
URL: http://createrepo.baseurl.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArchitectures: noarch
Requires: python >= 2.1, rpm-python, rpm >= 4.1.1, libxml2-python
-Requires: yum-metadata-parser, yum >= 3.2.23-10, python-deltarpm, deltarpm
+Requires: yum-metadata-parser, yum >= 3.2.29-1, python-deltarpm, deltarpm
BuildRequires: python
%description
@@ -23,13 +22,12 @@ packages.
%prep
%setup -q
%patch0 -p0
-%patch1 -p1
%build
%install
rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install
+make DESTDIR=$RPM_BUILD_ROOT sysconfdir=%{_sysconfdir} install
%clean
rm -rf $RPM_BUILD_ROOT
@@ -37,7 +35,8 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root,-)
-%doc ChangeLog README COPYING
+%doc ChangeLog README COPYING COPYING.lib
+%{_sysconfdir}/bash_completion.d/
%{_datadir}/%{name}/
%{_bindir}/createrepo
%{_bindir}/modifyrepo
@@ -46,6 +45,10 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitelib}/createrepo
%changelog
+* Wed Jan 26 2011 Seth Vidal <skvidal at fedoraproject.org> - 0.9.9-1
+- 0.9.9
+- change yum requires to 3.2.29
+
* Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 0.9.8-5
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
diff --git a/sources b/sources
index 5fbd8da..49bb4a4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e37418bebb559e7420532574c1bdb18c createrepo-0.9.8.tar.gz
+10641f19a40e9f633b300e23dde00349 createrepo-0.9.9.tar.gz
diff --git a/ten-changelog-limit.patch b/ten-changelog-limit.patch
index ac36976..07b6106 100644
--- a/ten-changelog-limit.patch
+++ b/ten-changelog-limit.patch
@@ -1,11 +1,11 @@
---- createrepo/__init__.py~ 2008-10-28 17:19:58.000000000 -0400
-+++ createrepo/__init__.py 2008-10-28 17:19:58.000000000 -0400
-@@ -81,7 +81,7 @@
+--- createrepo/__init__.py~ 2011-01-26 12:14:30.000000000 -0500
++++ createrepo/__init__.py 2011-01-26 12:34:17.291441719 -0500
+@@ -96,7 +96,7 @@
self.mdtimestamp = 0
self.directory = None
self.directories = []
- self.changelog_limit = None # needs to be an int or None
+ self.changelog_limit = 10 # needs to be an int or None
- self.unique_md_filenames = False
+ self.unique_md_filenames = True
self.additional_metadata = {} # dict of 'type':'filename'
self.revision = str(int(time.time()))
More information about the scm-commits
mailing list