diff --git a/_service b/_service
deleted file mode 100644
index 1bd86b8..0000000
--- a/_service
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/python-vobject.changes b/python-vobject.changes
index 7cfb3f1..17e4aa5 100644
--- a/python-vobject.changes
+++ b/python-vobject.changes
@@ -1,3 +1,10 @@
+-------------------------------------------------------------------
+Thu Dec 6 14:25:23 UTC 2018 - Tomáš Chvátal
+
+- Remove useless service file
+- Make the tests unconditional
+- Fix the fdupes call
+
-------------------------------------------------------------------
Tue Nov 20 21:23:56 UTC 2018 - Hans-Peter Jansen
diff --git a/python-vobject.spec b/python-vobject.spec
index c8cf497..45077e3 100644
--- a/python-vobject.spec
+++ b/python-vobject.spec
@@ -17,17 +17,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without test
-
-Name: python-vobject
%global modname vobject
+Name: python-vobject
Version: 0.9.6.1
Release: 0
Summary: Python package for parsing and creating iCalendar and vCard files
License: Apache-2.0
Group: Development/Languages/Python
-Url: http://eventable.github.io/%{modname}/
-Source: https://pypi.io/packages/source/v/%{modname}/%{modname}-%{version}.tar.gz
+URL: http://eventable.github.io/%{modname}/
+Source: https://files.pythonhosted.org/packages/source/v/vobject/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module PyICU}
BuildRequires: %{python_module devel >= 2.7}
BuildRequires: %{python_module python-dateutil >= 2.4.0}
@@ -41,7 +39,6 @@ Requires(preun): update-alternatives
Recommends: python-PyICU
Provides: %{modname} = %{version}
Obsoletes: %{modname} < 0.9.2
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -64,12 +61,10 @@ sed -i 's/\r$//' ACKNOWLEDGEMENTS.txt
for p in change_tz ics_diff ; do
%python_clone -a %{buildroot}%{_bindir}/$p
done
-%fdupes %{buildroot}%{_prefix}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%if %{with test}
%check
%python_exec tests.py
-%endif
%post
%python_install_alternative change_tz
@@ -80,7 +75,6 @@ done
%python_uninstall_alternative ics_diff
%files %{python_files}
-%defattr(-,root,root)
%license LICENSE-2.0.txt
%doc ACKNOWLEDGEMENTS.txt README.md
%python_alternative %{_bindir}/change_tz