forked from pool/obs-service-tar_scm
* removed BuildRequires for python-keyring and python-keyring.alt
* enable gbp based on repo macro config OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=272
This commit is contained in:
parent
11cb706f75
commit
b73dfcaa9a
@ -120,10 +120,6 @@ BuildRequires: %{pyyaml_package}
|
||||
BuildRequires: %{use_python}-argparse
|
||||
%endif
|
||||
BuildRequires: %{use_python}-dateutil
|
||||
%if 0
|
||||
BuildRequires: %{use_python}-keyring
|
||||
BuildRequires: %{use_python}-keyrings.alt
|
||||
%endif
|
||||
# Why do we need this? we dont use it as runtime requires later
|
||||
BuildRequires: %{use_python}-lxml
|
||||
|
||||
@ -207,6 +203,7 @@ Provides: obs-service-tar_scm:/usr/lib/obs/service/snapcraft.service
|
||||
Experimental snapcraft support: This parses snapcraft.yaml files for SCM
|
||||
resources and packages them.
|
||||
|
||||
%if 0%{?enable_gbp}
|
||||
%package -n obs-service-gbp
|
||||
Summary: Creates Debian source artefacts from a Git repository
|
||||
Group: Development/Tools/Building
|
||||
@ -217,6 +214,7 @@ Provides: obs-service-tar_scm:/usr/lib/obs/service/obs_gbp.service
|
||||
%description -n obs-service-gbp
|
||||
Debian git-buildpackage workflow support: uses gbp to create Debian
|
||||
source artefacts (.dsc, .origin.tar.gz and .debian.tar.gz if non-native).
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n obs-service-tar_scm-%version
|
||||
@ -268,8 +266,10 @@ make %{use_test}
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/lib/obs/service/snapcraft*
|
||||
|
||||
%if 0%{?enable_gbp}
|
||||
%files -n obs-service-gbp
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/lib/obs/service/obs_gbp*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user