]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - patch/patch.nm
elfutils: Correctly configure debuginfod
[people/pmueller/ipfire-3.x.git] / patch / patch.nm
index ecdafacf7a724c8bac70e3a41368fa390a68f8f5..27360ed589a150bacc657892a76b5591f06b06eb 100644 (file)
@@ -4,46 +4,39 @@
 ###############################################################################
 
 name       = patch
-version    = 2.6.1
-release    = 2
+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  =
+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
-
-       install
-               make install prefix=%{BUILDROOT}/usr
-       end
 end
 
 packages
        package %{name}
-               groups += Build
-       end
 
        package %{name}-debuginfo
                template DEBUGINFO