12
0

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:
2019-08-07 13:07:45 +00:00
committed by Git OBS Bridge
parent 56088d92cd
commit 2610033d1d
4 changed files with 19 additions and 10 deletions

View File

@@ -26,6 +26,8 @@ Source0: clone-master-clean-up.sh
Source1: clone-master-clean-up.1
Source2: sysconfig.clone-master-clean-up
Source3: custom_remove.template
Source10: LICENSE
Source11: README.md
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: systemd sed curl coreutils
Requires(post): %fillup_prereq
@@ -42,6 +44,7 @@ Clean up a system for cloning preparation by cleaning up usage history and log f
%prep
%build
cp %{S:10} %{S:11} .
%install
mkdir -p %{buildroot}%{_sbindir}
@@ -62,11 +65,12 @@ mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/
%fillup_only -n clone-master-clean-up
%files
%defattr(-,root,root)
%doc %{basename:%{S:11}}
%license %{basename:%{S:10}}
%{_sbindir}/*
%{_mandir}/man1/*
%config %{_fillupdir}/*
%{_fillupdir}/*
%dir %{_datadir}/%{name}
%dir %{_sysconfdir}/%{name}
%config %{_datadir}/%{name}/custom_remove.template
%{_datadir}/%{name}/custom_remove.template
%ghost %config %{_sysconfdir}/%{name}/custom_remove