aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorshnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-07-10 21:11:12 +0000
committershnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-07-10 21:11:12 +0000
commit3617976654e875317ff703f987fedaa486690cef (patch)
treecebf3e2d07cd11e9441f87f8e64821a81159ef7f /src
parent6143c9a79a9d53b8bbbeafab5e38f267e60d7acb (diff)
downloadsos-3617976654e875317ff703f987fedaa486690cef.tar.gz
* new rpmbuild method does not require install-rpm.sh and prep-rpm.sh
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@190 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src')
-rw-r--r--src/README2
-rwxr-xr-xsrc/install-rpm.sh4
-rwxr-xr-xsrc/prep-rpm.sh1
3 files changed, 1 insertions, 6 deletions
diff --git a/src/README b/src/README
index f2d041b7..b65b07ed 100644
--- a/src/README
+++ b/src/README
@@ -13,7 +13,7 @@ To access to the public source code repository for this project run:
(all the following as root)
to install locally ==> python setup.py install
-to build an rpm ==> python setup.py bdist_rpm
+to build an rpm ==> make rpm
See the Makefile.
diff --git a/src/install-rpm.sh b/src/install-rpm.sh
deleted file mode 100755
index 0ec6da38..00000000
--- a/src/install-rpm.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-rm -rf $RPM_BUILD_ROOT
-python setup.py install --optimize 1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
-# 'brp-compress' gzips the man pages without distutils knowing... fix this
-sed -i -e 's@man/man\([[:digit:]]\)/\(.\+\.[[:digit:]]\)$@man/man\1/\2.gz@g' INSTALLED_FILES
diff --git a/src/prep-rpm.sh b/src/prep-rpm.sh
deleted file mode 100755
index c4b94de6..00000000
--- a/src/prep-rpm.sh
+++ /dev/null
@@ -1 +0,0 @@
-%setup -q