Browse Source

add two very useful macros seen on rpm-list

master
parent
commit
444cad2813
  1. 4
      openpkg/openpkg.spec
  2. 4
      openpkg/rpmmacros

4
openpkg/openpkg.spec

@ -39,8 +39,8 @@
# o any cc(1)
# the package version and release
%define V_openpkg 20020221
%define R_openpkg 20020221
%define V_openpkg 20020222
%define R_openpkg 20020222
# the used software versions
%define V_rpm 4.0.2

4
openpkg/rpmmacros

@ -189,3 +189,7 @@
# package signature type is OpenPGP via GnuPG
%_signature gpg
# two macro-processor add-ons (should be part of forthcoming RPM releases)
%ifdef() %if %{expand:%%{?%{1}:1}%%{!?%{1}:0}}
%ifndef() %if %{expand:%%{?%{1}:0}%%{!?%{1}:1}}

Loading…
Cancel
Save