summaryrefslogtreecommitdiffstats
path: root/build/rpm_specs/opnfv-apex-release.spec
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-11-23 11:38:27 -0500
committerDan Radez <dradez@redhat.com>2016-12-02 15:49:14 -0500
commit32add4b10a93bacbee9162ec9bf1f5be38c8a2fb (patch)
treebe55f505acb8b6d615c938f7f1adbd3abcf6afa3 /build/rpm_specs/opnfv-apex-release.spec
parentbdc8b51164dff9f47be11bbd7a5cbf9789068489 (diff)
Adding a release RPM
JIRA: APEX-351 Change-Id: I9b8b74073287005221a7a3f6dfe2d52a7d1cf667 Signed-off-by: Dan Radez <dradez@redhat.com> (cherry picked from commit 72f30f98de111e9f10a58829b78e51e80a5a52a5)
Diffstat (limited to 'build/rpm_specs/opnfv-apex-release.spec')
-rw-r--r--build/rpm_specs/opnfv-apex-release.spec30
1 files changed, 30 insertions, 0 deletions
diff --git a/build/rpm_specs/opnfv-apex-release.spec b/build/rpm_specs/opnfv-apex-release.spec
new file mode 100644
index 00000000..cc06ab50
--- /dev/null
+++ b/build/rpm_specs/opnfv-apex-release.spec
@@ -0,0 +1,30 @@
+Name: opnfv-apex-release
+Version: colorado
+Release: %{release}
+Summary: RPM Release file
+
+Group: System Environment
+License: Apache 2.0
+URL: https://gerrit.opnfv.org/gerrit/apex.git
+Source0: opnfv-apex-release.tar.gz
+
+BuildArch: noarch
+Requires: rdo-release = mitaka epel-release libvirt-python
+
+%description
+RPM Release file that provides a yum repo file to install OPNFV Apex
+
+%prep
+%setup -q
+
+%install
+mkdir -p %{buildroot}%{_sysconfdir}/yum.repos.d/
+install config/yum.repos.d/opnfv-apex.repo %{buildroot}%{_sysconfdir}/yum.repos.d/
+
+%files
+%defattr(644, root, root, -)
+%{_sysconfdir}/yum.repos.d/opnfv-apex.repo
+
+%changelog
+* Wed Nov 23 2016 Dan Radez <dradez@redhat.com> - 3.0-1
+- Initial Packaging