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

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

+ simple w8 + simplew8 at gmail.com +
+ Tue Apr 10 21:45:29 CEST 2012 +

+
+ +
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.
+
+ + + + + + + + + + + + + + + + + +
+

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