Репозитории ALT
S: | 2.7.6.0.27.7623-alt1 |
5.1: | 2.5.9-alt3 |
4.1: | 2.5.9-alt3 |
4.0: | 2.5.9-alt3 |
3.0: | 2.5.4-ipl10mdk |
Группа :: Работа с текстами
Пакет: patch
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: patch
Version: 2.5.4
Release: ipl10mdk
Summary: The GNU %name command, for modifying/upgrading files
License: GPL
Group: Text tools
Source: ftp://prep.ai.mit.edu/pub/gnu/%name-%version.tar.bz2
Patch1: %name-2.5-stderr.patch
Patch2: %name-2.5.4-sigsegv.patch
Patch3: %name-2.5.4-backup.patch
Patch4: %name-2.5.4-suffix.patch
Patch5: %name-2.5.4-alt-noerror.patch
Patch6: %name-2.5.4-rh-ifdef.patch
%description
The %name program applies diff files to originals. The diff command
is used to compare an original to a changed file. Diff lists the
changes made to the file. A person who has the original file can then
use the %name command with the diff file to add the changes to their
original file (patching the file).
Patch should be installed because it is a common way of upgrading
applications.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%build
%add_optflags -D_GNU_SOURCE
ADDITIONAL_ARCH_FLAGS=
# (fg) Large file support can be disabled from ./configure - it is necessary at
# least on sparcs
%ifarch sparc sparc64 alpha
ADDITIONAL_ARCH_FLAGS='--disable-largefile'
%endif
%configure $ADDITIONAL_ARCH_FLAGS
make
%install
%makeinstall
%files
%_bindir/*
%_mandir/man?/*
%doc NEWS README AUTHORS ChangeLog
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.5.4
Release: ipl10mdk
Summary: The GNU %name command, for modifying/upgrading files
License: GPL
Group: Text tools
Source: ftp://prep.ai.mit.edu/pub/gnu/%name-%version.tar.bz2
Patch1: %name-2.5-stderr.patch
Patch2: %name-2.5.4-sigsegv.patch
Patch3: %name-2.5.4-backup.patch
Patch4: %name-2.5.4-suffix.patch
Patch5: %name-2.5.4-alt-noerror.patch
Patch6: %name-2.5.4-rh-ifdef.patch
%description
The %name program applies diff files to originals. The diff command
is used to compare an original to a changed file. Diff lists the
changes made to the file. A person who has the original file can then
use the %name command with the diff file to add the changes to their
original file (patching the file).
Patch should be installed because it is a common way of upgrading
applications.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%build
%add_optflags -D_GNU_SOURCE
ADDITIONAL_ARCH_FLAGS=
# (fg) Large file support can be disabled from ./configure - it is necessary at
# least on sparcs
%ifarch sparc sparc64 alpha
ADDITIONAL_ARCH_FLAGS='--disable-largefile'
%endif
%configure $ADDITIONAL_ARCH_FLAGS
make
%install
%makeinstall
%files
%_bindir/*
%_mandir/man?/*
%doc NEWS README AUTHORS ChangeLog
%changelog
…
Полный changelog можно просмотреть здесь