44 lines
1.1 KiB
RPMSpec
44 lines
1.1 KiB
RPMSpec
Name: obs-service-download_files
|
|
Version: 0.6.2
|
|
Release: 2
|
|
Summary: An OBS source service: download files
|
|
License: GPLv2+
|
|
URL: https://github.com/openSUSE/%{name}
|
|
Source0: https://github.com/openSUSE/%{name}/archive/%{version}.tar.gz
|
|
BuildRequires: perl-Git
|
|
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
|
|
* Wed Jun 23 2021 wuchaochao <wuchaochao4@huawei.com> - 0.6.2-2
|
|
- add buildrequires: perl-Git
|
|
|
|
* Wed Sep 9 2020 Ge Wang <wangge20@huawei.com> - 0.6.2-1
|
|
- Modify Source0 Url
|
|
|
|
* Sat Mar 7 2020 Shijie Luo <luoshijie1@huawei.com> - 0.6.2-0
|
|
- Package init.
|