Re: Single RPM from multiple applications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In regard to: Re: Single RPM from multiple applications, Tim Mooney said...:

>%build
>
>cd %{FOO_SOURCE_DIR}-%{VERSION}
>	# do your build stuff...
>cd ../%{BAR_SOURCE_DIR}-%{VERSION}
>	# do your build stuff...
>cd ../%{BAZ_SOURCE_DIR}-%{VERSION}
>	# do your build stuff....

Should know not to reply when I'm in a rush.  Those %{VERSION} should
be %{FOO_VERSION}, %{BAR_VERSION}, and %{BAZ_VERSION}, respectively.

The advantage of using these is so that you don't have to hunt all over
the spec file when you update Baz from 1.0 to 1.1.  You just change a
couple of defines right at the top, and everything else stays the same.

Tim
-- 
Tim Mooney                              mooney@xxxxxxxxxxxxxxxxxxxxxxxxx
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux