Skip to content

Commit 675aad1

Browse files
j-mracekdmach
authored andcommitted
Modify module NSVCA parsing - context definition (RhBug:1926771)
With introduction of a static context, the definition of context was changed, therefore we have to also change parsing algorithm. https://bugzilla.redhat.com/show_bug.cgi?id=1926771
1 parent c48791a commit 675aad1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libdnf/nsvcap.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace libdnf {
3333
#define MODULE_NAME "([" GLOB ASCII_LETTERS DIGITS MODULE_SPECIAL "]+)"
3434
#define MODULE_STREAM MODULE_NAME
3535
#define MODULE_VERSION "([" GLOB DIGITS "-]+)"
36-
#define MODULE_CONTEXT "([" GLOB HEXADECIMAL "-]+)"
36+
#define MODULE_CONTEXT MODULE_NAME
3737
#define MODULE_ARCH MODULE_NAME
3838
#define MODULE_PROFILE MODULE_NAME
3939

0 commit comments

Comments
 (0)