qubes-release: provide Qubes-comps.xml
This commit is contained in:
parent
b34dea8418
commit
10dc163e42
3
Makefile
3
Makefile
@ -85,8 +85,9 @@ rpm/SOURCES/firstboot-$(FIRSTBOOT_VERSION).tar.bz2: firstboot firstboot/firstboo
|
||||
rpm/SOURCES/qubes-logos-$(QBSLOGOS_VERSION).tar.bz2: qubes-logos qubes-logos/qubes-logos.spec
|
||||
$(call package,qubes-logos,$(QBSLOGOS_VERSION))
|
||||
|
||||
rpm/SOURCES/qubes-release-$(QBSRELEASE_VERSION).tar.bz2: qubes-release qubes-release/qubes-release.spec
|
||||
rpm/SOURCES/qubes-release-$(QBSRELEASE_VERSION).tar.bz2: qubes-release qubes-release/qubes-release.spec conf/comps-qubes.xml
|
||||
$(call package,qubes-release,$(QBSRELEASE_VERSION))
|
||||
cp conf/comps-qubes.xml rpm/SOURCES/Qubes-comps.xml
|
||||
|
||||
rpms_anaconda: rpm/SOURCES/anaconda-$(ANACONDA_VERSION).tar.bz2
|
||||
rpmbuild $(RPMBUILD_DEFINES) -bb anaconda/anaconda.spec
|
||||
|
@ -9,6 +9,7 @@ Release: 2
|
||||
License: GPLv2
|
||||
Group: System Environment/Base
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: Qubes-comps.xml
|
||||
Obsoletes: fedora-release
|
||||
Obsoletes: redhat-release
|
||||
Provides: fedora-release = %{fedora_base_version}-%{release}
|
||||
@ -59,6 +60,9 @@ for file in {qubes,fedora,fedora-updates}*repo ; do
|
||||
install -m 644 $file $RPM_BUILD_ROOT/etc/yum.repos.d
|
||||
done
|
||||
|
||||
install -d -m 755 $RPM_BUILD_ROOT/usr/share/qubes
|
||||
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/usr/share/qubes/Qubes-comps.xml
|
||||
|
||||
# Set up the dist tag macros
|
||||
install -d -m 755 $RPM_BUILD_ROOT/etc/rpm
|
||||
cat >> $RPM_BUILD_ROOT/etc/rpm/macros.dist << EOF
|
||||
@ -96,6 +100,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%config %attr(0644,root,root) /etc/rpm/macros.dist
|
||||
%dir /etc/pki/rpm-gpg
|
||||
/etc/pki/rpm-gpg/*
|
||||
/usr/share/qubes/Qubes-comps.xml
|
||||
|
||||
%files notes
|
||||
%defattr(-,root,root,-)
|
||||
|
1
rpm/SOURCES/.gitignore
vendored
1
rpm/SOURCES/.gitignore
vendored
@ -3,3 +3,4 @@
|
||||
*.patch
|
||||
*.diff
|
||||
*.spec
|
||||
*.xml
|
||||
|
Loading…
Reference in New Issue
Block a user