]> git.pld-linux.org Git - packages/python3-networkx.git/commitdiff
- renamed python-networkx 2.3+ base package to python3-networkx
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 31 Dec 2022 16:37:40 +0000 (17:37 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 31 Dec 2022 16:37:40 +0000 (17:37 +0100)
python3-networkx.spec [moved from python-networkx.spec with 80% similarity]

similarity index 80%
rename from python-networkx.spec
rename to python3-networkx.spec
index 575c8db0e86c4cca570b0993259c992726e60982..ce1d9451c8abe12554f13a2df6b3a1fa0321e2e5 100644 (file)
@@ -6,7 +6,7 @@
 %define                module  networkx
 Summary:       High-productivity software for complex networks
 Summary(pl.UTF-8):     Efektywne operacje na skomplikowanych grafach
-Name:          python-%{module}
+Name:          python3-%{module}
 Version:       2.5
 Release:       4
 License:       BSD
@@ -27,6 +27,7 @@ BuildRequires:        python3-sphinx-gallery
 BuildRequires: python3-texext
 BuildRequires: sphinx-pdg-3 >= 1.3
 %endif
+Requires:      python3-modules >= 1:3.6
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -38,24 +39,11 @@ study of the structure, dynamics, and functions of complex networks.
 Pakiet oprogramowania do tworzenia, manipulacji i badania struktury
 dynamiki i funkcji złożonych sieci.
 
-%package -n python3-%{module}
-Summary:       High-productivity software for complex networks
-Summary(pl.UTF-8):     Efektywne operacje na skomplikowanych grafach
-Group:         Libraries/Python
-Requires:      python3-modules
-
-%description -n python3-%{module}
-Python language software package for the creation, manipulation, and
-study of the structure, dynamics, and functions of complex networks.
-
-%description -n python3-%{module} -l pl.UTF-8
-Pakiet oprogramowania do tworzenia, manipulacji i badania struktury
-dynamiki i funkcji złożonych sieci.
-
 %package apidocs
 Summary:       API documentation for Python %{module} module
 Summary(pl.UTF-8):     Dokumentacja API modułu Pythona %{module}
 Group:         Documentation
+Obsoletes:     python-networkx-apidocs == 2.5
 
 %description apidocs
 API documentation for Python %{module} module.
@@ -90,7 +78,7 @@ find $RPM_BUILD_ROOT%{_examplesdir}/python3-%{module}-%{version} -name '*.py' \
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -n python3-%{module}
+%files
 %defattr(644,root,root,755)
 %doc README.rst
 %{py3_sitescriptdir}/%{module}
This page took 0.221103 seconds and 4 git commands to generate.