[opensuse-factory] [Factory only] Licenses and spdx
Hi, I think I did a submit request for all packages that will fail now, so I decided to go ahead and make "invalid-license" a fatal error in rpmlint. To avoid all packages not in factory failing too (I only care for things openSUSE ships as part of the distribution to have a valid license), I added rpmlint-Factory-strict to only apply in openSUSE:Factory:* itself. But I encourage you to add this to your devel project: Support: rpmlint-Factory-strict and fix the fallout. osc service localrun format_spec_file (with uptodate obs-service-format_spec_file from openSUSE:Tools) will rewrite most license strings to the correct format. This is btw something else I encourage you to do: add the _service file from openSUSE:Factory/_project to your devel project's _project (just osc co devel:tools/_project and osc add _service). This way new packages in your devel project will get the spec file format factory expects. And you will always have the option to commit with --skip-local-services. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, Mar 06, 2013 at 09:20:58AM +0100, Stephan Kulow wrote:
Hi,
I think I did a submit request for all packages that will fail now, so I decided to go ahead and make "invalid-license" a fatal error in rpmlint.
To avoid all packages not in factory failing too (I only care for things openSUSE ships as part of the distribution to have a valid license), I added rpmlint-Factory-strict to only apply in openSUSE:Factory:* itself.
But I encourage you to add this to your devel project:
Support: rpmlint-Factory-strict
and fix the fallout. osc service localrun format_spec_file (with uptodate obs-service-format_spec_file from openSUSE:Tools) will rewrite most license strings to the correct format.
This is btw something else I encourage you to do: add the _service file from openSUSE:Factory/_project to your devel project's _project (just osc co devel:tools/_project and osc add _service). This way new packages in your devel project will get the spec file format factory expects. And you will always have the option to commit with --skip-local-services.
Hi, just simple HOWTO cd $devel osc co $devel/_project osc co openSUSE:Factory/_project #devel:tools/_project is empty cd $devel/_project cp ../../openSUSE:Factory/_project/_service . osc add _service osc ci -m "add _servive from openSUSE:Factory" Regards Michal Vyskocil
On 6 March 2013 08:20, Stephan Kulow
This is btw something else I encourage you to do: add the _service file from openSUSE:Factory/_project to your devel project's _project (just osc co devel:tools/_project and osc add _service). This way new packages in your devel project will get the spec file format factory expects. And you will always have the option to commit with --skip-local-services.
$ osc build openSUSE_Factory x86_64 Run source service: /usr/lib/obs/service/format_spec_file --outdir /tmp/tmpUitj8j Run source service: /usr/lib/obs/service/source_validator --outdir /tmp/tmpTh1RLb Run source service: /usr/lib/obs/service/format_spec_file --outdir /tmp/tmpG_2LbH Run source service: /usr/lib/obs/service/source_validator --outdir /tmp/tmpxHaVvd The services seem to be inherited. So doing as you say only duplicates them. Is this because the osc in my machine is too old? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 06.03.2013 09:20, schrieb Stephan Kulow:
Hi,
I think I did a submit request for all packages that will fail now,
It would have been nice to actually make sure that those SRs to factory are already accepted before arming the rpmlint bomb. Would have saved me some time trying to find out why a package failing in factory does not fail for me when I try to fix it :-) -- Stefan Seyfried "If your lighter runs out of fluid or flint and stops making fire, and you can't be bothered to figure out about lighter fluid or flint, that is not Zippo's fault." -- bkw -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Cristian Morales Vega
-
Michal Vyskocil
-
Stefan Seyfried
-
Stephan Kulow