diff --git a/Makefile b/Makefile index e0fed08bbb4cb67201eccd962f4f91bda871f7e7..96570d8a9196fcebb022fc02cd9ffe63981642b1 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ TARGET=sha512toc SHA512TOC_VERSION=$(shell git describe | sed -e 's/^v//;s/-/_/g') -SOURCES=Makefile sha512toc.c sha512toc.spec +SOURCES=Makefile README.md sha512.c sha512.h \ + sha512toc.c sha512toc.h sha512toc.spec CFLAGS=-Wall -Werror -I. VERSION=-DSHA512TOC_VERSION='"$(SHA512TOC_VERSION)"' diff --git a/sha512toc.spec.template b/sha512toc.spec.template index 252deaf6e38b2e80518a994d34a4abdbf7e13084..adfcaeb2709ffaaf525e1ae094706c2c098fb94b 100644 --- a/sha512toc.spec.template +++ b/sha512toc.spec.template @@ -5,7 +5,9 @@ Summary: A simple utility to create a TOC of a directory License: GPLv3 Source0: http://control.lth.se/sha512toc.tar -#BuildRequires: libattr-devel +%global debug_package %{nil} + +BuildRequires: openssl-devel %description A simple utility to create a TOC of a directory @@ -14,7 +16,7 @@ A simple utility to create a TOC of a directory %setup -q -n %{name} %build -make sha512TOC_VERSION=__sha512TOC_VERSION__ +make SHA512TOC_VERSION=__SHA512TOC_VERSION__ file sha512toc %install