1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] source rpms - newbie question
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20source%20rpms%20-%20newbie%20question&In-Reply-To=%3C500814FF.6000201%40gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="017490.html">
<LINK REL="Next" HREF="017492.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] source rpms - newbie question</H1>
<B>Guillaume Rousse</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20source%20rpms%20-%20newbie%20question&In-Reply-To=%3C500814FF.6000201%40gmail.com%3E"
TITLE="[Mageia-dev] source rpms - newbie question">guillomovitch at gmail.com
</A><BR>
<I>Thu Jul 19 16:09:03 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="017490.html">[Mageia-dev] source rpms - newbie question
</A></li>
<LI>Next message: <A HREF="017492.html">[Mageia-dev] source rpms - newbie question
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#17491">[ date ]</a>
<a href="thread.html#17491">[ thread ]</a>
<a href="subject.html#17491">[ subject ]</a>
<a href="author.html#17491">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Le 19/07/2012 14:02, blind Pete a écrit :
><i> Guillaume Rousse wrote:
</I>><i>
</I>>><i> Le 19/07/2012 05:19, blind Pete a écrit :
</I>>>><i> util-linux-ng-2.18-4.1.mga1.src.rpm is safely downloded to my local
</I>>>><i> drive. Now what do I do with it?
</I>>>><i>
</I>>>><i> urpmi --install-src ./util*
</I>>>><i> gives a lot of errors about iurt not existing and using root
</I>>>><i> instead, but does not seem to install anything into /usr/src/RPM/
</I>>>><i>
</I>>>><i> This is probably obvious to everyone here - except me.
</I>>><i> What is not obvious, tough, as what you are trying to achieve exactly...
</I>><i>
</I>><i> I want to look at the source code. I was expecting that command
</I>><i> line to install (unpack) the source code into /usr/src/RPMS/ but
</I>><i> maybe --install-src compiles and installs *from* source code?
</I>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.
><i> Either way, what is the approved method of looking at the contents
</I>><i> of a *.src.rpm file? An RTFM is perfectly apropriate here - as
</I>><i> long as it includes a link to the FM.
</I><A HREF="http://wiki.mandriva.com/en/Development/Tasks/Packaging/Tools/RPM/Howto">http://wiki.mandriva.com/en/Development/Tasks/Packaging/Tools/RPM/Howto</A>
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.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="017490.html">[Mageia-dev] source rpms - newbie question
</A></li>
<LI>Next message: <A HREF="017492.html">[Mageia-dev] source rpms - newbie question
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#17491">[ date ]</a>
<a href="thread.html#17491">[ thread ]</a>
<a href="subject.html#17491">[ subject ]</a>
<a href="author.html#17491">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|