From 2610033d1de5de03d5bf8b1d97326cf12b2cb8718489ad1562e5b29d589e0938 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Wed, 7 Aug 2019 13:07:45 +0000 Subject: [PATCH] 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 . 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 --- _service | 3 ++- clone-master-clean-up.changes | 10 ++++++++++ clone-master-clean-up.obsinfo | 6 ------ clone-master-clean-up.spec | 10 +++++++--- 4 files changed, 19 insertions(+), 10 deletions(-) delete mode 100644 clone-master-clean-up.obsinfo diff --git a/_service b/_service index cd06b29..f0298c5 100644 --- a/_service +++ b/_service @@ -2,7 +2,8 @@ git https://github.com/SUSE/clone-master-clean-up.git - HEAD + @PARENT_TAG@.@TAG_OFFSET@ + master .git * diff --git a/clone-master-clean-up.changes b/clone-master-clean-up.changes index e50351c..c70e5cf 100644 --- a/clone-master-clean-up.changes +++ b/clone-master-clean-up.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Aug 7 11:00:14 UTC 2019 - Egbert Eich + +- 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 . + ------------------------------------------------------------------- Fri Aug 2 13:08:25 UTC 2019 - Egbert Eich diff --git a/clone-master-clean-up.obsinfo b/clone-master-clean-up.obsinfo deleted file mode 100644 index 983a7f2..0000000 --- a/clone-master-clean-up.obsinfo +++ /dev/null @@ -1,6 +0,0 @@ -name: clone-master-clean-up -scmdir: clone-master-clean-up_service -version: HEAD -mtime: 1565013193 -commit: b13528949272fd7cecd04bd07f9e39f9e13363f9 - diff --git a/clone-master-clean-up.spec b/clone-master-clean-up.spec index bb62ea2..3e3d1a7 100644 --- a/clone-master-clean-up.spec +++ b/clone-master-clean-up.spec @@ -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