summaryrefslogtreecommitdiffstats
path: root/build/rpm_specs
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-12-02 19:37:35 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-02 19:37:35 +0000
commitd6a4e5259f7af3ff23255dd382c93f988c53729d (patch)
tree93dc727b6a1334c20c429457eb92301d311f3016 /build/rpm_specs
parent159f6368364792b8cb9e960e7cbb73ea1784dc15 (diff)
parent72f30f98de111e9f10a58829b78e51e80a5a52a5 (diff)
Merge "Adding a release RPM"
Diffstat (limited to 'build/rpm_specs')
-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..7dd43d93
--- /dev/null
+++ b/build/rpm_specs/opnfv-apex-release.spec
@@ -0,0 +1,30 @@
+Name: opnfv-apex-release
+Version: danube
+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 = newton 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