From 37d94f131c74236b069dfe0305f05e8bc6addf235f18dd1a59f13faa909baad7 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Sun, 16 Oct 2011 18:22:48 +0000 Subject: [PATCH] add %doc file, add make test, fix workaround for infodir/dir OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=4 --- dateutils.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dateutils.spec b/dateutils.spec index 3b98e22..7c66699 100644 --- a/dateutils.spec +++ b/dateutils.spec @@ -36,10 +36,13 @@ export CCFLAGS="$CFLAGS" %makeinstall # needed on RHEL6, Mandriva, Fedora -%__rm -f "%{buildroot}%{_infodir}" +%__rm -f "%{buildroot}%{_infodir}/dir" %__rm -rf "%{buildroot}%{_includedir}/dateutils" +%check +%__make test + %post %install_info --info-dir="%{_infodir}" "%{_infodir}/%{name}.info%{ext_info}" @@ -51,6 +54,7 @@ export CCFLAGS="$CFLAGS" %files %defattr(-,root,root) +%doc README %{_bindir}/dcal %{_bindir}/dseq %{_bindir}/ttest