diff --git a/configure.ac b/configure.ac index 2193e43..5aba469 100644 --- a/configure.ac +++ b/configure.ac @@ -246,6 +246,7 @@ AC_CHECK_FUNCS([sync]) AC_OUTPUT([ Makefile +expedite.spec.in src/Makefile src/bin/Makefile data/Makefile diff --git a/expedite.spec b/expedite.spec.in similarity index 86% rename from expedite.spec rename to expedite.spec.in index a49bbce..0e87ad9 100644 --- a/expedite.spec +++ b/expedite.spec.in @@ -1,13 +1,16 @@ # Note that this is NOT a relocatable package -%define ver 0.7.0 -%define rel 1 +%define _missing_doc_files_terminate_build 0 +%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}} + +%define ver @VERSION@ +%define rel %{_rel} %define prefix /usr Summary: expedite Name: expedite Version: %ver Release: %rel -Copyright: BSD +License: BSD Group: System Environment/Desktops Source: ftp://ftp.enlightenment.org/pub/enlightenment/expedite-%{ver}.tar.gz BuildRoot: /var/tmp/expedite-root