commit
6a8656c989
BIN
obs-service-download_files-0.6.2.tar.gz
Normal file
BIN
obs-service-download_files-0.6.2.tar.gz
Normal file
Binary file not shown.
36
obs-service-download_files.spec
Normal file
36
obs-service-download_files.spec
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
Name: obs-service-download_files
|
||||||
|
Version: 0.6.2
|
||||||
|
Release: 0
|
||||||
|
Summary: An OBS source service: download files
|
||||||
|
License: GPLv2+
|
||||||
|
URL: https://github.com/openSUSE/%{name}
|
||||||
|
Source0: %{url}/archive/%{name}-%{version}.tar.gz
|
||||||
|
Requires: wget perl(YAML::XS) diffutils
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
This is a source service for openEuler Build Service.
|
||||||
|
This service downloads all source files and parses all
|
||||||
|
spec files needed for building.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version} -p1 -Sgit
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl -p -i -e "s{#!/usr/bin/env bash}{#!/bin/bash}" download_files
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
%license COPYING
|
||||||
|
%config(noreplace) %{_sysconfdir}/obs/services/*
|
||||||
|
%dir %{_prefix}/lib/obs
|
||||||
|
%dir %{_sysconfdir}/obs
|
||||||
|
%dir %{_sysconfdir}/obs/services
|
||||||
|
%{_prefix}/lib/obs/service
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Mar 7 2020 Shijie Luo <luoshijie1@huawei.com> - 0.6.2-0
|
||||||
|
- Package init.
|
||||||
Loading…
x
Reference in New Issue
Block a user