ALT Linux repositórios
Group :: Ferramentas de texto
RPM: patch
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: patch
Version: 2.7.6.0.17.9c98
Release: alt1
Summary: The GNU patch command, for modifying/upgrading files
License: GPLv3+
Group: Text tools
Url: https://www.gnu.org/software/patch/
# git://git.altlinux.org/gears/p/patch.git
Source: %name-%version-%release.tar
BuildRequires: gnulib >= 0.1.2305.95c96
# for extended attribute copying support
BuildRequires: libattr-devel
# Note that patch --ed required ed(1).
%{?!_without_check:%{?!_disable_check:BuildRequires: ed}}
%description
The patch 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 patch command with the diff file to add the changes to their
original file (patching the file).
%prep
%setup -n %name-%version-%release
echo -n %version > .tarball-version
%build
./bootstrap --skip-po --gnulib-srcdir=%_datadir/gnulib
%configure --disable-silent-rules
%make_build
%install
%makeinstall_std
%check
%make_build -k check VERBOSE=1
%files
%_bindir/*
%_man1dir/*
%doc AUTHORS NEWS README
%changelog
…
Todas as alterações você pod ver aqui
Version: 2.7.6.0.17.9c98
Release: alt1
Summary: The GNU patch command, for modifying/upgrading files
License: GPLv3+
Group: Text tools
Url: https://www.gnu.org/software/patch/
# git://git.altlinux.org/gears/p/patch.git
Source: %name-%version-%release.tar
BuildRequires: gnulib >= 0.1.2305.95c96
# for extended attribute copying support
BuildRequires: libattr-devel
# Note that patch --ed required ed(1).
%{?!_without_check:%{?!_disable_check:BuildRequires: ed}}
%description
The patch 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 patch command with the diff file to add the changes to their
original file (patching the file).
%prep
%setup -n %name-%version-%release
echo -n %version > .tarball-version
%build
./bootstrap --skip-po --gnulib-srcdir=%_datadir/gnulib
%configure --disable-silent-rules
%make_build
%install
%makeinstall_std
%check
%make_build -k check VERBOSE=1
%files
%_bindir/*
%_man1dir/*
%doc AUTHORS NEWS README
%changelog
…
Todas as alterações você pod ver aqui