commit 32a53ca16ab529c335d21e3eb94b6385fc33bc7c
Author: Jakub Bogusz <[email protected]>
Date:   Thu Dec 16 18:45:09 2021 +0100

    - pl, cleanup

 python3-repomd.spec | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/python3-repomd.spec b/python3-repomd.spec
index 1858f94..e9681b3 100644
--- a/python3-repomd.spec
+++ b/python3-repomd.spec
@@ -1,18 +1,18 @@
 #
 # Conditional build:
-%bcond_without doc     # don't build doc
-%bcond_without tests   # do not perform "make test"
+%bcond_without tests   # unit tests
 
 %define        module          repomd
 %define        egg_name        repomd
 %define                pypi_name       repomd
 Summary:       Library for reading dnf/yum repositories
+Summary(pl.UTF-8):     Biblioteka do odczytu repozytoriów dnf/yum
 Name:          python3-%{pypi_name}
 Version:       0.2.1
 Release:       3
 License:       MIT
 Group:         Libraries/Python
-Source0:       
https://files.pythonhosted.org/packages/source/r/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+Source0:       
https://files.pythonhosted.org/packages/source/r/repomd/%{pypi_name}-%{version}.tar.gz
 # Source0-md5: 3979bcf59644ead9fb3324fe36d183ed
 URL:           https://github.com/carlwgeorge/repomd
 BuildRequires: python3-modules
@@ -30,6 +30,10 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 This library provides an object-oriented interface to get information
 out of dnf/yum repositories.
 
+%description -l pl.UTF-8
+Ta biblioteka udostępnia obiektowo zorientowany interfejs do
+pobierania informacji z repozytoriów dnf/yum.
+
 %prep
 %setup -q -n %{pypi_name}-%{version}
 
@@ -38,6 +42,7 @@ out of dnf/yum repositories.
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %py3_install
 
 %clean
@@ -46,6 +51,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README.md
-%{py3_sitescriptdir}/%{pypi_name}.py
-%{py3_sitescriptdir}/__pycache__/*
+%{py3_sitescriptdir}/%{module}.py
+%{py3_sitescriptdir}/__pycache__/%{module}.cpython-*.py[co]
 %{py3_sitescriptdir}/%{egg_name}-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-repomd.git/commitdiff/32a53ca16ab529c335d21e3eb94b6385fc33bc7c

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to