modify the spec file,do not need python3-devel and python3dist(packaging) for building
This commit is contained in:
parent
cbe9b35e22
commit
1b7e4599de
@ -1,11 +1,11 @@
|
||||
Name: obs-service-set_version
|
||||
Version: 0.5.10
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: Set the version in spec
|
||||
License: GPLv2+
|
||||
URL: https://github.com/openSUSE/obs-service-set_version
|
||||
Source: https://github.com/openSUSE/obs-service-set_version/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: sed python3dist(packaging) python3-devel
|
||||
BuildRequires: sed
|
||||
Requires: python3
|
||||
BuildArch: noarch
|
||||
|
||||
@ -25,7 +25,7 @@ install -m 0644 set_version.service %{buildroot}%{_prefix}/lib/obs/service
|
||||
install -m 0755 set_version %{buildroot}%{_prefix}/lib/obs/service
|
||||
|
||||
%check
|
||||
%{__python3} -m unittest discover tests/
|
||||
%{__python3} -m unittest discover -p data_test* tests/
|
||||
|
||||
%files
|
||||
%license debian/copyright
|
||||
@ -33,5 +33,7 @@ install -m 0755 set_version %{buildroot}%{_prefix}/lib/obs/service
|
||||
%{_prefix}/lib/obs/service
|
||||
|
||||
%changelog
|
||||
* Sat Mar 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.5.10-5
|
||||
- DESC:modify the spec file,do not need python3-devel and python3dist(packaging) for building
|
||||
* Thu Mar 5 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.5.10-4
|
||||
- DESC:init package
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user