|
|
|
@ -177,7 +177,6 @@ mv dist/build/%{name}/%{name}{,.static}
|
|
|
|
|
mv %{buildroot}%{_bindir}/%{name}{,.dynamic}
|
|
|
|
|
install dist/build/%{name}/%{name}.static %{buildroot}%{_bindir}
|
|
|
|
|
touch %{buildroot}%{_bindir}/%{name}
|
|
|
|
|
rm %{buildroot}%{_pkgdocdir}/COPYING
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
rm %{buildroot}%{_datadir}/%{name}-%{version}/{COPYRIGHT,README}
|
|
|
|
@ -188,9 +187,7 @@ install -m 0644 -p -D man/pandoc.1 %{buildroot}%{_mandir}/man1/pandoc.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
%cabal test
|
|
|
|
|
%endif
|
|
|
|
|
%cabal_test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with static}
|
|
|
|
|