From c6055e542bf8e8f62dde30e2703f2eeb160920eb Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Feb 19 2008 21:50:46 +0000 Subject: - createrepo 0.9.5.1 - limit changelog entries to 10 by default for this build --- diff --git a/createrepo.spec b/createrepo.spec index acdf187..48158d6 100644 --- a/createrepo.spec +++ b/createrepo.spec @@ -2,12 +2,12 @@ Summary: Creates a common metadata repository Name: createrepo -Version: 0.9.4 -Release: 3%{?dist} +Version: 0.9.5 +Release: 1%{?dist} License: GPLv2 Group: System Environment/Base Source: %{name}-%{version}.tar.gz -Patch0: skip-if-no-old-repometata.patch +Patch0: ten-changelog-limit.patch URL: http://linux.duke.edu/projects/metadata/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArchitectures: noarch @@ -21,7 +21,7 @@ packages. %prep %setup -q -%patch0 -p1 +%patch0 -p0 %build @@ -43,6 +43,10 @@ rm -rf $RPM_BUILD_ROOT %{python_sitelib}/createrepo %changelog +* Tue Feb 19 2008 Seth Vidal - 0.9.5-1 +- 0.9.5 +- ten-changelog-limit patch by default in fedora + * Thu Jan 31 2008 Seth Vidal - 0.9.4-3 - skip if no old metadata and --update was called. diff --git a/ten-changelog-limit.patch b/ten-changelog-limit.patch new file mode 100644 index 0000000..afbc8e7 --- /dev/null +++ b/ten-changelog-limit.patch @@ -0,0 +1,11 @@ +--- createrepo/__init__.py~ 2008-02-19 16:28:10.000000000 -0500 ++++ createrepo/__init__.py 2008-02-19 16:28:10.000000000 -0500 +@@ -70,7 +70,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 + +