Commit 9d65ffb8 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

More specfile fixes

parent eb32d1b8
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)"'
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment