mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2025-01-09 01:40:55 +00:00
24 lines
499 B
Protocol Buffer
24 lines
499 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option go_package = "github.com/mstg/srpmproc/pb;srpmprocpb";
|
|
|
|
package srpmproc;
|
|
|
|
// Replace directive replaces literal files with other files.
|
|
// Replacing content can either be inline or in the same patch-tree.
|
|
message Replace {
|
|
// required - replaced file
|
|
string file = 1;
|
|
|
|
oneof replacing {
|
|
// replace with in-tree file
|
|
string with_file = 2;
|
|
|
|
// replace with inline content
|
|
string with_inline = 3;
|
|
}
|
|
}
|
|
|
|
message Cfg {
|
|
repeated Replace replace = 1;
|
|
}
|