forked from pool/clone-master-clean-up
Accepting request 721522 from home:eeich:branches:systemsmanagement
- Install README.md and license file, fix build warnings. - Fix _service-file: * Replace 'HEAD' version by 'master' branch: Right now, this project has just one single branch - track this as the release branch. * Add <versionformat>. OBS-URL: https://build.opensuse.org/request/show/721522 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/clone-master-clean-up?expand=0&rev=2
This commit is contained in:
parent
56088d92cd
commit
2610033d1d
3
_service
3
_service
@ -2,7 +2,8 @@
|
|||||||
<service name="obs_scm" mode="disabled">
|
<service name="obs_scm" mode="disabled">
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="url">https://github.com/SUSE/clone-master-clean-up.git</param>
|
<param name="url">https://github.com/SUSE/clone-master-clean-up.git</param>
|
||||||
<param name="version">HEAD</param>
|
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@</param>
|
||||||
|
<param name="revision">master</param>
|
||||||
<param name="exclude">.git</param>
|
<param name="exclude">.git</param>
|
||||||
<param name="extract">*</param>
|
<param name="extract">*</param>
|
||||||
</service>
|
</service>
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 7 11:00:14 UTC 2019 - Egbert Eich <eich@suse.com>
|
||||||
|
|
||||||
|
- Install README.md and license file, fix build warnings.
|
||||||
|
- Fix _service-file:
|
||||||
|
* Replace 'HEAD' version by 'master' branch:
|
||||||
|
Right now, this project has just one single branch - track
|
||||||
|
this as the release branch.
|
||||||
|
* Add <versionformat>.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 2 13:08:25 UTC 2019 - Egbert Eich <eich@suse.com>
|
Fri Aug 2 13:08:25 UTC 2019 - Egbert Eich <eich@suse.com>
|
||||||
|
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
name: clone-master-clean-up
|
|
||||||
scmdir: clone-master-clean-up_service
|
|
||||||
version: HEAD
|
|
||||||
mtime: 1565013193
|
|
||||||
commit: b13528949272fd7cecd04bd07f9e39f9e13363f9
|
|
||||||
|
|
@ -26,6 +26,8 @@ Source0: clone-master-clean-up.sh
|
|||||||
Source1: clone-master-clean-up.1
|
Source1: clone-master-clean-up.1
|
||||||
Source2: sysconfig.clone-master-clean-up
|
Source2: sysconfig.clone-master-clean-up
|
||||||
Source3: custom_remove.template
|
Source3: custom_remove.template
|
||||||
|
Source10: LICENSE
|
||||||
|
Source11: README.md
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Requires: systemd sed curl coreutils
|
Requires: systemd sed curl coreutils
|
||||||
Requires(post): %fillup_prereq
|
Requires(post): %fillup_prereq
|
||||||
@ -42,6 +44,7 @@ Clean up a system for cloning preparation by cleaning up usage history and log f
|
|||||||
%prep
|
%prep
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
cp %{S:10} %{S:11} .
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_sbindir}
|
mkdir -p %{buildroot}%{_sbindir}
|
||||||
@ -62,11 +65,12 @@ mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/
|
|||||||
%fillup_only -n clone-master-clean-up
|
%fillup_only -n clone-master-clean-up
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%doc %{basename:%{S:11}}
|
||||||
|
%license %{basename:%{S:10}}
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%config %{_fillupdir}/*
|
%{_fillupdir}/*
|
||||||
%dir %{_datadir}/%{name}
|
%dir %{_datadir}/%{name}
|
||||||
%dir %{_sysconfdir}/%{name}
|
%dir %{_sysconfdir}/%{name}
|
||||||
%config %{_datadir}/%{name}/custom_remove.template
|
%{_datadir}/%{name}/custom_remove.template
|
||||||
%ghost %config %{_sysconfdir}/%{name}/custom_remove
|
%ghost %config %{_sysconfdir}/%{name}/custom_remove
|
||||||
|
Loading…
x
Reference in New Issue
Block a user