[Bug 806117] Review Request: Oplop - Generate account passwords based on account nicknames

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

 



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

Eduardo Echeverria <echevemaster@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |echevemaster@xxxxxxxxx

--- Comment #10 from Eduardo Echeverria <echevemaster@xxxxxxxxx> ---
Abdel, I suggest you rename this package to python-oplop instead of Oplop, in
the future this package will eventually have support for python3 (
as can be seen in setup.py) and you will have to provide support to upstream,
and do a sub-package python3-oplop. One way would be as follows, is better do
right now and not worry about having headaches after


%global pkgname Oplop
Name:        python-oplop
Source0:
https://pypi.python.org/packages/source/O/%{pkgname}/%{pkgname}-%{version}.zip
%prep
%setup -qn %{pkgname}-%{version}

if you have plan to ship this package to el5 must be define python_sitelib and
python_sitearch macros
i.e. 

%if 0%{?rhel} && 0%{?rhel} <= 5
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%endif

See https://fedoraproject.org/wiki/Packaging:Python#Macros

Please add the LICENSE file.

-- 
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=HRc9PyttN7&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]