###############################################################################
name = patch
-version = 2.7
+version = 2.7.6
release = 1
groups = Development/Tools
-url = http://www.gnu.org/software/patch/patch.html
+url = https://www.gnu.org/software/patch/patch.html
license = GPLv2+
summary = Utility for modifying/upgrading files.
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 \
+ 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.
end
-source_dl = ftp://ftp.gnu.org/gnu/patch/
+source_dl = https://ftp.gnu.org/gnu/patch/
sources = %{thisapp}.tar.xz
build
requires
attr-devel
ed
- libselinux-devel
pkg-config
end
- CFLAGS += -D_GNU_SOURCE
-
test
make check
end
packages
package %{name}
- groups += Build
- end
package %{name}-debuginfo
template DEBUGINFO