Compare commits

...
Sign in to create a new pull request.

13 commits

Author SHA1 Message Date
remi
cf4357f4aa EL-4 is now EOL, so become unuseful 2012-03-01 16:48:19 +01:00
Dennis Gilmore
752b62676c - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 03:31:01 -06:00
Dennis Gilmore
0d04b30dcc - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 02:18:21 -06:00
David Malcolm
b8468c39c9 recompiling .py files against Python 2.7 (rhbz#623421) 2010-08-11 18:42:56 -04:00
Fedora Release Engineering
3ea8656ad7 dist-git conversion 2010-07-29 16:25:50 +00:00
bcf9093981 improve python 2.6 patch - fix FTBFS #564994 2010-02-14 07:08:50 +00:00
Bill Nottingham
5007f4a434 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 22:39:36 +00:00
064a8c6c16 fix python 2.6 warnings (#521869) 2009-09-26 13:55:32 +00:00
Jesse Keating
5842f0fa4f - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 08:56:58 +00:00
cac20c6946 fix python 2.6 issue (with is a reserved keyword) 2009-05-16 19:01:30 +00:00
Jesse Keating
9eecab6b93 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-25 18:21:35 +00:00
Ignacio Vazquez-Abrams
7e45f67d04 Rebuild for Python 2.6 2008-12-01 15:00:56 +00:00
Jason ティビツ
6e893ccd6d - Fix license tag. 2008-08-11 23:58:01 +00:00
6 changed files with 1 additions and 172 deletions

View file

@ -1 +0,0 @@
yum-2.2.2.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: yum-arch
# $Id$
NAME := yum-arch
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

1
dead.package Normal file
View file

@ -0,0 +1 @@
EL-4 is now EOL, so become unuseful

View file

@ -1 +0,0 @@
734cc68e26c2fd07629616ab597acac6 yum-2.2.2.tar.gz

View file

@ -1,91 +0,0 @@
--- ./docs/Makefile.remi 2004-10-13 07:36:58.000000000 +0200
+++ ./docs/Makefile 2007-02-16 17:11:37.000000000 +0100
@@ -5,7 +5,5 @@
rm -f *.pyc *.pyo *~
install:
- mkdir -p $(DESTDIR)/usr/share/man/man{5,8}
- install -m 644 yum.8 $(DESTDIR)/usr/share/man/man8/yum.8
+ mkdir -p $(DESTDIR)/usr/share/man/man8
install -m 644 yum-arch.8 $(DESTDIR)/usr/share/man/man8/yum-arch.8
- install -m 644 yum.conf.5 $(DESTDIR)/usr/share/man/man5/yum.conf.5
--- ./yum/Makefile.remi 2004-08-31 06:20:04.000000000 +0200
+++ ./yum/Makefile 2007-02-16 17:11:37.000000000 +0100
@@ -3,7 +3,7 @@
PYVER := $(shell python -c 'import sys; print "%.3s" %(sys.version)')
PYSYSDIR := $(shell python -c 'import sys; print sys.prefix')
PYLIBDIR = $(PYSYSDIR)/lib/python$(PYVER)
-PKGDIR = $(PYLIBDIR)/site-packages/$(PACKAGE)
+PKGDIR = /usr/share/yum-arch/$(PACKAGE)
all:
echo "Nothing to do"
--- ./repomd/Makefile.remi 2004-08-31 06:20:03.000000000 +0200
+++ ./repomd/Makefile 2007-02-16 17:11:37.000000000 +0100
@@ -3,7 +3,7 @@
PYVER := $(shell python -c 'import sys; print "%.3s" %(sys.version)')
PYSYSDIR := $(shell python -c 'import sys; print sys.prefix')
PYLIBDIR = $(PYSYSDIR)/lib/python$(PYVER)
-PKGDIR = $(PYLIBDIR)/site-packages/$(PACKAGE)
+PKGDIR = /usr/share/yum-arch/$(PACKAGE)
all:
echo "Nothing to do"
--- ./bin/yum-arch.remi 2004-10-13 07:57:34.000000000 +0200
+++ ./bin/yum-arch 2007-02-16 17:11:37.000000000 +0100
@@ -18,6 +18,6 @@
import sys
-sys.path.insert(1,'/usr/share/yum-cli')
+sys.path.insert(0,'/usr/share/yum-arch')
import pullheaders
pullheaders.main(sys.argv[1:])
--- ./Makefile.remi 2005-01-25 06:56:43.000000000 +0100
+++ ./Makefile 2007-02-16 17:13:59.000000000 +0100
@@ -1,4 +1,4 @@
-SUBDIRS = repomd rpmUtils urlgrabber yum etc docs
+SUBDIRS = repomd rpmUtils urlgrabber yum docs
PYFILES = $(wildcard *.py)
PKGNAME = yum
@@ -17,14 +17,13 @@
for d in $(SUBDIRS); do make -C $$d; [ $$? = 0 ] || exit 1 ; done
install:
- mkdir -p $(DESTDIR)/usr/share/yum-cli
+ mkdir -p $(DESTDIR)/usr/share/yum-arch
for p in $(PYFILES) ; do \
- install -m 644 $$p $(DESTDIR)/usr/share/yum-cli/$$p; \
+ install -m 644 $$p $(DESTDIR)/usr/share/yum-arch/$$p; \
done
- $(PYTHON) -c "import compileall; compileall.compile_dir('$(DESTDIR)/usr/share/yum-cli', 1, '$(PYDIR)', 1)"
+ $(PYTHON) -c "import compileall; compileall.compile_dir('$(DESTDIR)/usr/share/yum-arch', 1, '$(PYDIR)', 1)"
mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/usr/bin
- install -m 755 bin/yum.py $(DESTDIR)/usr/bin/yum
install -m 755 bin/yum-arch $(DESTDIR)/usr/bin/yum-arch
mkdir -p $(DESTDIR)/var/cache/yum
--- ./urlgrabber/Makefile.remi 2004-08-31 06:20:04.000000000 +0200
+++ ./urlgrabber/Makefile 2007-02-16 17:11:37.000000000 +0100
@@ -3,7 +3,7 @@
PYVER := $(shell python -c 'import sys; print "%.3s" %(sys.version)')
PYSYSDIR := $(shell python -c 'import sys; print sys.prefix')
PYLIBDIR = $(PYSYSDIR)/lib/python$(PYVER)
-PKGDIR = $(PYLIBDIR)/site-packages/$(PACKAGE)
+PKGDIR = /usr/share/yum-arch/$(PACKAGE)
all:
echo "Nothing to do"
--- ./rpmUtils/Makefile.remi 2004-08-31 06:20:03.000000000 +0200
+++ ./rpmUtils/Makefile 2007-02-16 17:11:37.000000000 +0100
@@ -3,7 +3,7 @@
PYVER := $(shell python -c 'import sys; print "%.3s" %(sys.version)')
PYSYSDIR := $(shell python -c 'import sys; print sys.prefix')
PYLIBDIR = $(PYSYSDIR)/lib/python$(PYVER)
-PKGDIR = $(PYLIBDIR)/site-packages/$(PACKAGE)
+PKGDIR = /usr/share/yum-arch/$(PACKAGE)
all:
echo "Nothing to do"

View file

@ -1,58 +0,0 @@
Summary: Extract headers from rpm in a old yum repository
Name: yum-arch
Version: 2.2.2
Release: 2%{?dist}
License: GPL
Group: System Environment/Base
Source0: http://linux.duke.edu/projects/yum/download/2.2/yum-%{version}.tar.gz
Patch1: yum-arch-folder.patch
URL: http://linux.duke.edu/yum/
BuildArch: noarch
BuildRequires: python, gettext
Requires: python, rpm-python, rpm >= 0:4.1.1, libxml2-python
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
Extract headers from rpm in a old yum repository.
This package only provides the old yum-arch command from yum-%{version}
It should be used to generate repository informations for Fedora Core < 3
and RedHat Enterprise Linux < 4.
%prep
%setup -q -n yum-%{version}
%patch1 -p0 -b .folder
# to avoid rpmlint warnings
for source in *.py {repomd,rpmUtils,yum}/*.py; do
sed -i -e '/^#!\/usr/d' $source
done
%build
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root, -)
%doc README AUTHORS COPYING TODO INSTALL ChangeLog
%{_datadir}/%{name}
%{_bindir}/%{name}
%{_mandir}/man8/%{name}*
%changelog
* Sun Feb 18 2007 Remi Collet <Fedora@FamilleCollet.com> - 2.2.2-2
- from package review (#229123)
own /usr/share/yum-arch
del shellbang in libs
* Sat Feb 17 2007 Remi Collet <Fedora@FamilleCollet.com> - 2.2.2-1
- initial spec for Extras