%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: mash Version: 0.6.19 Release: 8%{?dist}.1 Summary: Koji buildsystem to yum repository converter Group: Development/Tools License: GPLv2 URL: https://pagure.io/mash Source0: http://fedorahosted.org/releases/m/a/mash/%{name}-%{version}.tar.gz Requires: yum, createrepo, koji Conflicts: pungi < 1.0.0 BuildRequires: python2-devel BuildArch: noarch Patch100: 0100-Fix-python-version-python-to-python2.patch %description mash is a tool that queries a koji buildsystem for the latest RPMs for any particular tag, and creates repositories of those RPMs, including any multlib RPMs that are necessary. %prep %setup -q %patch100 -p1 %build %py2_build %install rm -rf $RPM_BUILD_ROOT %py2_install mv $RPM_BUILD_ROOT/%{_bindir}/mash.py $RPM_BUILD_ROOT/%{_bindir}/mash mkdir -p $RPM_BUILD_ROOT/var/cache/mash %files %doc AUTHORS ChangeLog COPYING README TODO %config(noreplace) %{_sysconfdir}/mash %{python2_sitelib}/mash* %{_bindir}/* %{_datadir}/mash /var/cache/mash %changelog * Fri Mar 12 2021 Yongsheng Du - 0.6.19-8.1 - Fix build error for python to python2 * Fri Jul 13 2018 Fedora Release Engineering - 0.6.19-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 14 2018 Iryna Shcherbina - 0.6.19-7 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Thu Feb 08 2018 Fedora Release Engineering - 0.6.19-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.6.19-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.6.19-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jul 19 2016 Fedora Release Engineering - 0.6.19-3 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 0.6.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Sep 24 2015 Till Maas - 0.6.19-1 - Use Fedora 24 key for Rawhide - Update URL in SPEC - Update README * Thu Jul 23 2015 Dennis Gilmore - 0.6.18-1 - fix up permission on spam-o-matic * Wed Jul 15 2015 Dennis Gilmore - 0.6.17-1 - setup rawhide for f24 and branched f23 * Wed Jun 17 2015 Fedora Release Engineering - 0.6.16-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Dennis Gilmore - 0.6.16-1 - update the rawhide gpg keys to the Fedora 23 ones (dennis) - (cosmetic) consistent line wrapping. (rbean) - Make MashDistroConfig inherit white/black lists from MashConfig. (rbean) * Fri May 01 2015 Dennis Gilmore - 0.6.15-1 - Save a reference to the config. (rbean) - add script for making changelogs from git for rpm (dennis) * Wed Apr 29 2015 Dennis Gilmore - 0.6.14-1 - blacklist php and httpd from being multilib rhbz#1217168 (dennis) - Make blacklist/whitelist into config values. based on patch from Ralph Bean in rhbz#1082832 (dennis) - Pass the config object into the multilib method objects. (rbean) - Add configs for stg. (rbean) - update the mash configs for rawhide (dennis) * Mon Jan 19 2015 Dennis Gilmore - 0.6.13-1 - make sure we keep values expected to be integers, integers - when reading the config file - setup branched for f22 - do not supress errors * Thu Jul 10 2014 Kevin Fenzi 0.6.12-1 - Bump release to sync with Fedora. * Tue Jul 08 2014 Kevin Fenzi 0.6.11-1 - Update rawhide config for f22 * Thu Jun 05 2014 Dennis Gilmore - 0.6.10-1 - fix up the Metadata class to have the correct paramaters * Wed Jun 04 2014 Dennis Gilmore - 0.6.9-1 - enable ppc64le support - enable parallel deltarpm creation * Thu May 15 2014 Dennis Gilmore - 0.6.8-1 - add max_delta_rpm_age to configs and set the defaults in - the config.py - disable multilib on ppc and no longer mash ppc trees * Thu May 15 2014 Dennis Gilmore - 0.6.7-1 - remove dulicate compression definition - define set_compress_type in the Metadata class * Thu May 15 2014 Dennis Gilmore - 0.6.6-1 - set default compression type * Wed May 14 2014 Dennis Gilmore - 0.6.5-1 - Add configurable compression type to mash (default to xz) - update multilib policy for syslinux changes - Only copy drpms if they're new-ish. - Only check directory once, not once for every drpm. * Thu Jan 16 2014 Dennis Gilmore - 0.6.4-1 - add aarch64 to arch mappings * Thu Jan 16 2014 Dennis Gilmore - 0.6.3-1 - setup branched configs for f21 - fix up secondary arch branched configs - add arm configs back to mash rawhide for aarch64 - remove the sparc mash config file * Wed Dec 11 2013 Dennis Gilmore - 0.6.02-1 - add --no-delta command line - multilib blacklist java-1.8.0-openjdk - enable vdpsu drivers as multilib - enable qt5 and qml as multilib - fail mash if pointed at non existant config file * Wed Aug 21 2013 Dennis Gilmore - 0.6.01-1 - setup default config options for max_delta_rpm_size * Tue Aug 20 2013 Dennis Gilmore - 0.6.00-1 - make maximum deltarpm size configurable - setup branched for f20 - setup rawhide for f21 * Fri Jul 19 2013 Dennis Gilmore - 0.5.34-1 - add armhfp to the primary arch arches * Wed May 29 2013 Dennis Gilmore - 0.5.33-1 - fix rawhide cpe - add yaboot multilib policy make defualt for ppc in rawhide * Wed Mar 13 2013 Dennis Gilmore - 0.5.32-1 - point rawhide configs at f20 tag * Tue Mar 12 2013 Dennis Gilmore - 0.5.31-1 - setup branched for f19 and rawhide for f20 - drop sparc configs - arm is hfp only * Thu Aug 09 2012 Dennis Gilmore 0.5.30-1 - setup branched for f18 and rawhide for f19 * Tue Jul 24 2012 Bill Nottingham 0.5.29-1 - ship -static packages as multilib (#837901) * Fri Jun 22 2012 Bill Nottingham 0.5.28-1 - fix configuration initialization to be consistent (also fixes #668326) * Thu Jun 21 2012 Bill Nottingham 0.5.27-1 - explicitly whitelist redhat-lsb, to handle packaging changes thereof * Tue May 08 2012 Dennis Gilmore 0.5.26-4 - blacklist java-1.7.0-openjdk-devel from multilib * Mon Apr 09 2012 Dennis Gilmore 0.5.26-3 - make sure secondary arch branched configs have the right key * Tue Apr 03 2012 Dennis Gilmore 0.5.26-2 - pull in patches from upstream for secondary arch config fixes * Thu Feb 09 2012 Dennis Gilmore 0.5.26-1 - hash the branched repo - use rawhide tag for rawhide not deprectated dist-rawhide * Thu Jan 19 2012 Dennis Gilmore 0.5.25-1 - hash Packages trees - make sure all the secondary arch configs are unique * Wed Jan 18 2012 Dennis Gilmore 0.5.24-1 - retarget banched to f17 - add configs for each of the secondary arches * Thu Jan 05 2012 Bill Nottingham 0.5.23-4 - add basic support for overriding e-mail addresses in spam-o-matic (#739166) * Thu Jul 28 2011 Bill Nottingham 0.5.23-3 - unbreak rawhide * Tue Jul 26 2011 Bill Nottingham 0.5.23-2 - update keys and configs for F-16 * Fri Jul 22 2011 Bill Nottingham 0.5.23-1 - Fix file multilib method (from ) * Mon Jun 27 2011 Bill Nottingham 0.5.22-1 - Add perl-libs whitelist - fix arm dependency checks () - fix key ordering * Tue Feb 10 2011 Bill Nottingham 0.5.21-1 - update configs for F15 () - add a knob for frobbing which ppc arch is preferred () - fix gdk-pixbuf loader path (#649339) * Tue Sep 28 2010 Bill Nottingham 0.5.20-1 - solve multilib against parent repos if configured (#633136) - fix traceback when only binary RPMS exist (modified from #636697, ) - disable sigchecking on deltas in source, not via patch (#512454) - mark LSB-providing packages as multilib (#585858) - fix libmunge to catch more cases (#637172, ) - add krb5 plugin dir to multilib list (#632611) - add libstdc++-static as a multilib whitelist (#630581) - add dri as a multilib dir - arm arch compatiblitiy * Fri Jul 30 2010 Bill Nottingham 0.5.19-1 - retarget branched.mash at f14 * Mon Jul 26 2010 Bill Nottingham 0.5.18-1 - add F14 key () * Fri Jun 25 2010 Bill Nottingham 0.5.17-1 - fix copying of prior deltarpms, broken in 0.5.16 (#598584) * Wed Apr 21 2010 Bill Nottingham 0.5.16-1 - fix use of prior repodata () * Fri Apr 16 2010 Bill Nottingham 0.5.15-1 - branched compose configuration tweaks - speed up composes a teeny bit * Tue Feb 23 2010 Bill Nottingham 0.5.14-1 - further changes for NFR () * Fri Feb 19 2010 Bill Nottingham 0.5.13-1 - assorted fixes for no-frozen-rawhide - make package hash directories all lowercase * Wed Feb 17 2010 Bill Nottingham 0.5.12-1 - adjust for branched trees and no-frozen-rawhide () - allow for source repos to be optional () - allow for pulling all builds, not just latest () - enable hashed packages for rawhide * Fri Dec 18 2009 Bill Nottingham 0.5.11-1 - allow package directories to be hashed by the package name (adapted from ) * Mon Nov 16 2009 Bill Nottingham 0.5.10-1 - fix up distro_tags and content_tags - bump rawhide version - there is no ppc in Fedora rawhide anymore () * Mon Oct 5 2009 Bill Nottingham 0.5.9-1 - set dist_tags & content_tags when making metadata; update rawhide config () - allow glibc-static as a devel package - allow making ancient yum-arch metadata * Mon Jun 29 2009 Bill Nottingham 0.5.8-1 - noarch packages can have debuginfo too (#508746) - remove wine-arts from multilib whitelist (not needed, doesn't exist) * Tue Jun 23 2009 Bill Nottingham 0.5.7-1 - when using previous runs for deltas, only look in the appropriate arch dirs - wine multilib fixes * Mon Jun 22 2009 Bill Nottingham 0.5.6-1 - more gtk2 multilib (#507165) - minor transaction speedups - handle new yum arch-setting API. () * Fri May 8 2009 Bill Nottingham 0.5.5-1 - fix setting delta_dirs in config file - canonicalize -o option if passed as a relative path * Wed May 6 2009 Bill Nottingham 0.5.4-1 - allow configuring createrepo hash type - remove old config files * Mon Apr 27 2009 Bill Nottingham 0.5.3-1 - when copying in old deltas, make sure the signatures match current packages - don't delta source and debuginfo packages * Fri Apr 17 2009 Bill Nottingham 0.5.2-1 - set a max size for deltarpm-able packages (#496242) * Thu Apr 16 2009 Bill Nottingham 0.5.1-1 - delta fixes - handle qt/kde plugins better (#495947) * Wed Apr 15 2009 Bill Nottingham 0.5.0-1 - Add support for generating deltas with createrepo - add F11 key to config () - various multlib updates (#485242, etc.) * Thu Jan 8 2009 Bill Nottingham 0.4.9-1 - error out if strict_keys is set and we can't download the signed package * Thu Dec 18 2008 Bill Nottingham 0.4.8-1 - Fix debuginfo exclusion - Fix --skip-stat with old createrepo - Use update_from, if it's available * Wed Dec 17 2008 Bill Nottingham 0.4.7-1 - Fix noarch handling * Wed Dec 17 2008 Bill Nottingham 0.4.6-1 - Fix -p/--previous for certain repository layouts * Tue Dec 16 2008 Bill Nottingham 0.4.5-1 - fix caching bug with respect to epochs - work with both python createrepo API and commandline createrepo * Tue Dec 16 2008 Bill Nottingham 0.4.4-1 - Mark gstreamer plugins as multilib (#252173) - Some more multilib devel blacklisting, including php. (#342851) - Add a --previous option, for copying createrepo data * Wed Oct 15 2008 Bill Nottingham 0.4.2-1 - Enable unique repoadata file names () - Add a kernel multilib policy for sparc () - Fix base multilib policy, and packages with no key () * Mon Sep 15 2008 Bill Nottingham 0.4.1-1 - Adjust for new keys * Tue Jul 22 2008 Bill Nottingham 0.4.0-1 - add simple timestamping for profiling usage - add support for caching non-local koji repositories * Fri May 16 2008 Bill Nottingham 0.3.7-1 - add F9 updates configuration * Tue Apr 29 2008 Bill Nottingham 0.3.6-1 - adjust qt path to catch scim-bridge-qt * Mon Apr 14 2008 Bill Nottingham 0.3.5-1 - add pulseaudio-utils as well * Fri Apr 11 2008 Bill Nottingham 0.3.4-1 - add alsa plugins to multilib list (#338211) * Tue Apr 1 2008 Bill Nottingham 0.3.3-1 - add gtk modules to multilib list (#439949) * Fri Feb 22 2008 Bill Nottingham 0.3.2-1 - fix typo that broke handling of unsigned packages - fix yum api usage (#433555, ) - fix noarch w/o src.rpm logic (#433551, ) - Add a 'use_repoview' option that allows us to toggle repoview generation. () - Tell createrepo to be quiet () - Don't re-generate repoview after multilib solving. () - Fix our "failsafe" shutil.copyfile call () * Thu Jan 17 2008 Bill Nottingham 0.3.0-1 - use createrepo's python API - allow running without local koji storage * Mon Nov 19 2007 Bill Nottingham 0.2.10-1 - handle non Packages/ repositories better (#350391) * Fri Nov 9 2007 Bill Nottingham 0.2.9-1 - handle noarch excludearch for packages without source rpms () - use yum's pkgSack, not yumLocalPackage * Tue Sep 25 2007 Bill Nottingham 0.2.8-1 - libflashsupport (#305541) * Fri Sep 21 2007 Bill Nottingham 0.2.7-1 - disable repoview for now * Thu Sep 20 2007 Bill Nottingham 0.2.6-1 - repoview cleanups/fixes - fix gtkimmodules typo (#295371, ) * Tue Sep 18 2007 Bill Nottingham 0.2.5-1 - handle valgrind for multilib differently (#294761) * Mon Sep 17 2007 Bill Nottingham 0.2.4-1 - repoview support () * Thu Sep 6 2007 Bill Nottingham 0.2.3-1 - blacklist java-1.7.0-icedtea-devel (#271761) * Tue Sep 4 2007 Bill Nottingham 0.2.2-1 - add nspluginwrapper to multilib whitelist (#275021) - fix kernel-devel (#247321) * Tue Aug 28 2007 Bill Nottingham 0.2.0-1 - updates to work with pungi 1.0.0, conflict with older pungi - fix some multilib compose issues () * Mon Jul 23 2007 Bill Nottingham 0.1.19-1 - fix spam-o-matic to use python mailer * Thu Jun 21 2007 Bill Nottingham 0.1.18-1 - pull in cyrus-sasl plugins (#245176) * Thu Jun 7 2007 Bill Nottingham 0.1.17-1 - exclude debuginfo from repodata where appropriate - add spam-o-matic * Thu May 31 2007 Bill Nottingham 0.1.16-1 - fix arch handling * Thu May 31 2007 Bill Nottingham 0.1.15-1 - propagate errors better - handle signatures in koji correctly * Wed May 30 2007 Bill Nottingham 0.1.14-1 - add a use_sqlite config option for determining whether to use createrepo -d * Wed May 30 2007 Bill Nottingham 0.1.13-1 - hopefully fix the db locking issues - make source rpm path configurable - add updates config files * Tue May 29 2007 Bill Nottingham 0.1.12-1 - use /tmp where appropriate - hacks to use less memory * Sat May 26 2007 Bill Nottingham 0.1.11-1 - run more operations in parallel * Thu May 24 2007 Bill Nottingham 0.1.10-1 - fix kernel handling - tweak rawhide config * Wed May 23 2007 Bill Nottingham 0.1.9-1 - add wine, wine-arts to multilib whitelist (#241059) * Fri May 18 2007 Bill Nottingham 0.1.8-1 - spec cleanups * Thu May 17 2007 Bill Nottingham 0.1.7-1 - initial build