make common description
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
		
							parent
							
								
									7d95615d04
								
							
						
					
					
						commit
						60fc488d03
					
				| @ -11,10 +11,12 @@ Source0:        https://pypi.io/packages/source/%(n=%{srcname}; echo ${n:0:1})/% | ||||
| 
 | ||||
| BuildArch:      noarch | ||||
| 
 | ||||
| %description | ||||
| A library for handling computations with address ranges. The library also offers | ||||
| %global _description \ | ||||
| A library for handling computations with address ranges. The library also offers\ | ||||
| a configurable way to extract the representation of a value. | ||||
| 
 | ||||
| %description %{_description} | ||||
| 
 | ||||
| %package -n python2-%{srcname} | ||||
| Summary:        %{summary} | ||||
| %{?python_provide:%python_provide python2-%{srcname}} | ||||
| @ -23,9 +25,9 @@ BuildRequires:  python2-setuptools | ||||
| Requires:       python2-justbases | ||||
| Requires:       python2-six | ||||
| 
 | ||||
| %description -n python2-%{srcname} | ||||
| A library for handling computations with address ranges. The library also offers | ||||
| a configurable way to extract the representation of a value. | ||||
| %description -n python2-%{srcname} %{_description} | ||||
| 
 | ||||
| Python 2 version. | ||||
| 
 | ||||
| %package -n python3-%{srcname} | ||||
| Summary:        %{summary} | ||||
| @ -35,9 +37,9 @@ BuildRequires:  python3-setuptools | ||||
| Requires:       python3-justbases | ||||
| Requires:       python3-six | ||||
| 
 | ||||
| %description -n python3-%{srcname} | ||||
| A library for handling computations with address ranges. The library also offers | ||||
| a configurable way to extract the representation of a value. | ||||
| %description -n python3-%{srcname} %{_description} | ||||
| 
 | ||||
| Python 3 version. | ||||
| 
 | ||||
| %prep | ||||
| %autosetup -n %{srcname}-%{version} | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user