summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-November/020248.html
blob: 88f5607722fec39b8e0c81d14f4d43e99258d0c1 (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] Adding tmpfiles.d support to packages (was: Re: rpmlint)
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Adding%20tmpfiles.d%20support%20to%20packages%20%28was%3A%20Re%3A%0A%20rpmlint%29&In-Reply-To=%3C%21k.RAn%40r78.nl%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="020165.html">
   <LINK REL="Next"  HREF="020269.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Adding tmpfiles.d support to packages (was: Re: rpmlint)</H1>
    <B>Remco Rijnders</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Adding%20tmpfiles.d%20support%20to%20packages%20%28was%3A%20Re%3A%0A%20rpmlint%29&In-Reply-To=%3C%21k.RAn%40r78.nl%3E"
       TITLE="[Mageia-dev] Adding tmpfiles.d support to packages (was: Re: rpmlint)">remco at webconquest.com
       </A><BR>
    <I>Sun Nov 25 13:44:40 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="020165.html">[Mageia-dev] Adding tmpfiles.d support to packages
</A></li>
        <LI>Next message: <A HREF="020269.html">[Mageia-dev] Adding tmpfiles.d support to packages
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#20248">[ date ]</a>
              <a href="thread.html#20248">[ thread ]</a>
              <a href="subject.html#20248">[ subject ]</a>
              <a href="author.html#20248">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Thu, Nov 22, 2012 at 10:20:21AM +0000, Colin wrote in 
&lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">50ADFC65.8080905 at colin.guthr.ie</A>&gt;:
&gt;<i>I should write up a wiki page, but here is the details:
</I>
&lt;snip&gt;

&gt;<i> # create tmpfiles directory
</I>&gt;<i> install -d -m0755 %{buildroot}%{_prefix}/lib/tmpfiles.d
</I>&gt;<i> install -m0644 %{SOURCEN}
</I>&gt;<i>%{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.conf
</I>&gt;<i>
</I>&gt;<i>Make sure it's included in the %files section too:
</I>&gt;<i> %{_prefix}/lib/tmpfiles.d/*.conf
</I>
Hi Colin,

Thanks for these instructions. I've updated fail2ban accordingly and am 
now in the process of doing inn. Running rpmlint on the spec file I did 
find that it results in some warnings when following your instructions to 
the letter:

./inn.spec:204: W: hardcoded-library-path in %{_prefix}/lib/tmpfiles.d

./inn.spec:205: W: hardcoded-library-path in 
%{_prefix}/lib/tmpfiles.d/%{name}.conf

./inn.spec:333: W: hardcoded-library-path in 
%{_prefix}/lib/tmpfiles.d/*.conf

Thanks,

Remmy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: &lt;/pipermail/mageia-dev/attachments/20121125/666ad136/attachment.asc&gt;
</PRE>








<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="020165.html">[Mageia-dev] Adding tmpfiles.d support to packages
</A></li>
	<LI>Next message: <A HREF="020269.html">[Mageia-dev] Adding tmpfiles.d support to packages
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#20248">[ date ]</a>
              <a href="thread.html#20248">[ thread ]</a>
              <a href="subject.html#20248">[ subject ]</a>
              <a href="author.html#20248">[ 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>