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-April/014110.html | 138 ++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-April/014110.html (limited to 'zarb-ml/mageia-dev/2012-April/014110.html') diff --git a/zarb-ml/mageia-dev/2012-April/014110.html b/zarb-ml/mageia-dev/2012-April/014110.html new file mode 100644 index 000000000..676272b34 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-April/014110.html @@ -0,0 +1,138 @@ + + + + [Mageia-dev] bumblebee in mageia (and mentoring) + + + + + + + + + +

[Mageia-dev] bumblebee in mageia (and mentoring)

+ Pascal Terjan + pterjan at gmail.com +
+ Tue Apr 10 21:51:05 CEST 2012 +

+
+ +
On Tue, Apr 10, 2012 at 20:45, simple w8 <simplew8 at gmail.com> wrote:
+> 2012/4/10 Pascal Terjan <pterjan at gmail.com>:
+>> On Tue, Apr 10, 2012 at 19:35, simple w8 <simplew8 at gmail.com> wrote:
+>>>>> %install
+>>>>> make install DESTDIR=%{buildroot} \
+>>>>
+>>>> %makeinstall_std
+>>>
+>>> Here you really need to spefify them, with %makeinstall_std  fails
+>>
+>> %makeinstall then ?
+>
+> It also fails, i did tried both macros.
+>
+>>>>>     libdir=%{_libdir} \
+>>>>>     usrlibdir=%{_libdir} \
+>>>>>     exec_prefix=%{_prefix}
+>>>>>
+>>>> [...]
+>>>>> optidesk.spec
+>>>>>
+>>>>>
+>>>>> Name:           optidesk
+>>>>> Summary:        Tool to configure .desktop files to run with optirun
+>>>>> Group:          Graphical desktop/Other
+>>>>> Version:        0.1
+>>>>> Release:        1
+>>>>> URL:            https://github.com/Bumblebee-Project/optidesk
+>>>>> License:        GPLv3
+>>>>> # source from git repo git://github.com/Bumblebee-Project/optidesk.git
+>>>>> Source0:      %{name}.tar.xz
+>>>>
+>>>> Tarball needs to be versioned.
+>>>
+>>> I did add a comment saying its from git, but i usually use to create a
+>>> macro and put some like this:
+>>>
+>>> Source0:      %{?git:%{name}}%{!?git:%{name}-%{version}}.tar.xz
+>>>
+>>> but still there isnt any version released
+>>
+>> Yes but you should add one, like the date of the snapshot, or the
+>> hash. Else different tarball from git will have the same name.
+>
+> Yes it does make sense.
+>
+>>>>> BuildArch:    noarch
+>>>>> Requires(post):       dkms
+>>>>> Requires(preun):dkms
+>>>>
+>>>> Needs to require dkms.
+>>>
+>>> AFAIK dkms its only used in post and preun scriptlets., so why add
+>>> another plain require?
+>>
+>> Because you need to have it on the system to get this module rebuilt
+>> when you install a new kernel, not only when you install this package
+>
+> If we add a plain require theres no need to have requires in
+> scriplets, at least more recently that was clarified, a plain require
+> is enough.
+
+It is needed to have it for ordering in the same transaction
+Requires only guarantees that dkms will be there at the end of the rpm
+transaction installing this package, but it may be installed after
+this package if they are in the same transaction. Adding
+requires(post) makes rpm install dkms before this one if they are in
+the same transaction.
+
+ + + + + + + + + + + + + + + + + +
+

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