[Ovirt-devel] [PATCH] Added ovirt-build subpackage to store developer tools
Perry Myers
pmyers at redhat.com
Tue Sep 9 16:45:32 UTC 2008
Signed-off-by: Perry Myers <pmyers at redhat.com>
---
ovirt-release.spec | 19 ++++++++++++++++---
1 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/ovirt-release.spec b/ovirt-release.spec
index d348352..b9a1d5d 100644
--- a/ovirt-release.spec
+++ b/ovirt-release.spec
@@ -12,11 +12,19 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%define app_root %{_datadir}/%{name}
+%define app_build_root %{_datadir}/ovirt-build
%description
ovirt.org Repository contains packages and fixes required for oVirt
which are not yet in Fedora.
+%package -n ovirt-build
+Summary: oVirt Build Scripts for developers
+Group: Applications/System
+%description -n ovirt-build
+Developer makefile and scripts to help automate the building of
+oVirt from source repositories.
+
%prep
%setup -c -T
@@ -27,17 +35,22 @@ which are not yet in Fedora.
install -dm 755 %{buildroot}%{_sysconfdir}/yum.repos.d
install -pm 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d
-install -dm 755 %{buildroot}%{app_root}
-install -pm 644 %{SOURCE2} %{buildroot}%{app_root}
+install -dm 755 %{buildroot}%{app_build_root}
+install -pm 644 %{SOURCE2} %{buildroot}%{app_build_root}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,0644)
-%{app_root}/ovirt.mk
%config %{_sysconfdir}/yum.repos.d/*
+%files -n ovirt-build
+%defattr(-,root,root,0644)
+%{app_build_root}/ovirt.mk
+
%changelog
+* Tue Sep 09 2008 Perry Myers <pmyers at redhat.com> 0.92-1
+- Added ovirt-build subpackage for developer tools
* Tue Jul 29 2008 Alan Pevec <apevec at redhat.com> 0.91-1
- Initial build.
--
1.5.5.1
More information about the ovirt-devel
mailing list