[Bug 726080] Review Request: Xnee - X11 environment recorder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=726080

--- Comment #19 from Martin Gieseking <martin.gieseking@xxxxxx> 2011-11-03 13:25:02 EDT ---
(In reply to comment #18)
> NOT done. I didn't succeed to build the package with sed statements.
> I tryed lot of drafts like this:
> sed -i 's|^0x0001_libdir_flag_spec=.*|0x0001_libdir_flag_spec=""|g' libtool
> [...]
> 
> Maybe I haven't understood the wiki example...

You don't have to adapt the sed statements given in the guidelines at all. Just
copy them verbatim to your spec (after %configure):

%configure --disable-gnome-applet      \
           --enable-lib                \
           --enable-static-programs=no

sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

make %{?_smp_mflags}


> Done. I had to cnee the same doc files like xnee, because xnee isn't a
> dependancy of cnee.

OK, then it's much easier to add all docs to the libs package only. Since all
other subpackages and the base package require the libs as a dependency, the
docs are installed together with the libs. So, just move the %doc line from the
base package to the libs package and drop all %docs everywhere else (COPYING
too). This avoids cluttering the file system with duplicate files.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]