add f12 files
S.Çağlar Onur [Wed, 28 Apr 2010 19:39:32 +0000 (19:39 +0000)]
f12.patch [new file with mode: 0644]
util-vserver.spec

diff --git a/f12.patch b/f12.patch
new file mode 100644 (file)
index 0000000..8b228d5
--- /dev/null
+++ b/f12.patch
@@ -0,0 +1,239 @@
+Index: distrib/f12/yum.repos.d/fedora-updates-testing.repo
+===================================================================
+--- distrib/f12/yum.repos.d/fedora-updates-testing.repo        (revision 0)
++++ distrib/f12/yum.repos.d/fedora-updates-testing.repo        (revision 0)
+@@ -0,0 +1,26 @@
++[updates-testing]
++name=Fedora 12 - $basearch - Test Updates
++failovermethod=priority
++#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/12/$basearch/
++mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f12&arch=$basearch
++enabled=0
++gpgcheck=1
++gpgkey=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/$basearch/os/RPM-GPG-KEY-fedora-test-$basearch
++
++[updates-testing-debuginfo]
++name=Fedora 12 - $basearch - Test Updates Debug
++failovermethod=priority
++#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/12/$basearch/debug/
++mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-debug-f12&arch=$basearch
++enabled=0
++gpgcheck=1
++gpgkey=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/$basearch/os/RPM-GPG-KEY-fedora-test-$basearch
++
++[updates-testing-source]
++name=Fedora 12 - Test Updates Source
++failovermethod=priority
++#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/12/SRPMS/
++mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-source-f12&arch=$basearch
++enabled=0
++gpgcheck=1
++gpgkey=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/$basearch/os/RPM-GPG-KEY-fedora-test-$basearch
+Index: distrib/f12/yum.repos.d/fedora-updates-testing.repo-e
+===================================================================
+--- distrib/f12/yum.repos.d/fedora-updates-testing.repo-e      (revision 0)
++++ distrib/f12/yum.repos.d/fedora-updates-testing.repo-e      (revision 0)
+@@ -0,0 +1,26 @@
++[updates-testing]
++name=Fedora 12 - $basearch - Test Updates
++failovermethod=priority
++#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/12/$basearch/
++mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f12&arch=$basearch
++enabled=0
++gpgcheck=1
++gpgkey=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/$basearch/os/RPM-GPG-KEY-fedora-test-$basearch
++
++[updates-testing-debuginfo]
++name=Fedora 12 - $basearch - Test Updates Debug
++failovermethod=priority
++#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/12/$basearch/debug/
++mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-debug-f12&arch=$basearch
++enabled=0
++gpgcheck=1
++gpgkey=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/$basearch/os/RPM-GPG-KEY-fedora-test-$basearch
++
++[updates-testing-source]
++name=Fedora 12 - Test Updates Source
++failovermethod=priority
++#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/12/SRPMS/
++mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-source-f12&arch=$basearch
++enabled=0
++gpgcheck=1
++gpgkey=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/$basearch/os/RPM-GPG-KEY-fedora-test-$basearch
+Index: distrib/f12/yum.repos.d/fedora.repo
+===================================================================
+--- distrib/f12/yum.repos.d/fedora.repo        (revision 0)
++++ distrib/f12/yum.repos.d/fedora.repo        (revision 0)
+@@ -0,0 +1,26 @@
++[fedora]
++name=Fedora 12 - $basearch
++failovermethod=priority
++#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/$basearch/os/
++mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-12&arch=$basearch
++enabled=1
++gpgcheck=1
++gpgkey=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/$basearch/os/RPM-GPG-KEY-fedora-$basearch
++
++[fedora-debuginfo]
++name=Fedora 12 - $basearch - Debug
++failovermethod=priority
++#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/$basearch/debug/
++mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-12&arch=$basearch
++enabled=0
++gpgcheck=1
++gpgkey=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/$basearch/os/RPM-GPG-KEY-fedora-$basearch
++
++[fedora-source]
++name=Fedora 12 - Source
++failovermethod=priority
++#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/source/SRPMS/
++mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-12&arch=$basearch
++enabled=0
++gpgcheck=1
++gpgkey=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/$basearch/os/RPM-GPG-KEY-fedora-$basearch
+Index: distrib/f12/yum.repos.d/fedora.repo-e
+===================================================================
+--- distrib/f12/yum.repos.d/fedora.repo-e      (revision 0)
++++ distrib/f12/yum.repos.d/fedora.repo-e      (revision 0)
+@@ -0,0 +1,26 @@
++[fedora]
++name=Fedora 12 - $basearch
++failovermethod=priority
++#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/$basearch/os/
++mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-12&arch=$basearch
++enabled=1
++gpgcheck=1
++gpgkey=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/$basearch/os/RPM-GPG-KEY-fedora-$basearch
++
++[fedora-debuginfo]
++name=Fedora 12 - $basearch - Debug
++failovermethod=priority
++#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/$basearch/debug/
++mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-12&arch=$basearch
++enabled=0
++gpgcheck=1
++gpgkey=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/$basearch/os/RPM-GPG-KEY-fedora-$basearch
++
++[fedora-source]
++name=Fedora 12 - Source
++failovermethod=priority
++#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/source/SRPMS/
++mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-12&arch=$basearch
++enabled=0
++gpgcheck=1
++gpgkey=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/$basearch/os/RPM-GPG-KEY-fedora-$basearch
+Index: distrib/f12/yum.repos.d/fedora-updates.repo
+===================================================================
+--- distrib/f12/yum.repos.d/fedora-updates.repo        (revision 0)
++++ distrib/f12/yum.repos.d/fedora-updates.repo        (revision 0)
+@@ -0,0 +1,26 @@
++[updates]
++name=Fedora 12 - $basearch - Updates
++failovermethod=priority
++#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/$basearch/
++mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f12&arch=$basearch
++enabled=1
++gpgcheck=1
++gpgkey=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/$basearch/os/RPM-GPG-KEY-fedora-$basearch
++
++[updates-debuginfo]
++name=Fedora 12 - $basearch - Updates - Debug
++failovermethod=priority
++#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/$basearch/debug/
++mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f12&arch=$basearch
++enabled=0
++gpgcheck=1
++gpgkey=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/$basearch/os/RPM-GPG-KEY-fedora-$basearch
++
++[updates-source]
++name=Fedora 12 - Updates Source
++failovermethod=priority
++#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/SRPMS/
++mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f12&arch=$basearch
++enabled=0
++gpgcheck=1
++gpgkey=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/$basearch/os/RPM-GPG-KEY-fedora-$basearch
+Index: distrib/f12/yum.repos.d/fedora-updates.repo-e
+===================================================================
+--- distrib/f12/yum.repos.d/fedora-updates.repo-e      (revision 0)
++++ distrib/f12/yum.repos.d/fedora-updates.repo-e      (revision 0)
+@@ -0,0 +1,26 @@
++[updates]
++name=Fedora 12 - $basearch - Updates
++failovermethod=priority
++#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/$basearch/
++mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f12&arch=$basearch
++enabled=1
++gpgcheck=1
++gpgkey=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/$basearch/os/RPM-GPG-KEY-fedora-$basearch
++
++[updates-debuginfo]
++name=Fedora 12 - $basearch - Updates - Debug
++failovermethod=priority
++#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/$basearch/debug/
++mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f12&arch=$basearch
++enabled=0
++gpgcheck=1
++gpgkey=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/$basearch/os/RPM-GPG-KEY-fedora-$basearch
++
++[updates-source]
++name=Fedora 12 - Updates Source
++failovermethod=priority
++#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/SRPMS/
++mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f12&arch=$basearch
++enabled=0
++gpgcheck=1
++gpgkey=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/$basearch/os/RPM-GPG-KEY-fedora-$basearch
+Index: distrib/f12/pkgs/01
+===================================================================
+--- distrib/f12/pkgs/01        (revision 0)
++++ distrib/f12/pkgs/01        (revision 0)
+@@ -0,0 +1 @@
++glibc
+Index: distrib/f12/pkgs/02
+===================================================================
+--- distrib/f12/pkgs/02        (revision 0)
++++ distrib/f12/pkgs/02        (revision 0)
+@@ -0,0 +1,3 @@
++--reinstall
++
++filesystem
+Index: distrib/f12/pkgs/03
+===================================================================
+--- distrib/f12/pkgs/03        (revision 0)
++++ distrib/f12/pkgs/03        (revision 0)
+@@ -0,0 +1,2 @@
++coreutils
++initscripts
+Index: distrib/f12/yum/yum.conf
+===================================================================
+--- distrib/f12/yum/yum.conf   (revision 0)
++++ distrib/f12/yum/yum.conf   (revision 0)
+@@ -0,0 +1,11 @@
++[main]
++cachedir=@YUMCACHEDIR@
++persistdir=@YUMLIBDIR@
++reposdir=@YUMETCDIR@/yum.repos.d
++debuglevel=1
++logfile=@YUMLOGDIR@/log
++lockfile=@YUMLOCKDIR@/yum.pid
++pkgpolicy=newest
++distroverpkg=fedora-release
++installonlypkgs=
++exactarch=0
+Index: distrib/f12/rpmlist.d/00.lst
+===================================================================
+--- distrib/f12/rpmlist.d/00.lst       (revision 0)
++++ distrib/f12/rpmlist.d/00.lst       (revision 0)
+@@ -0,0 +1,11 @@
++glibc-[0-9]*.rpm
++basesystem-*.rpm
++bash-[0-9]*.rpm
++filesystem-*.rpm
++glibc-common-*.rpm
++libgcc-[0-9]*.rpm
++ncurses-base-[0-9]*.rpm
++ncurses-libs-*.rpm
++nss-softokn-freebl-*.rpm
++setup-*.rpm
++tzdata-*.rpm
index 574c180..29596ce 100644 (file)
@@ -36,6 +36,7 @@ Group:                System Environment/Base
 URL:           http://savannah.nongnu.org/projects/util-vserver/
 Source0:       http://ftp.linux-vserver.org/pub/utils/util-vserver/%name-%fullver.tar.bz2
 #Source1:      http://ftp.linux-vserver.org/pub/utils/util-vserver/%name-%fullver.tar.bz2.asc
+Patch1:                f12.patch
 BuildRoot:     %_tmppath/%name-%version-%release-root
 Requires:      init(%name)
 Requires:      %name-core = %version-%release
@@ -193,7 +194,7 @@ Linux-VServer API from Python.
 
 %prep
 %setup -q -n %name-%fullver
-
+%patch1 -p0
 
 %build
 %configure --with-initrddir=%_initrddir --enable-release \