Create .spec.in and Source0
This commit is contained in:
parent
3c2ac0fd41
commit
fdea48aa1c
@ -22,18 +22,13 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
%{!?version: %define version %(cat version)}
|
|
||||||
|
|
||||||
# debug_package hack should be removed when BuildArch:noarch is enabled below
|
|
||||||
%define debug_package %{nil}
|
|
||||||
|
|
||||||
%define _dracutmoddir /usr/lib/dracut/modules.d
|
%define _dracutmoddir /usr/lib/dracut/modules.d
|
||||||
%if %{fedora} < 17
|
%if %{fedora} < 17
|
||||||
%define _dracutmoddir /usr/share/dracut/modules.d
|
%define _dracutmoddir /usr/share/dracut/modules.d
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: qubes-core-dom0
|
Name: qubes-core-dom0
|
||||||
Version: %{version}
|
Version: @VERSION@
|
||||||
Release: 1%{dist}
|
Release: 1%{dist}
|
||||||
Summary: The Qubes core files (Dom0-side)
|
Summary: The Qubes core files (Dom0-side)
|
||||||
|
|
||||||
@ -111,17 +106,18 @@ Provides: qubes-core-dom0-doc
|
|||||||
# Prevent preupgrade from installation (it pretend to provide distribution upgrade)
|
# Prevent preupgrade from installation (it pretend to provide distribution upgrade)
|
||||||
Obsoletes: preupgrade < 2.0
|
Obsoletes: preupgrade < 2.0
|
||||||
Provides: preupgrade = 2.0
|
Provides: preupgrade = 2.0
|
||||||
|
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
%if 0%{?qubes_builder}
|
||||||
%define _builddir %(pwd)
|
%define _builddir %(pwd)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Qubes core files for installation on Dom0.
|
The Qubes core files for installation on Dom0.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
# we operate on the current directory, so no need to unpack anything
|
%setup -q
|
||||||
# symlink is to generate useful debuginfo packages
|
|
||||||
rm -f %{name}-%{version}
|
|
||||||
ln -sf . %{name}-%{version}
|
|
||||||
%setup -T -D
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
Loading…
Reference in New Issue
Block a user