Group :: Desenvolvimento/Outros
RPM: ubt-common
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define branch_prefix .
%define branch_id S3
%define branch_suffix %%nil
Name: ubt-common
Version: 0.4
Release: alt1
Group: Development/Other
Summary: Common Universal Branch Tag
Url: http://www.altlinux.org
License: GPL
BuildArch: noarch
Source1: macros
%description
Base set of RPM macroses for building one tag for all binary branches.
%package -n rpm-macros-ubt
Summary: Base set of RPM macros for packaging Universal Branch Tag
Group: Development/Other
%description -n rpm-macros-ubt
Base set of RPM macroses for building one tag for all binary branches.
%prep
%setup -cT
%install
install -D -m 0644 %SOURCE1 %buildroot/%_rpmmacrosdir/ubt
cat <<__EOF__ >%buildroot/%_rpmmacrosdir/ubt
%%__ubt_branch_prefix %branch_prefix
%%__ubt_branch_id %branch_id
%%__ubt_branch_suffix %branch_suffix
__EOF__
%files -n rpm-macros-ubt
%_rpmmacrosdir/ubt
%changelog
…
Todas as alterações você pod ver aqui
%define branch_prefix .
%define branch_id S3
%define branch_suffix %%nil
Name: ubt-common
Version: 0.4
Release: alt1
Group: Development/Other
Summary: Common Universal Branch Tag
Url: http://www.altlinux.org
License: GPL
BuildArch: noarch
Source1: macros
%description
Base set of RPM macroses for building one tag for all binary branches.
%package -n rpm-macros-ubt
Summary: Base set of RPM macros for packaging Universal Branch Tag
Group: Development/Other
%description -n rpm-macros-ubt
Base set of RPM macroses for building one tag for all binary branches.
%prep
%setup -cT
%install
install -D -m 0644 %SOURCE1 %buildroot/%_rpmmacrosdir/ubt
cat <<__EOF__ >%buildroot/%_rpmmacrosdir/ubt
%%__ubt_branch_prefix %branch_prefix
%%__ubt_branch_id %branch_id
%%__ubt_branch_suffix %branch_suffix
__EOF__
%files -n rpm-macros-ubt
%_rpmmacrosdir/ubt
%changelog
…
Todas as alterações você pod ver aqui