Group :: Desenvolvimento/Outros
RPM: gear-restore-tags
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# vim: set ft=spec: -*- rpm-spec -*-
# %%branch_switch set %%branch_release use
%define branch_switch M41
Name: gear-restore-tags
Version: 0.0.2
Release: %branch_release alt1
Summary: Manage restored tags in the package repository
License: %gpl2plus
Group: Development/Other
Packager: Aleksey Avdeev <solo at altlinux.ru>
BuildArch: noarch
Source0: %name
Requires: gear >= 1.3.0
# For fix non-identical noarch packages
Requires: git-core
BuildRequires(pre): rpm-macros-branch
BuildPreReq: rpm-build-licenses
%description
%summary
%install
install -pD -m755 %SOURCE0 %buildroot%_bindir/%name
# Set at VERSION at
sed -i 's/ at VERSION at /%version/g' %buildroot%_bindir/%name
%files
%_bindir/*
%changelog
…
Todas as alterações você pod ver aqui
# %%branch_switch set %%branch_release use
%define branch_switch M41
Name: gear-restore-tags
Version: 0.0.2
Release: %branch_release alt1
Summary: Manage restored tags in the package repository
License: %gpl2plus
Group: Development/Other
Packager: Aleksey Avdeev <solo at altlinux.ru>
BuildArch: noarch
Source0: %name
Requires: gear >= 1.3.0
# For fix non-identical noarch packages
Requires: git-core
BuildRequires(pre): rpm-macros-branch
BuildPreReq: rpm-build-licenses
%description
%summary
%install
install -pD -m755 %SOURCE0 %buildroot%_bindir/%name
# Set at VERSION at
sed -i 's/ at VERSION at /%version/g' %buildroot%_bindir/%name
%files
%_bindir/*
%changelog
…
Todas as alterações você pod ver aqui