summaryrefslogtreecommitdiffstats
path: root/Makefile.PL
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-08-11 08:31:29 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-08-11 08:31:29 +0000
commit8a85388373bca5c259c3c57411dc3bd2b4a234d7 (patch)
tree5d325387dbf7c090da93678cc84935a87b9abb93 /Makefile.PL
parent815e560840114d7c00db50192b825d27406df298 (diff)
downloadurpmi-8a85388373bca5c259c3c57411dc3bd2b4a234d7.tar
urpmi-8a85388373bca5c259c3c57411dc3bd2b4a234d7.tar.gz
urpmi-8a85388373bca5c259c3c57411dc3bd2b4a234d7.tar.bz2
urpmi-8a85388373bca5c259c3c57411dc3bd2b4a234d7.tar.xz
urpmi-8a85388373bca5c259c3c57411dc3bd2b4a234d7.zip
Remove urpmi.spec, moved to /package parts of the svn repository
Diffstat (limited to 'Makefile.PL')
-rw-r--r--Makefile.PL16
1 files changed, 1 insertions, 15 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 173b8fae..927b326a 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -15,10 +15,6 @@ my $with_rpm = 1; $with_rpm = 0 if grep $_ eq '--without-rpm', @ARGV;
my $with_po = 0; $with_po = 1 if grep $_ eq '--install-po', @ARGV;
my $with_gui = 0; $with_gui = 1 if grep $_ eq '--install-gui', @ARGV;
-# Directory where to build an rpm of this
-my $rpmtopdir = $with_rpm ? qx(rpm --eval %_topdir) : '';
-chomp $rpmtopdir;
-
# All scripts, some of them go in /usr/sbin (see DESTINSTALLSBIN below)
our @bin_scripts = qw(urpmq urpmf rpm-find-leaves urpmi.recover);
our @sbin_scripts = qw(urpmi urpme urpmi.addmedia urpmi.update urpmi.removemedia rurpmi rurpme);
@@ -102,7 +98,7 @@ my $commonusername = "../common/";
# Additional targets
sub postamble {
<<"**MM**";
-.PHONY: installconfigfiles installstatedir ChangeLog rpmdist srpm rpm
+.PHONY: installconfigfiles installstatedir ChangeLog
installpo:
\$(MAKE) -C po install
@@ -125,16 +121,6 @@ installgurpmi2: pure_install
ChangeLog:
svn2cl --accum --strip-prefix=soft/rpm/urpmi/trunk --authors ${commonusername}username.xml
rm -f *.bak
-
-rpmdist: dist
- cp -f urpmi.spec $rpmtopdir/SPECS
- mv -f urpmi-*.tar.bz2 $rpmtopdir/SOURCES
-
-srpm: rpmdist
- rpmbuild -bs --clean --rmsource $rpmtopdir/SPECS/urpmi.spec
-
-rpm: rpmdist
- rpmbuild -ba --clean --rmsource $rpmtopdir/SPECS/urpmi.spec
**MM**
}