[Bug 877651] Review Request: sagemath - A free open-source mathematics software system

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

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=877651

Paulo Andrade <paulo.cesar.pereira.de.andrade@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ON_QA                       |ASSIGNED

--- Comment #89 from Paulo Andrade <paulo.cesar.pereira.de.andrade@xxxxxxxxx> ---
Thanks, just learned another rpm feature :-)

It should not use %post -p, or remove comments,
example:

--%<--
%postun core -p /sbin/ldconfig

# Use symlinks and a minor patch to the notebook to not bundle jmol
%post        notebook
--%<--

and then:

--%<--
$ rpm -q --scripts sagemath-core
postinstall program: /sbin/ldconfig
postuninstall scriptlet (using /sbin/ldconfig):

# Use symlinks and a minor patch to the notebook to not bundle jmol
--%<--

it is adding '#' as ldconfig argument.
Should rewrite as:

%postun core
    /sbin/ldconfig
    exit 0

or remove the comment before the notebook
subpackage %post

Maybe the correct approach is to patch rpm, as it
appears opensuse fixed it recently, there is a comment
about it in

http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets

But in the meantime I will keep this as a todo for
the next build, as the error is not fatal.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=ehOJw8uZGp&a=cc_unsubscribe
_______________________________________________
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]