Closed jayvdb closed 5 years ago
It does. It depends on the detection of license filenames though. But look e.g. at https://build.opensuse.org/package/view_file/openSUSE:Factory/perl-Test-Inter/perl-Test-Inter.spec?expand=1
If it doesn't work on an example then because this function failed: https://github.com/openSUSE/cpanspec/blob/master/cpanspec#L724
ok, ill retrace my steps to see which cases I encountered where it wasnt working.
As an aside, other differences with py2pack / spec-cleaner i've noticed
URL:
instead of Url:
BuildRoot:
... it is unnecessary with modern rpmbuild?BuildRoot is not necessary, no. And about URL vs Url exists a long discussion on opensuse-packaging - it's a matter of taste.
Well, https://grammarist.com/spelling/licence-license/ :)
But that should be a quick fix
I believe the generated spec's should use
%license
, similar to how https://github.com/openSUSE/py2pack/ works.