Accepting request 262334 from home:dsterba:branches:filesystems

- cron refresh: remove bashism
- cron refresh: remove debugging messages
- post installation must create the cron links (bsc#904518)
- Removed patches:
  * btrfsmaintenance-0.1-fix-bashisms.patch

OBS-URL: https://build.opensuse.org/request/show/262334
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsmaintenance?expand=0&rev=8
This commit is contained in:
David Sterba 2014-11-19 16:40:45 +00:00 committed by Git OBS Bridge
parent 7920979859
commit c33aea3cc8
4 changed files with 12 additions and 16 deletions

View File

@ -1,12 +0,0 @@
diff -Ndur btrfsmaintenance-0.1/btrfsmaintenance-refresh-cron.sh btrfsmaintenance-0.1-fix-bashisms/btrfsmaintenance-refresh-cron.sh
--- btrfsmaintenance-0.1/btrfsmaintenance-refresh-cron.sh 2014-10-29 18:36:45.000000000 +0200
+++ btrfsmaintenance-0.1-fix-bashisms/btrfsmaintenance-refresh-cron.sh 2014-11-15 06:52:30.882955935 +0200
@@ -31,7 +31,7 @@
. /etc/sysconfig/btrfsmaintenance
fi
-function refresh_period() {
+refresh_period() {
EXPECTED="$1"
SCRIPT="$2"
echo "Refresh script $SCRIPT for $EXPECTED"

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6a9d6d140da190db62806764ad61559acfecaf6a93aad52aef47098c195e11d9
size 10623
oid sha256:03e7fd8264cc2d2eba767043bf171d613bd40a66c30fd654afafb6cd2c67772d
size 10618

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Nov 19 00:00:00 CET 2014 - dsterba@suse.cz
- cron refresh: remove bashism
- cron refresh: remove debugging messages
- post installation must create the cron links (bsc#904518)
- Removed patches:
* btrfsmaintenance-0.1-fix-bashisms.patch
-------------------------------------------------------------------
Sat Nov 15 04:55:00 UTC 2014 - Led <ledest@gmail.com>

View File

@ -24,7 +24,6 @@ License: GPL-2.0
Group: System/Base
Url: https://github.com/kdave/btrfsmaintenance
Source0: %{name}-%{version}.tar.bz2
Patch0: %{name}-0.1-fix-bashisms.patch
Requires: zypp-plugin-python
Requires: libzypp(plugin:commit)
Recommends: cron
@ -42,7 +41,6 @@ on selected mountpoints or directories.
%prep
%setup -q
%patch0 -p1
%build
@ -81,6 +79,7 @@ install -m 644 -D sysconfig.btrfsmaintenance %{buildroot}%{_localstatedir}/adm/f
%if 0%{?suse_version} >= 1210
%service_add_post btrfsmaintenance-refresh.service
%endif
%{_datadir}/%{name}/btrfsmaintenance-refresh-cron.sh
%if 0%{?suse_version} >= 1210