Create .spec.in and Source0
This commit is contained in:
parent
565fb3dc3a
commit
9f591b0578
@ -24,15 +24,13 @@
|
|||||||
|
|
||||||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
%{!?version: %define version %(cat version)}
|
|
||||||
|
|
||||||
%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-linux
|
Name: qubes-core-dom0-linux
|
||||||
Version: %{version}
|
Version: @VERSION@
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Linux-specific files for Qubes dom0
|
Summary: Linux-specific files for Qubes dom0
|
||||||
|
|
||||||
@ -54,7 +52,11 @@ Conflicts: qubes-core-dom0 < 4.0.23
|
|||||||
Requires: %{name}-kernel-install
|
Requires: %{name}-kernel-install
|
||||||
Requires: xdotool
|
Requires: xdotool
|
||||||
|
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
%if 0%{?qubes_builder}
|
||||||
%define _builddir %(pwd)
|
%define _builddir %(pwd)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Linux customizations required to use system as Qubes dom0.
|
Linux customizations required to use system as Qubes dom0.
|
||||||
@ -73,11 +75,7 @@ Obsoletes: os-prober
|
|||||||
Kernel install hook for Xen-based system.
|
Kernel install hook for Xen-based system.
|
||||||
|
|
||||||
%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
|
||||||
(cd dom0-updates; make)
|
(cd dom0-updates; make)
|
@ -11,7 +11,9 @@ Vendor: Invisible Things Lab
|
|||||||
License: GPL
|
License: GPL
|
||||||
URL: http://www.qubes-os.org
|
URL: http://www.qubes-os.org
|
||||||
|
|
||||||
|
%if 0%{?qubes_builder}
|
||||||
%define _builddir %(pwd)
|
%define _builddir %(pwd)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Additional scripts for supporting suspend on Vaio Z laptops.
|
Additional scripts for supporting suspend on Vaio Z laptops.
|
||||||
|
Loading…
Reference in New Issue
Block a user