rpms/mash/EL-5 mash-notags.patch,NONE,1.1 mash.spec,1.29,1.30
Bill Nottingham
notting at fedoraproject.org
Tue Nov 10 19:20:08 UTC 2009
Author: notting
Update of /cvs/extras/rpms/mash/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12912
Modified Files:
mash.spec
Added Files:
mash-notags.patch
Log Message:
Revert not-yet-working stuff.
mash-notags.patch:
configs/rawhide.mash | 2 --
mash/__init__.py | 9 ---------
mash/config.py | 4 ----
mash/metadata.py | 14 --------------
4 files changed, 29 deletions(-)
--- NEW FILE mash-notags.patch ---
diff --git a/configs/rawhide.mash b/configs/rawhide.mash
index ba68d8f..6a68ef8 100644
--- a/configs/rawhide.mash
+++ b/configs/rawhide.mash
@@ -15,5 +15,3 @@ repoviewurl = http://download.fedoraproject.org/pub/fedora/linux/development/%(a
repoviewtitle = "Fedora Rawhide - %(arch)s"
arches = i386 x86_64 ppc ppc64
delta = True
-# Change distro_tags as fedora-release version gets bumped
-distro_tags = "cpe:/o:fedoraproject:fedora:11.92" "rawhide"
diff --git a/mash/__init__.py b/mash/__init__.py
index 2cf0d0a..ffba1b7 100644
--- a/mash/__init__.py
+++ b/mash/__init__.py
@@ -113,15 +113,6 @@ class Mash:
md.set_delta(paths)
if previous:
md.set_previous(previous)
- # Setup the distro tags
- md.set_distro_tags(self.config.distro_tags)
- # Setup the content tags based on what we're making
- if arch == 'SRPMS':
- md.set_content_tags(['source'])
- elif path.endswith(self.config.debuginfo_path):
- md.set_content_tags(['debuginfo-%s' % arch])
- else:
- md.set_content_tags(['binary-%s' % arch])
md.run(path)
self.logger.info("createrepo: finished %s" % (path,))
if repoview and self.config.use_repoview:
diff --git a/mash/config.py b/mash/config.py
index 9a1842c..0d4abad 100644
--- a/mash/config.py
+++ b/mash/config.py
@@ -45,8 +45,6 @@ class MashConfig(config.BaseConfig):
delta = config.BoolOption(False)
delta_dirs = config.ListOption()
make_ancient = config.BoolOption(False)
- distro_tags = config.ListOption()
- content_tags = config.ListOption()
distros = []
class MashDistroConfig(config.BaseConfig):
@@ -77,8 +75,6 @@ class MashDistroConfig(config.BaseConfig):
delta = config.Inherit(MashConfig.delta)
delta_dirs = config.Inherit(MashConfig.delta_dirs)
make_ancient = config.Inherit(MashConfig.make_ancient)
- distro_tags = config.Inherit(MashConfig.distro_tags)
- content_tags = config.Inherit(MashConfig.content_tags)
previous = None
def readMainConfig(conf):
diff --git a/mash/metadata.py b/mash/metadata.py
index 4df23f2..1b37cab 100644
--- a/mash/metadata.py
+++ b/mash/metadata.py
@@ -73,14 +73,6 @@ class MetadataOld:
def set_previous(self, previous):
self.previous = previous
- def set_distro_tags(self, distro_tags):
- # Sorry, can't do that here.
- pass
-
- def set_content_tags(self, content_tags):
- # Sorry, can't do that here.
- pass
-
def run(self, path):
self.args.append(path)
if self.previous:
@@ -139,12 +131,6 @@ class MetadataNew:
self.conf.update_md_path = previous
self.previous = previous
- def set_distro_tags(self, distro_tags):
- self.conf.distro_tags = distro_tags
-
- def set_content_tags(self, content_tags):
- self.conf.content_tags = content_tags
-
def _copy_in_deltas(self, path):
ts = rpmUtils.transaction.initReadOnlyTransaction()
ts.pushVSFlags((rpm._RPMVSF_NOSIGNATURES|rpm._RPMVSF_NODIGESTS))
Index: mash.spec
===================================================================
RCS file: /cvs/extras/rpms/mash/EL-5/mash.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -p -r1.29 -r1.30
--- mash.spec 5 Oct 2009 17:15:25 -0000 1.29
+++ mash.spec 10 Nov 2009 19:20:08 -0000 1.30
@@ -2,13 +2,14 @@
Name: mash
Version: 0.5.9
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Koji buildsystem to yum repository converter
Group: Development/Tools
License: GPL
URL: http://fedorahosted.org/releases/m/a/mash/
Source0: http://fedorahosted.org/releases/m/a/mash/%{name}-%{version}.tar.gz
Patch0: mash-nosigcheck.patch
+Patch1: mash-notags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: yum, createrepo, koji
Conflicts: pungi < 1.0.0
@@ -23,6 +24,7 @@ any multlib RPMs that are necessary.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__python} setup.py build
@@ -46,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT
/var/cache/mash
%changelog
+* Tue Nov 10 2009 Bill Nottingham <notting at redhat.com> 0.5.9-2
+- revert distro_tags/content_tags for now
+
* Mon Oct 5 2009 Bill Nottingham <notting at redhat.com> 0.5.9-1
- set dist_tags & content_tags when making metadata; update rawhide config
(<jkeating at redhat.com>)
More information about the scm-commits
mailing list