-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix `update_value()` The implementation didn't account for a case when a macro definition needed to be commented out to succesfully set the new value but it was commented out already. This commit fixes that. Reviewed-by: František Lachman <[email protected]> Reviewed-by: Laura Barcziová Reviewed-by: Nikola Forró
- Loading branch information
Showing
9 changed files
with
145 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
From b7af0b9194585c6d208de3a0e9978d5ad9c5d97b Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <[email protected]> | ||
Date: Wed, 16 Mar 2022 10:29:59 +0100 | ||
Subject: [PATCH 1/3] patch0 | ||
|
||
--- | ||
test.txt | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/test.txt b/test.txt | ||
index 9daeafb..dec2cbe 100644 | ||
--- a/test.txt | ||
+++ b/test.txt | ||
@@ -1 +1,2 @@ | ||
test | ||
+test | ||
-- | ||
2.35.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
From 6d5d1561b3ccf2df9d001a7af011144acc352361 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <[email protected]> | ||
Date: Wed, 16 Mar 2022 10:30:15 +0100 | ||
Subject: [PATCH 2/3] patch1 | ||
|
||
--- | ||
test.txt | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/test.txt b/test.txt | ||
index dec2cbe..0867e73 100644 | ||
--- a/test.txt | ||
+++ b/test.txt | ||
@@ -1,2 +1,3 @@ | ||
test | ||
test | ||
+test | ||
-- | ||
2.35.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
From ae1d3bbca0caf1cce1842ceab4c6d7252c0a7bd8 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <[email protected]> | ||
Date: Wed, 16 Mar 2022 10:30:29 +0100 | ||
Subject: [PATCH 3/3] patch2 | ||
|
||
--- | ||
test.txt | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/test.txt b/test.txt | ||
index 0867e73..d0c7fbe 100644 | ||
--- a/test.txt | ||
+++ b/test.txt | ||
@@ -1,3 +1,4 @@ | ||
test | ||
test | ||
test | ||
+test | ||
-- | ||
2.35.1 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
%global majorver 0 | ||
%global minorver 1 | ||
%global patchver 2 | ||
%global basever %{majorver}.%{minorver}.%{patchver} | ||
|
||
%global prerel rc2 | ||
|
||
%global pkgver %{basever}%{?prerel:~%{prerel}} | ||
%global upsver %{basever}%{?prerel:-%{prerel}} | ||
|
||
Name: test | ||
Version: %{pkgver} | ||
Release: 1%{?dist} | ||
Summary: Test package | ||
|
||
License: MIT | ||
|
||
Source0: https://example.com/archive/%{name}/v%{majorver}.%{minorver}/%{name}-v%{upsver}.tar.xz | ||
Patch0: patch0.patch | ||
Patch1: patch1.patch | ||
Patch2: patch2.patch | ||
|
||
|
||
%description | ||
Test package | ||
|
||
|
||
%prep | ||
%autosetup -p1 -n %{name}-%{upsver} | ||
|
||
|
||
%changelog | ||
* Thu Jun 07 2018 Nikola Forró <[email protected]> - 0.1.2~rc2-1 | ||
- first version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters