%ifarch 条件は、アーキテクチャー固有の spec ファイルのブロックを開始するために使用されます。この後に、アーキテクチャー指定子が続きます。これらは、それぞれ ...
%ifarch 条件、 %ifnarch 条件、 %ifos 条件は、 %if 条件の特殊なバリアントです。これらのバリアントは一般的に使用されるため、独自のマクロがあります。
2015/9/18 -RPM では通常の方式として、 %if 表現などで複雑な構築方法を指定することができます: %if 0%(test "%something" = "enabled" && echo 1). ただし ...
2013/9/9 -How can I, within the %files section, verify them? I can't use variable...I can't verify both paths because one will for sure fail...I tried to ...
%ifos is used to control RPM's spec file processing according to the build target operating system. %if can be used for various purposes. The test can be ...
The %ifarch conditional is used to begin a section of the spec file that is architecture-specific. It is followed by one or more architecture specifiers.
Q.ファイルが壊れたことによって、PCを起動することが出来ません。F8やAlt+F10など試しましたが、ブルースクリーンが表示されてしまいす。どうしたらPCを元のように使えるでしょうか 初めて利用さ...
A.まずは物理メモリの故障を疑ってみると良いでしょう。 物理メモリをすべて抜いて、1本だけ挿します。 すべての物理メモリを試し、正常に動作するものがあれば、 物理メモリの故障です。 いずれの物理メモ...
Q.LinuxのDebian(Buster)のGCCを使用して下記の、MP3ファイルの 演奏プログラム play_mp3X.cに関する質問です。 gccでコンパイルしますと、includeで下記のエ...
A.sudo apt install libpulse-dev とやってからコンパイルしてみてください。
Q.bccのバグでしょうか?vistaを使用しています。argc の値が、モニター用の printf の有るなしでぐらぐら揺れているみたいです。 printf の有る時は値を保持、無い時は全然違う値...
A.argc に、異常が、ある訳がありません。 絶対に、有り得ません。 単なる、初心者プログラマーに、頻繁に、よく見られる、責任転嫁です。 プログラムを読まなくても、こういう時は、大体、決まっ...
2022/7/28 -Spec has its own syntax for conditionals, you need to use something like this: %if %{test} == "true" %attr(0644, user1,user1) /home/user1/file1.txt %endif
2024/2/8 -The %if is a bit more flexible. We can use it to compare strings. %if "%_repository" == "openSUSE_Tumbleweed" [snip] %endif. First of ...
The %ifxxx conditionals are used to begin a section of the spec file that is specific to a particular architecture or operating system.
2008/7/4 -specファイルが提供されているtarballの場合、比較的簡単にRPMバイナリパッケージを生成することができます。 まず、tarballからspecファイルを取り出し、 ...