layerindex-web/layerindex/migrations/0037_patch_applied.py
Paul Eggleton 4abd0174fa Determine if spec file patches are actually applied and striplevel
There's a little more to patch handling in spec files than "patchX:"
fields - the patch actually has to be applied in the %prep section as
well, though this can take one of several forms (%autosetup / %autopatch
which apply all patches, individual %patchX directives, or even direct
application (rare). There's also the matter of the striplevel (-p option
to the patch command). Add fields to record whether or not a patch is
applied and the striplevel.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2019-07-17 11:31:04 +12:00

21 lines
459 B
Python

# -*- coding: utf-8 -*-
# Generated by Django 1.11.16 on 2019-04-03 12:20
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('layerindex', '0036_layerbranch_local_path'),
]
operations = [
migrations.AddField(
model_name='patch',
name='applied',
field=models.BooleanField(default=True),
),
]