diff --git a/.files b/.files
index 77539aa..c7a1d24 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 06222be..9f1cd87 100644
--- a/.rev
+++ b/.rev
@@ -114,4 +114,12 @@
611871
+
+ 2d21c13880ac138ce5ee72808c370522
+ 0.6.1
+
+ dimstar_suse
+
+ 785470
+
diff --git a/abook.changes b/abook.changes
index 5267d8d..074b3a5 100644
--- a/abook.changes
+++ b/abook.changes
@@ -1,8 +1,14 @@
-------------------------------------------------------------------
+Mon Mar 16 08:07:51 UTC 2020 - Wolfgang Rosenauer
+
+- fix build by owning some directories
+- clean up spec
+
+-------------------------------------------------------------------
Wed May 23 14:56:29 UTC 2018 - kbabioch@suse.com
- Use OpenPGP signature provided upstream
-- Added abook.keyring, which contains the key from the author
+- Added abook.keyring, which contains the key from the author
-------------------------------------------------------------------
Mon Oct 26 23:14:46 UTC 2015 - p.drouand@gmail.com
diff --git a/abook.spec b/abook.spec
index 78185b4..aa0ceb3 100644
--- a/abook.spec
+++ b/abook.spec
@@ -1,7 +1,7 @@
#
# spec file for package abook
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,27 +12,27 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: abook
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: gettext
-BuildRequires: ncurses-devel
-BuildRequires: readline-devel
-Recommends: %{name}-lang
+Version: 0.6.1
+Release: 0
Summary: Text-based addressbook program
License: GPL-2.0-or-later
Group: Productivity/Other
-Version: 0.6.1
-Release: 0
+URL: http://abook.sourceforge.net/
Source0: http://abook.sourceforge.net/devel/%{name}-%{version}.tar.gz
Source1: http://abook.sourceforge.net/devel/%{name}-%{version}.tar.gz.asc
Source2: %{name}.keyring
-Url: http://abook.sourceforge.net/
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: coreutils
+BuildRequires: gettext
+BuildRequires: ncurses-devel
+BuildRequires: readline-devel
+Recommends: %{name}-lang
%description
Abook is a text-based addressbook program designed to
@@ -41,20 +41,19 @@ use with mutt mail client.
%lang_package
%prep
-%setup -q -n %{name}-%{version}
+%setup -q
%build
autoreconf -fiv
export CFLAGS="%{optflags} -fgnu89-inline"
%configure
-make %{?_smp_mflags}
+%make_build
%install
%make_install
%find_lang %{name}
%files
-%defattr(-,root,root)
%doc AUTHORS BUGS ChangeLog FAQ NEWS README THANKS TODO sample.abookrc
%license COPYING
%{_bindir}/abook
@@ -62,6 +61,6 @@ make %{?_smp_mflags}
%{_mandir}/man5/abookrc.*
%files lang -f %{name}.lang
-%defattr(-,root,root)
+%dir %{_datadir}/locale/*/LC_TIME
%changelog