Changeset 159
- Timestamp:
- 02/01/11 17:38:34 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debbuild
r158 r159 1718 1718 $macrostring =~ s|%{_vendor}|$specglobals{'_vendor'}|g; 1719 1719 1720 # system programs. RPM uses a global config file for these; we'll just 1721 # ASS-U-ME and make life a little simpler. 1722 if ($macrostring =~ /\%\{\_\_([a-z0-9_-]+)\}/) { 1723 $macrostring =~ s|%{__([a-z0-9_-]+)}|$1|g; 1724 } 1725 1720 1726 # should probably stick a "no runaway" flag in here... Just In Case... 1721 1727 # %define's … … 1726 1732 $macrostring =~ s|%{$key}|$specglobals{$key}|g; 1727 1733 # wanna limit this to "... if $specglobals{$key}", but need more magic 1728 }1729 1730 # system programs. RPM uses a global config file for these; we'll just1731 # ASS-U-ME and make life a little simpler.1732 if ($macrostring =~ /\%\{\_\_([a-z0-9_-]+)\}/) {1733 $macrostring =~ s|%{__([a-z0-9_-]+)}|$1|g;1734 1734 } 1735 1735
Note:
See TracChangeset
for help on using the changeset viewer.