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
|
Name: obs-service-set_version
|
||||||
Version: 0.5.10
|
Version: 0.5.10
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Set the version in spec
|
Summary: Set the version in spec
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/openSUSE/obs-service-set_version
|
URL: https://github.com/openSUSE/obs-service-set_version
|
||||||
Source: https://github.com/openSUSE/obs-service-set_version/archive/%{version}/%{name}-%{version}.tar.gz
|
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
|
Requires: python3
|
||||||
BuildArch: noarch
|
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
|
install -m 0755 set_version %{buildroot}%{_prefix}/lib/obs/service
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} -m unittest discover tests/
|
%{__python3} -m unittest discover -p data_test* tests/
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license debian/copyright
|
%license debian/copyright
|
||||||
@ -33,5 +33,7 @@ install -m 0755 set_version %{buildroot}%{_prefix}/lib/obs/service
|
|||||||
%{_prefix}/lib/obs/service
|
%{_prefix}/lib/obs/service
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Mar 5 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.5.10-4
|
||||||
- DESC:init package
|
- DESC:init package
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user