diff --git python-smbpasswd/python-smbpasswd.spec python-smbpasswd/python-smbpasswd.spec.tmp index 05eca36ff8..a94b53932b 100644 --- python-smbpasswd/python-smbpasswd.spec +++ python-smbpasswd/python-smbpasswd.spec.tmp @@ -7,7 +7,7 @@ Name: python-smbpasswd Version: 1.0.1 -Release: 34%{?dist} +Release: 35%{?dist} Summary: Python SMB Password Hash Generator Module Group: Development/Languages @@ -20,10 +20,18 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python3-devel BuildRequires: python2-devel -%description -This package contains a python module, which is able to generate LANMAN and +%global _description\ +This package contains a python module, which is able to generate LANMAN and\ NT password hashes suiteable to us with Samba. +%description %_description + +%package -n python2-smbpasswd +Summary: %summary +%{?python_provide:%python_provide python2-smbpasswd} + +%description -n python2-smbpasswd %_description + %if 0%{?with_python3} %package -n python3-smbpasswd Summary: Python SMB Password Hst Generator Module for Python 3 @@ -66,7 +74,7 @@ cd %{py3dir} %clean rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-smbpasswd %defattr(-,root,root,-) %{python_sitearch}/smbpasswd.so %{python_sitearch}/*egg-info @@ -83,6 +91,10 @@ rm -rf $RPM_BUILD_ROOT %doc COPYING README.txt %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.0.1-35 +- Python 2 binary package renamed to python2-smbpasswd + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.0.1-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild