Skip to contentSkip to conversation

master - spec: Replace remaining %define by %global

PATCH Marian Csontos 1 participant 1 message Mar 16, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=19b65a3d76e8e316a11c59a690b82bff3203566c
Commit:        19b65a3d76e8e316a11c59a690b82bff3203566c
Parent:        7067514c9b3e5af88629799a4bd60614ef776a9d
Author:        Marian Csontos <[email protected]>
AuthorDate:    Fri Sep 16 17:30:01 2016 +0200
Committer:     Marian Csontos <[email protected]>
CommitterDate: Thu Mar 16 13:03:24 2017 +0100

spec: Replace remaining %define by %global

---
 spec/lvm2.spec  |    2 +-
 spec/macros.inc |   94 +++++++++++++++++++++++++++---------------------------
 2 files changed, 48 insertions(+), 48 deletions(-)
spec/lvm2.spec +1 -1
index c6373bc..18b1821 100644
@@ -14,7 +14,7 @@
 # on those systems.
 
 # A macro to pull in an include file from an appropriate location.
-%define import() %include %(test -e %{S:%1} && echo %{S:%1} || echo %{_sourcedir}/%1)
+%global import() %%include %%(test -e %%{S:%%1} && echo %%{S:%%1} || echo %%{_sourcedir}/%%1)
 
 %import source.inc
 
spec/macros.inc +47 -47

117 lines not on this page · raw message