Add two more cases of what not to curlify undefine and docdir.
%{_docdir} path should be %{_datadir}/doc/packages
Merge pull request #19 from ciz/master

%{_docdir} path should be %{_datadir}/doc/packages
Fix year replacement.
Add detection if we use lowercase defined dirs and then glue next to them rather than going to top.
Add test for huge macro i wrote in libreoffice.
Fix breaking of the hugedefine test.
Drop versiondefine test as the order does not matter to rpm. Place of use does.
Fix conditonal packages parsing at least for most cases.