From 9d65ffb8d934f544ca79619463b17923f13214e5 Mon Sep 17 00:00:00 2001 From: Anders Blomdell <anders.blomdell@control.lth.se> Date: Fri, 20 Apr 2018 15:58:38 +0200 Subject: [PATCH] More specfile fixes --- Makefile | 3 ++- sha512toc.spec.template | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e0fed08..96570d8 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 252deaf..adfcaeb 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 -- GitLab