From ac83f0a82ff5235d73167e065678daa3cbf19e06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret?= Date: Sun, 18 Mar 2018 16:13:37 +0100 Subject: [PATCH] Create .spec.in and Source0 --- rpm_spec/{qmgr.spec => qmgr.spec.in} | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) rename rpm_spec/{qmgr.spec => qmgr.spec.in} (97%) diff --git a/rpm_spec/qmgr.spec b/rpm_spec/qmgr.spec.in similarity index 97% rename from rpm_spec/qmgr.spec rename to rpm_spec/qmgr.spec.in index 0b3a28e..30727e8 100644 --- a/rpm_spec/qmgr.spec +++ b/rpm_spec/qmgr.spec.in @@ -1,7 +1,5 @@ -%{!?version: %define version %(cat version)} - Name: qubes-manager -Version: %{version} +Version: @VERSION@ Release: 1%{?dist} Summary: The Graphical Qubes VM Manager. @@ -23,11 +21,14 @@ BuildRequires: python3-devel BuildRequires: qt-devel AutoReq: 0 -%define _builddir %(pwd) +Source0: %{name}-%{version}.tar.gz %description The Graphical Qubes VM Manager. +%prep +%setup -q + %build make ui res translations make python