blob: 51007f86c0ca2fa00e7640ed274eb0f83092cc00 (
plain)
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
99
100
101
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Spaces in doc filenames
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Spaces%20in%20doc%20filenames&In-Reply-To=%3CCA%2BCX%2Bbj6%3DXwCZQpWPUV-8nBqEqALS%3DJSn%2BUMSs%3DaA9Zg1PtXhg%40mail.gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="020937.html">
<LINK REL="Next" HREF="020914.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Spaces in doc filenames</H1>
<B>Pascal Terjan</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Spaces%20in%20doc%20filenames&In-Reply-To=%3CCA%2BCX%2Bbj6%3DXwCZQpWPUV-8nBqEqALS%3DJSn%2BUMSs%3DaA9Zg1PtXhg%40mail.gmail.com%3E"
TITLE="[Mageia-dev] Spaces in doc filenames">pterjan at gmail.com
</A><BR>
<I>Tue Dec 25 18:29:55 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="020937.html">[Mageia-dev] Live DVD beta 1 report
</A></li>
<LI>Next message: <A HREF="020914.html">[Mageia-dev] Spaces in doc filenames
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#20913">[ date ]</a>
<a href="thread.html#20913">[ thread ]</a>
<a href="subject.html#20913">[ subject ]</a>
<a href="author.html#20913">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>It seems that with new rpm %doc with spaces in filenames can no longer
be protected with \
For example:
%doc Please\ read\ me.txt Comfortaa\ FONTLOG.txt OFL\ -\ Font\ License.txt
Before:
+ cp -pr 'Please read me.txt' 'Comfortaa FONTLOG.txt' 'OFL - Font
License.txt' /home/pterjan/co/cauldron/aajohan-comfortaa-fonts/BUILDROOT/aajohan-comfortaa-fonts-1.004-1.mga3.x86_64/usr/share/doc/aajohan-comfortaa-fonts
After:
+ cp -pr 'Please
/home/pterjan/rpmbuild/BUILDROOT/aajohan-comfortaa-fonts-1.004-1.mga3.x86_64/usr/share/doc/aajohan-comfortaa-fonts'
cp: missing destination file operand after 'Please
/home/pterjan/rpmbuild/BUILDROOT/aajohan-comfortaa-fonts-1.004-1.mga3.x86_64/usr/share/doc/aajohan-comfortaa-fonts'
Try 'cp --help' for more information.
Using %doc "Please read me.txt" "Comfortaa FONTLOG.txt" "OFL - Font
License.txt" was not enough
+ cp -pr Please read me.txt
/home/pterjan/co/cauldron/aajohan-comfortaa-fonts/BUILDROOT/aajohan-comfortaa-fonts-1.004-1.mga3.x86_64/usr/share/doc/aajohan-comfortaa-fonts
cp: cannot stat 'Please': No such file or directory
cp: cannot stat 'read': No such file or directory
cp: cannot stat 'me.txt': No such file or directory
This worked:
%doc "Please\ read\ me.txt" "Comfortaa\ FONTLOG.txt" "OFL\ -\ Font\ License.txt"
+ /usr/bin/mkdir -p
/home/pterjan/co/cauldron/aajohan-comfortaa-fonts/BUILDROOT/aajohan-comfortaa-fonts-1.004-1.mga3.x86_64/usr/share/doc/aajohan-comfortaa-fonts
+ cp -pr 'Please read me.txt'
/home/pterjan/co/cauldron/aajohan-comfortaa-fonts/BUILDROOT/aajohan-comfortaa-fonts-1.004-1.mga3.x86_64/usr/share/doc/aajohan-comfortaa-fonts
+ cp -pr 'Comfortaa FONTLOG.txt'
/home/pterjan/co/cauldron/aajohan-comfortaa-fonts/BUILDROOT/aajohan-comfortaa-fonts-1.004-1.mga3.x86_64/usr/share/doc/aajohan-comfortaa-fonts
+ cp -pr 'OFL - Font License.txt'
/home/pterjan/co/cauldron/aajohan-comfortaa-fonts/BUILDROOT/aajohan-comfortaa-fonts-1.004-1.mga3.x86_64/usr/share/doc/aajohan-comfortaa-fonts
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="020937.html">[Mageia-dev] Live DVD beta 1 report
</A></li>
<LI>Next message: <A HREF="020914.html">[Mageia-dev] Spaces in doc filenames
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#20913">[ date ]</a>
<a href="thread.html#20913">[ thread ]</a>
<a href="subject.html#20913">[ subject ]</a>
<a href="author.html#20913">[ 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>
|