From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-July/017491.html | 98 ++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-July/017491.html (limited to 'zarb-ml/mageia-dev/2012-July/017491.html') diff --git a/zarb-ml/mageia-dev/2012-July/017491.html b/zarb-ml/mageia-dev/2012-July/017491.html new file mode 100644 index 000000000..48d07b4c0 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-July/017491.html @@ -0,0 +1,98 @@ + + + + [Mageia-dev] source rpms - newbie question + + + + + + + + + +

[Mageia-dev] source rpms - newbie question

+ Guillaume Rousse + guillomovitch at gmail.com +
+ Thu Jul 19 16:09:03 CEST 2012 +

+
+ +
Le 19/07/2012 14:02, blind Pete a écrit :
+> Guillaume Rousse wrote:
+>
+>> Le 19/07/2012 05:19, blind Pete a écrit :
+>>> util-linux-ng-2.18-4.1.mga1.src.rpm is safely downloded to my local
+>>> drive.  Now what do I do with it?
+>>>
+>>> urpmi --install-src ./util*
+>>> gives a lot of errors about iurt not existing and using root
+>>> instead, but does not seem to install anything into /usr/src/RPM/
+>>>
+>>> This is probably obvious to everyone here - except me.
+>> What is not obvious, tough, as what you are trying to achieve exactly...
+>
+> I want to look at the source code.  I was expecting that command
+> line to install (unpack) the source code into /usr/src/RPMS/ but
+> maybe --install-src compiles and installs *from* source code?
+According to the man page, it should just install the source package. 
+However, if you already have the source package locally available, urpmi 
+doesn't provide any added value over rpm. You'd better use rpm -i 
+directly. And no need for root privileges here, unless you really want 
+to use /usr/src/RPM tree.
+
+> Either way, what is the approved method of looking at the contents
+> of a *.src.rpm file?  An RTFM is perfectly apropriate here - as
+> long as it includes a link to the FM.
+http://wiki.mandriva.com/en/Development/Tasks/Packaging/Tools/RPM/Howto
+might be a useful documentation, altough outdated on minor issues (rpm 
+-b vs rpmbuild -b, automatic creation of rpm build tree, etc...).
+
+-- 
+BOFH excuse #391:
+
+We already sent around a notice about that.
+
+ + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1