Use separate license and documentation directories
Apparently modulular server release needs to install python2- and python3- packages with different versions.
This commit is contained in:
		
							parent
							
								
									9a227e9f1e
								
							
						
					
					
						commit
						22c3d37ff4
					
				| @ -1,6 +1,6 @@ | |||||||
| Name:           python-systemd | Name:           python-systemd | ||||||
| Version:        234 | Version:        234 | ||||||
| Release:        3%{?dist} | Release:        4%{?dist} | ||||||
| Summary:        Python module wrapping systemd functionality | Summary:        Python module wrapping systemd functionality | ||||||
| 
 | 
 | ||||||
| License:        LGPLv2+ | License:        LGPLv2+ | ||||||
| @ -15,12 +15,11 @@ BuildRequires:  web-assets-devel | |||||||
| BuildRequires:  pytest | BuildRequires:  pytest | ||||||
| BuildRequires:  python3-pytest | BuildRequires:  python3-pytest | ||||||
| 
 | 
 | ||||||
| %global _docdir_fmt %{name} |  | ||||||
| %global _description \ | %global _description \ | ||||||
| Python module for native access to the systemd facilities.             \ | Python module for native access to the systemd facilities.\ | ||||||
| Functionality includes sending of structured messages to the journal   \ | Functionality includes sending of structured messages to the journal\ | ||||||
| and reading journal files, querying machine and boot identifiers and a \ | and reading journal files, querying machine and boot identifiers and a\ | ||||||
| lists of message identifiers provided by systemd. Other functionality  \ | lists of message identifiers provided by systemd. Other functionality\ | ||||||
| provided by libsystemd is also wrapped. | provided by libsystemd is also wrapped. | ||||||
| 
 | 
 | ||||||
| %description %_description | %description %_description | ||||||
| @ -32,7 +31,6 @@ Summary:        %{summary} | |||||||
| Provides:       systemd-python = %{version}-%{release} | Provides:       systemd-python = %{version}-%{release} | ||||||
| Provides:       systemd-python%{?_isa} = %{version}-%{release} | Provides:       systemd-python%{?_isa} = %{version}-%{release} | ||||||
| Obsoletes:      systemd-python < 230 | Obsoletes:      systemd-python < 230 | ||||||
| Conflicts:      python3-systemd < %{version}-%{release} |  | ||||||
| Recommends:	%{name}-doc | Recommends:	%{name}-doc | ||||||
| 
 | 
 | ||||||
| %description -n python2-systemd %_description | %description -n python2-systemd %_description | ||||||
| @ -44,7 +42,6 @@ Summary:        %{summary} | |||||||
| Provides:       systemd-python3 = %{version}-%{release} | Provides:       systemd-python3 = %{version}-%{release} | ||||||
| Provides:       systemd-python3%{?_isa} = %{version}-%{release} | Provides:       systemd-python3%{?_isa} = %{version}-%{release} | ||||||
| Obsoletes:      systemd-python3 < 230 | Obsoletes:      systemd-python3 < 230 | ||||||
| Conflicts:      python2-systemd < %{version}-%{release} |  | ||||||
| Recommends:	%{name}-doc | Recommends:	%{name}-doc | ||||||
| 
 | 
 | ||||||
| %description -n python3-systemd %_description | %description -n python3-systemd %_description | ||||||
| @ -99,6 +96,9 @@ make PYTHON=%{__python3} check | |||||||
| %doc %{_pkgdocdir}/html | %doc %{_pkgdocdir}/html | ||||||
| 
 | 
 | ||||||
| %changelog | %changelog | ||||||
|  | * Wed Nov  1 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 234-4 | ||||||
|  | - Use separate license and documentation directories | ||||||
|  | 
 | ||||||
| * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 234-3 | * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 234-3 | ||||||
| - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user