]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- make sure that produced rpms have the correct names
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 9 Jun 2019 17:03:35 +0000 (19:03 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 9 Jun 2019 17:03:35 +0000 (19:03 +0200)
python.spec

index 168d744feb1ed8646a623d701185a0bb4c0382b0..cd55cf47a243b6ddb48350993455d23b5d3d79ff 100644 (file)
@@ -18,7 +18,7 @@
 %define                pypi_name       django-crispy-forms
 Summary:       -
 Summary(pl.UTF-8):     -
-Name:          python-%{pypi_name}
+Name:          python-%{module}
 Version:       _
 Release:       0.1
 License:       - (enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here)
@@ -50,15 +50,15 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description -l pl.UTF-8
 
-%package -n python3-%{pypi_name}
+%package -n python3-%{module}
 Summary:       -
 Summary(pl.UTF-8):     -
 Group:         Libraries/Python
 Requires:      python3-modules
 
-%description -n python3-%{pypi_name}
+%description -n python3-%{module}
 
-%description -n python3-%{pypi_name} -l pl.UTF-8
+%description -n python3-%{module} -l pl.UTF-8
 
 %package apidocs
 Summary:       API documentation for Python %{module} module
@@ -138,7 +138,7 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with python3}
-%files -n python3-%{pypi_name}
+%files -n python3-%{module}
 %defattr(644,root,root,755)
 %doc AUTHORS CHANGES LICENSE
 %{py3_sitescriptdir}/%{module}
This page took 0.185285 seconds and 4 git commands to generate.