Mailinglist Archive: opensuse-packaging (140 mails)
| < Previous | Next > |
[opensuse-packaging] BuildRoot Tag
- From: "Christian Morales Vega" <cmorve69@xxxxxxxx>
- Date: Sat, 9 Feb 2008 19:56:43 +0100
- Message-id: <8235e6f40802091056g48624c19u32d4bf20d23f7c97@xxxxxxxxxxxxxx>
I know that they are just recommendations and isn't so important at
all... but couldn't we agree at least with this?
I don't see any recommendation from Mandriva, openSUSE "prefers"
"%{_tmppath}/%{name}-%{version}-build", and Fedora says:
"The BuildRoot value MUST be below %{_tmppath}/ and MUST contain at
least %{name}, %{version} and %{release}. It may invoke mktemp since
this is guaranteed to exist on every system. From there, packagers are
expected to use a sane BuildRoot.
The recommended values for the BuildRoot tag are (in descending order
of preference) :
%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%{_tmppath}/%{name}-%{version}-%{release}-root
At one point, the second was a mandatory value, but it is now left to
the packager to decide. If unsure, simply pick the first."
http://fedoraproject.org/wiki/PackagingDrafts/BuildRoot
http://en.opensuse.org/SUSE_Package_Conventions/RPM_Style#1.16._BuildRoot_Tag
Someone has any problem in changing the SUSE Package Conventions/RPM
Style wiki and copying the text from Fedora?
Their option makes more sense anyway. With the openSUSE "preference"
two users at the same machine could try to create at the same time a
package of the same sotware/version with different spec files and end
using the same build directory.
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
all... but couldn't we agree at least with this?
I don't see any recommendation from Mandriva, openSUSE "prefers"
"%{_tmppath}/%{name}-%{version}-build", and Fedora says:
"The BuildRoot value MUST be below %{_tmppath}/ and MUST contain at
least %{name}, %{version} and %{release}. It may invoke mktemp since
this is guaranteed to exist on every system. From there, packagers are
expected to use a sane BuildRoot.
The recommended values for the BuildRoot tag are (in descending order
of preference) :
%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%{_tmppath}/%{name}-%{version}-%{release}-root
At one point, the second was a mandatory value, but it is now left to
the packager to decide. If unsure, simply pick the first."
http://fedoraproject.org/wiki/PackagingDrafts/BuildRoot
http://en.opensuse.org/SUSE_Package_Conventions/RPM_Style#1.16._BuildRoot_Tag
Someone has any problem in changing the SUSE Package Conventions/RPM
Style wiki and copying the text from Fedora?
Their option makes more sense anyway. With the openSUSE "preference"
two users at the same machine could try to create at the same time a
package of the same sotware/version with different spec files and end
using the same build directory.
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |