forked from pool/python-sip
Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
228e03cfc5 | |||
06569ba10e | |||
44dfb70d5e |
@@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 5 07:40:38 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Only produce python-sip-doc when the default is SIP4: SIP6 does
|
||||||
|
not provide a -doc package. The previously generated meta package
|
||||||
|
only contained a README flle and no dependencies.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 4 12:37:01 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Do not rely on %requires_eq macro: it expands too early and newly
|
||||||
|
errors out when the package specified does not exist. In case of
|
||||||
|
python single spec, the rewriting mechanism for the python ->
|
||||||
|
pythonXYZ flavor happens 'too late'.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 25 20:08:40 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
Thu Jan 25 20:08:40 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@@ -34,7 +34,7 @@ Source0: README.SUSE
|
|||||||
BuildRequires: %{python_module %{sipN}-devel}
|
BuildRequires: %{python_module %{sipN}-devel}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%requires_eq python-%{sipN}
|
Requires: python-%{sipN} = %{Nversion}
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -47,7 +47,7 @@ to generate wxPython, the Python bindings for wxWidgets.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: A Python bindings generator for C/C++ libraries
|
Summary: A Python bindings generator for C/C++ libraries
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
%requires_eq python-%{sipN}-devel
|
Requires: python-%{sipN}-devel = %{Nversion}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
SIP is a collection of tools that makes it very easy to create Python
|
SIP is a collection of tools that makes it very easy to create Python
|
||||||
@@ -65,7 +65,7 @@ specific version of SIP v<N>.
|
|||||||
Summary: A Python bindings generator for C/C++ libraries -- common documentation
|
Summary: A Python bindings generator for C/C++ libraries -- common documentation
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Provides: %{python_module sip-doc = %{version}-%{release}}
|
Provides: %{python_module sip-doc = %{version}-%{release}}
|
||||||
%requires_eq %{plainpython}-%{sipN}-doc
|
Requires: %{plainpython}-%{sipN}-doc = %{Nversion}
|
||||||
|
|
||||||
%description -n python-sip-doc
|
%description -n python-sip-doc
|
||||||
SIP is a tool that makes it very easy to create Python bindings for C
|
SIP is a tool that makes it very easy to create Python bindings for C
|
||||||
@@ -91,12 +91,12 @@ cp %{SOURCE0} .
|
|||||||
# only sip4 still provides the old python-sip package
|
# only sip4 still provides the old python-sip package
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.SUSE
|
%doc README.SUSE
|
||||||
|
|
||||||
|
%files -n python-sip-doc
|
||||||
|
%doc README.SUSE
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files devel}
|
%files %{python_files devel}
|
||||||
%doc README.SUSE
|
%doc README.SUSE
|
||||||
|
|
||||||
%files -n python-sip-doc
|
|
||||||
%doc README.SUSE
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user