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
This commit is contained in:
parent
4a54b0199f
commit
37d94f131c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user