#9 Use %python_provide instead of manual provides
Merged 2 months ago by churchyard. Opened 2 months ago by churchyard.
rpms/ churchyard/python2-docs python_provide  into  master

file modified
+3 -2

@@ -21,6 +21,7 @@ 

  

  BuildArch:		noarch

  

+ BuildRequires:	python-rpm-macros

  BuildRequires:	python3

  BuildRequires:	python3-docutils

  BuildRequires:	python3-pygments

@@ -29,7 +30,7 @@ 

  

  Recommends:		python2 = %{version}

  

- Provides:		python-docs = %{version}-%{release}

+ %{?python_provide:%python_provide %{name}}

  

  %description

  The python2-docs package contains documentation on the Python 2

@@ -42,7 +43,7 @@ 

  Summary:		Documentation for the Python 2 programming language as info pages

  BuildRequires:	texinfo

  

- Provides:		python-docs-info = %{version}-%{release}

+ %{?python_provide:%python_provide %{name}-info}

  

  %description info

  The python2-docs-info package contains documentation on the Python 2

no initial comment

Pull-Request has been merged by churchyard

2 months ago