diff options
Diffstat (limited to 'unmaintained/rinse/rinse-set-rpm-platform.patch')
-rw-r--r-- | unmaintained/rinse/rinse-set-rpm-platform.patch | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/unmaintained/rinse/rinse-set-rpm-platform.patch b/unmaintained/rinse/rinse-set-rpm-platform.patch deleted file mode 100644 index a5eae642b8..0000000000 --- a/unmaintained/rinse/rinse-set-rpm-platform.patch +++ /dev/null @@ -1,100 +0,0 @@ ---- rinse-2.0.1.orig/scripts/centos-5/post-install.sh -+++ rinse-2.0.1/scripts/centos-5/post-install.sh -@@ -10,6 +10,17 @@ - exit - fi - -+# specify platform -+echo " post-install.sh : arch is ${ARCH}" -+if [ "${ARCH}" = "amd64" -o "${ARCH}" = "x86_64" ]; then -+ arch=x86_64 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+if [ "${ARCH}" = "i386" ]; then -+ arch=i686 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+ - # rpm's can now be removed - rm -f ${prefix}/*.rpm - ---- rinse-2.0.1.orig/scripts/centos-6/post-install.sh -+++ rinse-2.0.1/scripts/centos-6/post-install.sh -@@ -10,6 +10,17 @@ - exit - fi - -+# specify platform -+echo " post-install.sh : arch is ${ARCH}" -+if [ "${ARCH}" = "amd64" -o "${ARCH}" = "x86_64" ]; then -+ arch=x86_64 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+if [ "${ARCH}" = "i386" ]; then -+ arch=i686 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+ - # rpm's can now be removed - rm -f ${prefix}/*.rpm - ---- rinse-2.0.1.orig/scripts/rhel-5/post-install.sh -+++ rinse-2.0.1/scripts/rhel-5/post-install.sh -@@ -10,6 +10,17 @@ - exit - fi - -+# specify platform -+echo " post-install.sh : arch is ${ARCH}" -+if [ "${ARCH}" = "amd64" -o "${ARCH}" = "x86_64" ] ; then -+ arch=x86_64 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+if [ "${ARCH}" = "i386" ]; then -+ arch=i686 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+ - # rpm's can now be removed - rm -f ${prefix}/*.rpm - ---- rinse-2.0.1.orig/scripts/slc-5/post-install.sh -+++ rinse-2.0.1/scripts/slc-5/post-install.sh -@@ -10,6 +10,17 @@ - exit - fi - -+# specify platform -+echo " post-install.sh : arch is ${ARCH}" -+if [ "${ARCH}" = "amd64" -o "${ARCH}" = "x86_64" ] ; then -+ arch=x86_64 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+if [ "${ARCH}" = "i386" ]; then -+ arch=i686 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+ - # rpm's can now be removed - rm -f ${prefix}/*.rpm - ---- rinse-2.0.1.orig/scripts/slc-6/post-install.sh -+++ rinse-2.0.1/scripts/slc-6/post-install.sh -@@ -10,6 +10,17 @@ - exit - fi - -+# specify platform -+echo " post-install.sh : arch is ${ARCH}" -+if [ "${ARCH}" = "amd64" -o "${ARCH}" = "x86_64" ] ; then -+ arch=x86_64 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+if [ "${ARCH}" = "i386" ]; then -+ arch=i686 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+ - # rpm's can now be removed - rm -f ${prefix}/*.rpm - |