changelog_date: "Mon Jan 25 2016"
changelog_name: "Daniel Farrell"
changelog_email: "dfarrell@redhat.com"
- - version_major: "4"
- version_minor: "0"
- version_patch: "0"
- rpm_release: "2.201601200134"
- sysd_commit: c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed
- codename: beryllium-daily-v201601200134
- download_url: "https://nexus.opendaylight.org/content/repositories/autorelease-1025/org/opendaylight/integration/distribution-karaf/0.4.0-beryllium-daily-v201601200134/distribution-karaf-0.4.0-beryllium-daily-v201601200134.tar.gz"
- changelog_date: "Wed Jan 22 2016"
- changelog_name: "Daniel Farrell"
- changelog_email: "dfarrell@redhat.com"
- - version_major: "4"
- version_minor: "0"
- version_patch: "0"
- rpm_release: "1.rc1"
- sysd_commit: c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed
- codename: Beryllium-RC1
- download_url: "https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium-RC1/distribution-karaf-0.4.0-Beryllium-RC1.tar.gz"
- changelog_date: "Wed Jan 22 2016"
- changelog_name: "Daniel Farrell"
- changelog_email: "dfarrell@redhat.com"
- - version_major: "4"
- version_minor: "0"
- version_patch: "0"
- rpm_release: "1.201602020032"
- sysd_commit: c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed
- codename: beryllium-daily-v201602020032
- download_url: "https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.0-beryllium-daily-v201602020032/distribution-karaf-0.4.0-beryllium-daily-v201602020032.tar.gz"
- changelog_date: "Wed Jan 22 2016"
- changelog_name: "Daniel Farrell"
- changelog_email: "dfarrell@redhat.com"
- - version_major: "4"
- version_minor: "0"
- version_patch: "0"
- rpm_release: "1.rc2"
- sysd_commit: c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed
- codename: Beryllium-RC2
- download_url: "https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium-RC2/distribution-karaf-0.4.0-Beryllium-RC2.tar.gz"
- changelog_date: "Wed Jan 22 2016"
- changelog_name: "Daniel Farrell"
- changelog_email: "dfarrell@redhat.com"
- - version_major: "4"
- version_minor: "0"
- version_patch: "0"
- rpm_release: "1.rc2.1"
- sysd_commit: c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed
- codename: RC2.1
- download_url: "https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.0-RC2.1/distribution-karaf-0.4.0-RC2.1.tar.gz"
- changelog_date: "Wed Feb 9 2016"
- changelog_name: "Daniel Farrell"
- changelog_email: "dfarrell@redhat.com"
- - version_major: "4"
- version_minor: "0"
- version_patch: "0"
- rpm_release: "1.rc2.2"
- sysd_commit: c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed
- codename: Beryllium-RC2.2
- download_url: "https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium-RC2.2/distribution-karaf-0.4.0-Beryllium-RC2.2.tar.gz"
- changelog_date: "Wed Feb 11 2016"
- changelog_name: "Daniel Farrell"
- changelog_email: "dfarrell@redhat.com"
- - version_major: "4"
- version_minor: "0"
- version_patch: "0"
- rpm_release: "1.rc2.3"
- sysd_commit: c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed
- codename: Beryllium-RC2.3
- download_url: "https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium-RC2.3/distribution-karaf-0.4.0-Beryllium-RC2.3.tar.gz"
- changelog_date: "Fri Feb 12 2016"
- changelog_name: "Daniel Farrell"
- changelog_email: "dfarrell@redhat.com"
- - version_major: "4"
- version_minor: "0"
- version_patch: "0"
- rpm_release: "1.rc3"
- sysd_commit: c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed
- codename: Beryllium
- download_url: "https://nexus.opendaylight.org/content/repositories/autorelease-1075/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium/distribution-karaf-0.4.0-Beryllium.tar.gz"
- changelog_date: "Mon Feb 15 2016"
- changelog_name: "Daniel Farrell"
- changelog_email: "dfarrell@redhat.com"
- - version_major: "4"
- version_minor: "0"
- version_patch: "0"
- rpm_release: "1.rc3.1"
- sysd_commit: c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed
- codename: Beryllium
- download_url: "https://nexus.opendaylight.org/content/repositories/autorelease-1079/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium/distribution-karaf-0.4.0-Beryllium.tar.gz"
- changelog_date: "Tue Feb 16 2016"
- changelog_name: "Daniel Farrell"
- changelog_email: "dfarrell@redhat.com"
- version_major: "4"
version_minor: "0"
version_patch: "0"
changelog_date: "Wed Mar 23 2016"
changelog_name: "Daniel Farrell"
changelog_email: "dfarrell@redhat.com"
- - version_major: "4"
- version_minor: "2"
- version_patch: "0"
- rpm_release: "1.20160407.144137180"
- sysd_commit: c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed
- codename: 20160407.144137-180
- download_url: "https://nexus.opendaylight.org/service/local/repositories/opendaylight.snapshot/content/org/opendaylight/integration/distribution-karaf/0.4.2-SNAPSHOT/distribution-karaf-0.4.2-20160407.144137-180.tar.gz"
- changelog_date: "Thu Apr 07 2016"
- changelog_name: "Daniel Farrell"
- changelog_email: "dfarrell@redhat.com"
- - version_major: "4"
- version_minor: "2"
- version_patch: "0"
- rpm_release: "1.20160414.221815224"
- sysd_commit: c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed
- codename: 20160414.221815-224
- download_url: "https://nexus.opendaylight.org/service/local/repositories/opendaylight.snapshot/content/org/opendaylight/integration/distribution-karaf/0.4.2-SNAPSHOT/distribution-karaf-0.4.2-20160414.221815-224.tar.gz"
- changelog_date: "Thu Apr 14 2016 "
- changelog_name: "Daniel Farrell"
- changelog_email: "dfarrell@redhat.com"
- - version_major: "4"
- version_minor: "2"
- version_patch: "0"
- rpm_release: "1.20160415.165450231"
- sysd_commit: c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed
- codename: 20160415.165450-231
- download_url: "https://nexus.opendaylight.org/service/local/repositories/opendaylight.snapshot/content/org/opendaylight/integration/distribution-karaf/0.4.2-SNAPSHOT/distribution-karaf-0.4.2-20160415.165450-231.tar.gz"
- changelog_date: "Fri Apr 15 2016"
- changelog_name: "Daniel Farrell"
- changelog_email: "dfarrell@redhat.com"
- - version_major: "4"
- version_minor: "2"
- version_patch: "0"
- rpm_release: "1.201604190031"
- sysd_commit: c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed
- codename: beryllium-daily-v201604190031
- download_url: "https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.2-beryllium-daily-v201604190031/distribution-karaf-0.4.2-beryllium-daily-v201604190031.tar.gz"
- changelog_date: "Tue Apr 19 2016"
- changelog_name: "Daniel Farrell"
- changelog_email: "dfarrell@redhat.com"
- - version_major: "4"
- version_minor: "2"
- version_patch: "0"
- rpm_release: "1.201604200031"
- sysd_commit: c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed
- codename: beryllium-daily-v201604200031
- download_url: "https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.2-beryllium-daily-v201604200031/distribution-karaf-0.4.2-beryllium-daily-v201604200031.tar.gz"
- changelog_date: "Wed Apr 20 2016"
- changelog_name: "Daniel Farrell"
- changelog_email: "dfarrell@redhat.com"
- - version_major: "4"
- version_minor: "2"
- version_patch: "0"
- rpm_release: "1.20160420.023809294"
- sysd_commit: c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed
- codename: 20160420.023809-294
- download_url: "https://nexus.opendaylight.org/service/local/repositories/opendaylight.snapshot/content/org/opendaylight/integration/distribution-karaf/0.4.2-SNAPSHOT/distribution-karaf-0.4.2-20160420.023809-294.tar.gz"
- changelog_date: "Wed Apr 20 2016"
- changelog_name: "Daniel Farrell"
- changelog_email: "dfarrell@redhat.com"
- version_major: "4"
version_minor: "2"
version_patch: "0"
changelog_date: "Thu May 26 2016"
changelog_name: "Daniel Farrell"
changelog_email: "dfarrell@redhat.com"
- - version_major: "5"
- version_minor: "0"
- version_patch: "0"
- rpm_release: "1.201604260021"
- sysd_commit: c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed
- codename: boron-daily-v201604260021
- download_url: "https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.5.0-boron-daily-v201604260021/distribution-karaf-0.5.0-boron-daily-v201604260021.tar.gz"
- changelog_date: "Tue May 31 2016"
- changelog_name: "Daniel Farrell"
- changelog_email: "dfarrell@redhat.com"
- version_major: "5"
version_minor: "0"
version_patch: "0"
+++ /dev/null
-# ODL is a noarch package, so this isn't necessary. It's also very slow.
-%define __jar_repack 0
-
-Name: opendaylight
-Version: 4.0.0
-# The Fedora/CentOS packaging guidelines *require* the use of a disttag. ODL's
-# RPM build doesn't do anything Fedora/CentOS specific, so the disttag is
-# unnecessary and unused in our case, but both the docs and the pros (apevec)
-# agree that we should include it.
-# See: https://fedoraproject.org/wiki/Packaging:DistTag
-Release: 1.201602020032.el7
-BuildArch: noarch
-Summary: OpenDaylight SDN Controller
-Group: Applications/Communications
-License: EPL-1.0
-URL: http://www.opendaylight.org
-Source0: https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.0-beryllium-daily-v201602020032/distribution-karaf-0.4.0-beryllium-daily-v201602020032.tar.gz
-Source1: %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service.tar.gz
-Buildroot: /tmp
-# Required for ODL at run time
-Requires: java >= 1:1.7.0
-# Required for creating odl group
-Requires(pre): shadow-utils
-# Required for configuring systemd
-BuildRequires: systemd
-
-%pre
-# Create `odl` user/group
-# Short circuits if the user/group already exists
-# Home dir must be a valid path for various files to be created in it
-getent passwd odl > /dev/null || useradd odl -M -d $RPM_BUILD_ROOT/opt/%name
-getent group odl > /dev/null || groupadd odl
-
-%description
-OpenDaylight beryllium-daily-v201602020032
-
-%prep
-# Extract Source0 (ODL archive)
-%autosetup -n distribution-karaf-0.4.0-beryllium-daily-v201602020032
-# Extract Source1 (systemd config)
-%autosetup -T -D -b 1 -c -n %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service
-
-%install
-# Create directory in build root for ODL
-mkdir -p $RPM_BUILD_ROOT/opt/%name
-# Copy ODL from archive to its dir in build root
-cp -r ../distribution-karaf-0.4.0-beryllium-daily-v201602020032/* $RPM_BUILD_ROOT/opt/%name
-# Create directory in build root for systemd .service file
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-# Copy ODL's systemd .service file to correct dir in build root
-cp ../../BUILD/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service $RPM_BUILD_ROOT/%{_unitdir}/%name.service
-
-%postun
-# When the RPM is removed, the subdirs containing new files wouldn't normally
-# be deleted. Manually clean them up.
-# Warning: This does assume there's no data there that should be preserved
-if [ $1 -eq 0 ]; then
- rm -rf $RPM_BUILD_ROOT/opt/%name
-fi
-
-%files
-# ODL will run as odl:odl, set as user:group for ODL dir, don't override mode
-%attr(-,odl,odl) /opt/%name
-# Configure systemd unitfile user/group/mode
-%attr(0644,root,root) %{_unitdir}/%name.service
-
-%changelog
-* Wed Jan 22 2016 Daniel Farrell <dfarrell@redhat.com> - 4.0.0-1.201602020032
-- Create 4.0.0-1.201602020032 RPM
\ No newline at end of file
+++ /dev/null
-# ODL is a noarch package, so this isn't necessary. It's also very slow.
-%define __jar_repack 0
-
-Name: opendaylight
-Version: 4.0.0
-# The Fedora/CentOS packaging guidelines *require* the use of a disttag. ODL's
-# RPM build doesn't do anything Fedora/CentOS specific, so the disttag is
-# unnecessary and unused in our case, but both the docs and the pros (apevec)
-# agree that we should include it.
-# See: https://fedoraproject.org/wiki/Packaging:DistTag
-Release: 1.rc1.el7
-BuildArch: noarch
-Summary: OpenDaylight SDN Controller
-Group: Applications/Communications
-License: EPL-1.0
-URL: http://www.opendaylight.org
-Source0: https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium-RC1/distribution-karaf-0.4.0-Beryllium-RC1.tar.gz
-Source1: %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service.tar.gz
-Buildroot: /tmp
-# Required for ODL at run time
-Requires: java >= 1:1.7.0
-# Required for creating odl group
-Requires(pre): shadow-utils
-# Required for configuring systemd
-BuildRequires: systemd
-
-%pre
-# Create `odl` user/group
-# Short circuits if the user/group already exists
-# Home dir must be a valid path for various files to be created in it
-getent passwd odl > /dev/null || useradd odl -M -d $RPM_BUILD_ROOT/opt/%name
-getent group odl > /dev/null || groupadd odl
-
-%description
-OpenDaylight Beryllium-RC1
-
-%prep
-# Extract Source0 (ODL archive)
-%autosetup -n distribution-karaf-0.4.0-Beryllium-RC1
-# Extract Source1 (systemd config)
-%autosetup -T -D -b 1 -c -n %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service
-
-%install
-# Create directory in build root for ODL
-mkdir -p $RPM_BUILD_ROOT/opt/%name
-# Copy ODL from archive to its dir in build root
-cp -r ../distribution-karaf-0.4.0-Beryllium-RC1/* $RPM_BUILD_ROOT/opt/%name
-# Create directory in build root for systemd .service file
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-# Copy ODL's systemd .service file to correct dir in build root
-cp ../../BUILD/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service $RPM_BUILD_ROOT/%{_unitdir}/%name.service
-
-%postun
-# When the RPM is removed, the subdirs containing new files wouldn't normally
-# be deleted. Manually clean them up.
-# Warning: This does assume there's no data there that should be preserved
-if [ $1 -eq 0 ]; then
- rm -rf $RPM_BUILD_ROOT/opt/%name
-fi
-
-%files
-# ODL will run as odl:odl, set as user:group for ODL dir, don't override mode
-%attr(-,odl,odl) /opt/%name
-# Configure systemd unitfile user/group/mode
-%attr(0644,root,root) %{_unitdir}/%name.service
-
-%changelog
-* Wed Jan 22 2016 Daniel Farrell <dfarrell@redhat.com> - 4.0.0-1.rc1
-- Create 4.0.0-1.rc1 RPM
\ No newline at end of file
+++ /dev/null
-# ODL is a noarch package, so this isn't necessary. It's also very slow.
-%define __jar_repack 0
-
-Name: opendaylight
-Version: 4.0.0
-# The Fedora/CentOS packaging guidelines *require* the use of a disttag. ODL's
-# RPM build doesn't do anything Fedora/CentOS specific, so the disttag is
-# unnecessary and unused in our case, but both the docs and the pros (apevec)
-# agree that we should include it.
-# See: https://fedoraproject.org/wiki/Packaging:DistTag
-Release: 1.rc2.1.el7
-BuildArch: noarch
-Summary: OpenDaylight SDN Controller
-Group: Applications/Communications
-License: EPL-1.0
-URL: http://www.opendaylight.org
-Source0: https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.0-RC2.1/distribution-karaf-0.4.0-RC2.1.tar.gz
-Source1: %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service.tar.gz
-Buildroot: /tmp
-# Required for ODL at run time
-Requires: java >= 1:1.7.0
-# Required for creating odl group
-Requires(pre): shadow-utils
-# Required for configuring systemd
-BuildRequires: systemd
-
-%pre
-# Create `odl` user/group
-# Short circuits if the user/group already exists
-# Home dir must be a valid path for various files to be created in it
-getent passwd odl > /dev/null || useradd odl -M -d $RPM_BUILD_ROOT/opt/%name
-getent group odl > /dev/null || groupadd odl
-
-%description
-OpenDaylight RC2.1
-
-%prep
-# Extract Source0 (ODL archive)
-%autosetup -n distribution-karaf-0.4.0-RC2.1
-# Extract Source1 (systemd config)
-%autosetup -T -D -b 1 -c -n %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service
-
-%install
-# Create directory in build root for ODL
-mkdir -p $RPM_BUILD_ROOT/opt/%name
-# Copy ODL from archive to its dir in build root
-cp -r ../distribution-karaf-0.4.0-RC2.1/* $RPM_BUILD_ROOT/opt/%name
-# Create directory in build root for systemd .service file
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-# Copy ODL's systemd .service file to correct dir in build root
-cp ../../BUILD/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service $RPM_BUILD_ROOT/%{_unitdir}/%name.service
-
-%postun
-# When the RPM is removed, the subdirs containing new files wouldn't normally
-# be deleted. Manually clean them up.
-# Warning: This does assume there's no data there that should be preserved
-if [ $1 -eq 0 ]; then
- rm -rf $RPM_BUILD_ROOT/opt/%name
-fi
-
-%files
-# ODL will run as odl:odl, set as user:group for ODL dir, don't override mode
-%attr(-,odl,odl) /opt/%name
-# Configure systemd unitfile user/group/mode
-%attr(0644,root,root) %{_unitdir}/%name.service
-
-%changelog
-* Wed Feb 9 2016 Daniel Farrell <dfarrell@redhat.com> - 4.0.0-1.rc2.1
-- Create 4.0.0-1.rc2.1 RPM
\ No newline at end of file
+++ /dev/null
-# ODL is a noarch package, so this isn't necessary. It's also very slow.
-%define __jar_repack 0
-
-Name: opendaylight
-Version: 4.0.0
-# The Fedora/CentOS packaging guidelines *require* the use of a disttag. ODL's
-# RPM build doesn't do anything Fedora/CentOS specific, so the disttag is
-# unnecessary and unused in our case, but both the docs and the pros (apevec)
-# agree that we should include it.
-# See: https://fedoraproject.org/wiki/Packaging:DistTag
-Release: 1.rc2.2.el7
-BuildArch: noarch
-Summary: OpenDaylight SDN Controller
-Group: Applications/Communications
-License: EPL-1.0
-URL: http://www.opendaylight.org
-Source0: https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium-RC2.2/distribution-karaf-0.4.0-Beryllium-RC2.2.tar.gz
-Source1: %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service.tar.gz
-Buildroot: /tmp
-# Required for ODL at run time
-Requires: java >= 1:1.7.0
-# Required for creating odl group
-Requires(pre): shadow-utils
-# Required for configuring systemd
-BuildRequires: systemd
-
-%pre
-# Create `odl` user/group
-# Short circuits if the user/group already exists
-# Home dir must be a valid path for various files to be created in it
-getent passwd odl > /dev/null || useradd odl -M -d $RPM_BUILD_ROOT/opt/%name
-getent group odl > /dev/null || groupadd odl
-
-%description
-OpenDaylight Beryllium-RC2.2
-
-%prep
-# Extract Source0 (ODL archive)
-%autosetup -n distribution-karaf-0.4.0-Beryllium-RC2.2
-# Extract Source1 (systemd config)
-%autosetup -T -D -b 1 -c -n %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service
-
-%install
-# Create directory in build root for ODL
-mkdir -p $RPM_BUILD_ROOT/opt/%name
-# Copy ODL from archive to its dir in build root
-cp -r ../distribution-karaf-0.4.0-Beryllium-RC2.2/* $RPM_BUILD_ROOT/opt/%name
-# Create directory in build root for systemd .service file
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-# Copy ODL's systemd .service file to correct dir in build root
-cp ../../BUILD/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service $RPM_BUILD_ROOT/%{_unitdir}/%name.service
-
-%postun
-# When the RPM is removed, the subdirs containing new files wouldn't normally
-# be deleted. Manually clean them up.
-# Warning: This does assume there's no data there that should be preserved
-if [ $1 -eq 0 ]; then
- rm -rf $RPM_BUILD_ROOT/opt/%name
-fi
-
-%files
-# ODL will run as odl:odl, set as user:group for ODL dir, don't override mode
-%attr(-,odl,odl) /opt/%name
-# Configure systemd unitfile user/group/mode
-%attr(0644,root,root) %{_unitdir}/%name.service
-
-%changelog
-* Wed Feb 11 2016 Daniel Farrell <dfarrell@redhat.com> - 4.0.0-1.rc2.2
-- Create 4.0.0-1.rc2.2 RPM
\ No newline at end of file
+++ /dev/null
-# ODL is a noarch package, so this isn't necessary. It's also very slow.
-%define __jar_repack 0
-
-Name: opendaylight
-Version: 4.0.0
-# The Fedora/CentOS packaging guidelines *require* the use of a disttag. ODL's
-# RPM build doesn't do anything Fedora/CentOS specific, so the disttag is
-# unnecessary and unused in our case, but both the docs and the pros (apevec)
-# agree that we should include it.
-# See: https://fedoraproject.org/wiki/Packaging:DistTag
-Release: 1.rc2.3.el7
-BuildArch: noarch
-Summary: OpenDaylight SDN Controller
-Group: Applications/Communications
-License: EPL-1.0
-URL: http://www.opendaylight.org
-Source0: https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium-RC2.3/distribution-karaf-0.4.0-Beryllium-RC2.3.tar.gz
-Source1: %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service.tar.gz
-Buildroot: /tmp
-# Required for ODL at run time
-Requires: java >= 1:1.7.0
-# Required for creating odl group
-Requires(pre): shadow-utils
-# Required for configuring systemd
-BuildRequires: systemd
-
-%pre
-# Create `odl` user/group
-# Short circuits if the user/group already exists
-# Home dir must be a valid path for various files to be created in it
-getent passwd odl > /dev/null || useradd odl -M -d $RPM_BUILD_ROOT/opt/%name
-getent group odl > /dev/null || groupadd odl
-
-%description
-OpenDaylight Beryllium-RC2.3
-
-%prep
-# Extract Source0 (ODL archive)
-%autosetup -n distribution-karaf-0.4.0-Beryllium-RC2.3
-# Extract Source1 (systemd config)
-%autosetup -T -D -b 1 -c -n %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service
-
-%install
-# Create directory in build root for ODL
-mkdir -p $RPM_BUILD_ROOT/opt/%name
-# Copy ODL from archive to its dir in build root
-cp -r ../distribution-karaf-0.4.0-Beryllium-RC2.3/* $RPM_BUILD_ROOT/opt/%name
-# Create directory in build root for systemd .service file
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-# Copy ODL's systemd .service file to correct dir in build root
-cp ../../BUILD/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service $RPM_BUILD_ROOT/%{_unitdir}/%name.service
-
-%postun
-# When the RPM is removed, the subdirs containing new files wouldn't normally
-# be deleted. Manually clean them up.
-# Warning: This does assume there's no data there that should be preserved
-if [ $1 -eq 0 ]; then
- rm -rf $RPM_BUILD_ROOT/opt/%name
-fi
-
-%files
-# ODL will run as odl:odl, set as user:group for ODL dir, don't override mode
-%attr(-,odl,odl) /opt/%name
-# Configure systemd unitfile user/group/mode
-%attr(0644,root,root) %{_unitdir}/%name.service
-
-%changelog
-* Fri Feb 12 2016 Daniel Farrell <dfarrell@redhat.com> - 4.0.0-1.rc2.3
-- Create 4.0.0-1.rc2.3 RPM
\ No newline at end of file
+++ /dev/null
-# ODL is a noarch package, so this isn't necessary. It's also very slow.
-%define __jar_repack 0
-
-Name: opendaylight
-Version: 4.0.0
-# The Fedora/CentOS packaging guidelines *require* the use of a disttag. ODL's
-# RPM build doesn't do anything Fedora/CentOS specific, so the disttag is
-# unnecessary and unused in our case, but both the docs and the pros (apevec)
-# agree that we should include it.
-# See: https://fedoraproject.org/wiki/Packaging:DistTag
-Release: 1.rc2.el7
-BuildArch: noarch
-Summary: OpenDaylight SDN Controller
-Group: Applications/Communications
-License: EPL-1.0
-URL: http://www.opendaylight.org
-Source0: https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium-RC2/distribution-karaf-0.4.0-Beryllium-RC2.tar.gz
-Source1: %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service.tar.gz
-Buildroot: /tmp
-# Required for ODL at run time
-Requires: java >= 1:1.7.0
-# Required for creating odl group
-Requires(pre): shadow-utils
-# Required for configuring systemd
-BuildRequires: systemd
-
-%pre
-# Create `odl` user/group
-# Short circuits if the user/group already exists
-# Home dir must be a valid path for various files to be created in it
-getent passwd odl > /dev/null || useradd odl -M -d $RPM_BUILD_ROOT/opt/%name
-getent group odl > /dev/null || groupadd odl
-
-%description
-OpenDaylight Beryllium-RC2
-
-%prep
-# Extract Source0 (ODL archive)
-%autosetup -n distribution-karaf-0.4.0-Beryllium-RC2
-# Extract Source1 (systemd config)
-%autosetup -T -D -b 1 -c -n %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service
-
-%install
-# Create directory in build root for ODL
-mkdir -p $RPM_BUILD_ROOT/opt/%name
-# Copy ODL from archive to its dir in build root
-cp -r ../distribution-karaf-0.4.0-Beryllium-RC2/* $RPM_BUILD_ROOT/opt/%name
-# Create directory in build root for systemd .service file
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-# Copy ODL's systemd .service file to correct dir in build root
-cp ../../BUILD/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service $RPM_BUILD_ROOT/%{_unitdir}/%name.service
-
-%postun
-# When the RPM is removed, the subdirs containing new files wouldn't normally
-# be deleted. Manually clean them up.
-# Warning: This does assume there's no data there that should be preserved
-if [ $1 -eq 0 ]; then
- rm -rf $RPM_BUILD_ROOT/opt/%name
-fi
-
-%files
-# ODL will run as odl:odl, set as user:group for ODL dir, don't override mode
-%attr(-,odl,odl) /opt/%name
-# Configure systemd unitfile user/group/mode
-%attr(0644,root,root) %{_unitdir}/%name.service
-
-%changelog
-* Wed Jan 22 2016 Daniel Farrell <dfarrell@redhat.com> - 4.0.0-1.rc2
-- Create 4.0.0-1.rc2 RPM
\ No newline at end of file
+++ /dev/null
-# ODL is a noarch package, so this isn't necessary. It's also very slow.
-%define __jar_repack 0
-
-Name: opendaylight
-Version: 4.0.0
-# The Fedora/CentOS packaging guidelines *require* the use of a disttag. ODL's
-# RPM build doesn't do anything Fedora/CentOS specific, so the disttag is
-# unnecessary and unused in our case, but both the docs and the pros (apevec)
-# agree that we should include it.
-# See: https://fedoraproject.org/wiki/Packaging:DistTag
-Release: 1.rc3.1.el7
-BuildArch: noarch
-Summary: OpenDaylight SDN Controller
-Group: Applications/Communications
-License: EPL-1.0
-URL: http://www.opendaylight.org
-Source0: https://nexus.opendaylight.org/content/repositories/autorelease-1079/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium/distribution-karaf-0.4.0-Beryllium.tar.gz
-Source1: %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service.tar.gz
-Buildroot: /tmp
-# Required for ODL at run time
-Requires: java >= 1:1.7.0
-# Required for creating odl group
-Requires(pre): shadow-utils
-# Required for configuring systemd
-BuildRequires: systemd
-
-%pre
-# Create `odl` user/group
-# Short circuits if the user/group already exists
-# Home dir must be a valid path for various files to be created in it
-getent passwd odl > /dev/null || useradd odl -M -d $RPM_BUILD_ROOT/opt/%name
-getent group odl > /dev/null || groupadd odl
-
-%description
-OpenDaylight Beryllium
-
-%prep
-# Extract Source0 (ODL archive)
-%autosetup -n distribution-karaf-0.4.0-Beryllium
-# Extract Source1 (systemd config)
-%autosetup -T -D -b 1 -c -n %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service
-
-%install
-# Create directory in build root for ODL
-mkdir -p $RPM_BUILD_ROOT/opt/%name
-# Copy ODL from archive to its dir in build root
-cp -r ../distribution-karaf-0.4.0-Beryllium/* $RPM_BUILD_ROOT/opt/%name
-# Create directory in build root for systemd .service file
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-# Copy ODL's systemd .service file to correct dir in build root
-cp ../../BUILD/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service $RPM_BUILD_ROOT/%{_unitdir}/%name.service
-
-%postun
-# When the RPM is removed, the subdirs containing new files wouldn't normally
-# be deleted. Manually clean them up.
-# Warning: This does assume there's no data there that should be preserved
-if [ $1 -eq 0 ]; then
- rm -rf $RPM_BUILD_ROOT/opt/%name
-fi
-
-%files
-# ODL will run as odl:odl, set as user:group for ODL dir, don't override mode
-%attr(-,odl,odl) /opt/%name
-# Configure systemd unitfile user/group/mode
-%attr(0644,root,root) %{_unitdir}/%name.service
-
-%changelog
-* Tue Feb 16 2016 Daniel Farrell <dfarrell@redhat.com> - 4.0.0-1.rc3.1
-- Create 4.0.0-1.rc3.1 RPM
\ No newline at end of file
+++ /dev/null
-# ODL is a noarch package, so this isn't necessary. It's also very slow.
-%define __jar_repack 0
-
-Name: opendaylight
-Version: 4.0.0
-# The Fedora/CentOS packaging guidelines *require* the use of a disttag. ODL's
-# RPM build doesn't do anything Fedora/CentOS specific, so the disttag is
-# unnecessary and unused in our case, but both the docs and the pros (apevec)
-# agree that we should include it.
-# See: https://fedoraproject.org/wiki/Packaging:DistTag
-Release: 1.rc3.el7
-BuildArch: noarch
-Summary: OpenDaylight SDN Controller
-Group: Applications/Communications
-License: EPL-1.0
-URL: http://www.opendaylight.org
-Source0: https://nexus.opendaylight.org/content/repositories/autorelease-1075/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium/distribution-karaf-0.4.0-Beryllium.tar.gz
-Source1: %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service.tar.gz
-Buildroot: /tmp
-# Required for ODL at run time
-Requires: java >= 1:1.7.0
-# Required for creating odl group
-Requires(pre): shadow-utils
-# Required for configuring systemd
-BuildRequires: systemd
-
-%pre
-# Create `odl` user/group
-# Short circuits if the user/group already exists
-# Home dir must be a valid path for various files to be created in it
-getent passwd odl > /dev/null || useradd odl -M -d $RPM_BUILD_ROOT/opt/%name
-getent group odl > /dev/null || groupadd odl
-
-%description
-OpenDaylight Beryllium
-
-%prep
-# Extract Source0 (ODL archive)
-%autosetup -n distribution-karaf-0.4.0-Beryllium
-# Extract Source1 (systemd config)
-%autosetup -T -D -b 1 -c -n %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service
-
-%install
-# Create directory in build root for ODL
-mkdir -p $RPM_BUILD_ROOT/opt/%name
-# Copy ODL from archive to its dir in build root
-cp -r ../distribution-karaf-0.4.0-Beryllium/* $RPM_BUILD_ROOT/opt/%name
-# Create directory in build root for systemd .service file
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-# Copy ODL's systemd .service file to correct dir in build root
-cp ../../BUILD/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service $RPM_BUILD_ROOT/%{_unitdir}/%name.service
-
-%postun
-# When the RPM is removed, the subdirs containing new files wouldn't normally
-# be deleted. Manually clean them up.
-# Warning: This does assume there's no data there that should be preserved
-if [ $1 -eq 0 ]; then
- rm -rf $RPM_BUILD_ROOT/opt/%name
-fi
-
-%files
-# ODL will run as odl:odl, set as user:group for ODL dir, don't override mode
-%attr(-,odl,odl) /opt/%name
-# Configure systemd unitfile user/group/mode
-%attr(0644,root,root) %{_unitdir}/%name.service
-
-%changelog
-* Mon Feb 15 2016 Daniel Farrell <dfarrell@redhat.com> - 4.0.0-1.rc3
-- Create 4.0.0-1.rc3 RPM
\ No newline at end of file
+++ /dev/null
-# ODL is a noarch package, so this isn't necessary. It's also very slow.
-%define __jar_repack 0
-
-Name: opendaylight
-Version: 4.0.0
-# The Fedora/CentOS packaging guidelines *require* the use of a disttag. ODL's
-# RPM build doesn't do anything Fedora/CentOS specific, so the disttag is
-# unnecessary and unused in our case, but both the docs and the pros (apevec)
-# agree that we should include it.
-# See: https://fedoraproject.org/wiki/Packaging:DistTag
-Release: 2.201601200134.el7
-BuildArch: noarch
-Summary: OpenDaylight SDN Controller
-Group: Applications/Communications
-License: EPL-1.0
-URL: http://www.opendaylight.org
-Source0: https://nexus.opendaylight.org/content/repositories/autorelease-1025/org/opendaylight/integration/distribution-karaf/0.4.0-beryllium-daily-v201601200134/distribution-karaf-0.4.0-beryllium-daily-v201601200134.tar.gz
-Source1: %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service.tar.gz
-Buildroot: /tmp
-# Required for ODL at run time
-Requires: java >= 1:1.7.0
-# Required for creating odl group
-Requires(pre): shadow-utils
-# Required for configuring systemd
-BuildRequires: systemd
-
-%pre
-# Create `odl` user/group
-# Short circuits if the user/group already exists
-# Home dir must be a valid path for various files to be created in it
-getent passwd odl > /dev/null || useradd odl -M -d $RPM_BUILD_ROOT/opt/%name
-getent group odl > /dev/null || groupadd odl
-
-%description
-OpenDaylight beryllium-daily-v201601200134
-
-%prep
-# Extract Source0 (ODL archive)
-%autosetup -n distribution-karaf-0.4.0-beryllium-daily-v201601200134
-# Extract Source1 (systemd config)
-%autosetup -T -D -b 1 -c -n %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service
-
-%install
-# Create directory in build root for ODL
-mkdir -p $RPM_BUILD_ROOT/opt/%name
-# Copy ODL from archive to its dir in build root
-cp -r ../distribution-karaf-0.4.0-beryllium-daily-v201601200134/* $RPM_BUILD_ROOT/opt/%name
-# Create directory in build root for systemd .service file
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-# Copy ODL's systemd .service file to correct dir in build root
-cp ../../BUILD/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service $RPM_BUILD_ROOT/%{_unitdir}/%name.service
-
-%postun
-# When the RPM is removed, the subdirs containing new files wouldn't normally
-# be deleted. Manually clean them up.
-# Warning: This does assume there's no data there that should be preserved
-if [ $1 -eq 0 ]; then
- rm -rf $RPM_BUILD_ROOT/opt/%name
-fi
-
-%files
-# ODL will run as odl:odl, set as user:group for ODL dir, don't override mode
-%attr(-,odl,odl) /opt/%name
-# Configure systemd unitfile user/group/mode
-%attr(0644,root,root) %{_unitdir}/%name.service
-
-%changelog
-* Wed Jan 22 2016 Daniel Farrell <dfarrell@redhat.com> - 4.0.0-2.201601200134
-- Create 4.0.0-2.201601200134 RPM
\ No newline at end of file
+++ /dev/null
-# ODL is a noarch package, so this isn't necessary. It's also very slow.
-%define __jar_repack 0
-
-Name: opendaylight
-Version: 4.2.0
-# The Fedora/CentOS packaging guidelines *require* the use of a disttag. ODL's
-# RPM build doesn't do anything Fedora/CentOS specific, so the disttag is
-# unnecessary and unused in our case, but both the docs and the pros (apevec)
-# agree that we should include it.
-# See: https://fedoraproject.org/wiki/Packaging:DistTag
-Release: 1.20160407.144137180.el7
-BuildArch: noarch
-Summary: OpenDaylight SDN Controller
-Group: Applications/Communications
-License: EPL-1.0
-URL: http://www.opendaylight.org
-Source0: https://nexus.opendaylight.org/service/local/repositories/opendaylight.snapshot/content/org/opendaylight/integration/distribution-karaf/0.4.2-SNAPSHOT/distribution-karaf-0.4.2-20160407.144137-180.tar.gz
-Source1: %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service.tar.gz
-Buildroot: /tmp
-# Required for ODL at run time
-Requires: java >= 1:1.7.0
-# Required for creating odl group
-Requires(pre): shadow-utils
-# Required for configuring systemd
-BuildRequires: systemd
-
-%pre
-# Create `odl` user/group
-# Short circuits if the user/group already exists
-# Home dir must be a valid path for various files to be created in it
-getent passwd odl > /dev/null || useradd odl -M -d $RPM_BUILD_ROOT/opt/%name
-getent group odl > /dev/null || groupadd odl
-
-%description
-OpenDaylight 20160407.144137-180
-
-%prep
-# Extract Source0 (ODL archive)
-%autosetup -n distribution-karaf-0.4.2-20160407.144137-180
-# Extract Source1 (systemd config)
-%autosetup -T -D -b 1 -c -n %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service
-
-%install
-# Create directory in build root for ODL
-mkdir -p $RPM_BUILD_ROOT/opt/%name
-# Copy ODL from archive to its dir in build root
-cp -r ../distribution-karaf-0.4.2-20160407.144137-180/* $RPM_BUILD_ROOT/opt/%name
-# Create directory in build root for systemd .service file
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-# Copy ODL's systemd .service file to correct dir in build root
-cp ../../BUILD/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service $RPM_BUILD_ROOT/%{_unitdir}/%name.service
-
-%postun
-# When the RPM is removed, the subdirs containing new files wouldn't normally
-# be deleted. Manually clean them up.
-# Warning: This does assume there's no data there that should be preserved
-if [ $1 -eq 0 ]; then
- rm -rf $RPM_BUILD_ROOT/opt/%name
-fi
-
-%files
-# ODL will run as odl:odl, set as user:group for ODL dir, don't override mode
-%attr(-,odl,odl) /opt/%name
-# Configure systemd unitfile user/group/mode
-%attr(0644,root,root) %{_unitdir}/%name.service
-
-%changelog
-* Thu Apr 07 2016 Daniel Farrell <dfarrell@redhat.com> - 4.2.0-1.20160407.144137180
-- Create 4.2.0-1.20160407.144137180 RPM
\ No newline at end of file
+++ /dev/null
-# ODL is a noarch package, so this isn't necessary. It's also very slow.
-%define __jar_repack 0
-
-Name: opendaylight
-Version: 4.2.0
-# The Fedora/CentOS packaging guidelines *require* the use of a disttag. ODL's
-# RPM build doesn't do anything Fedora/CentOS specific, so the disttag is
-# unnecessary and unused in our case, but both the docs and the pros (apevec)
-# agree that we should include it.
-# See: https://fedoraproject.org/wiki/Packaging:DistTag
-Release: 1.20160414.221815224.el7
-BuildArch: noarch
-Summary: OpenDaylight SDN Controller
-Group: Applications/Communications
-License: EPL-1.0
-URL: http://www.opendaylight.org
-Source0: https://nexus.opendaylight.org/service/local/repositories/opendaylight.snapshot/content/org/opendaylight/integration/distribution-karaf/0.4.2-SNAPSHOT/distribution-karaf-0.4.2-20160414.221815-224.tar.gz
-Source1: %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service.tar.gz
-Buildroot: /tmp
-# Required for ODL at run time
-Requires: java >= 1:1.7.0
-# Required for creating odl group
-Requires(pre): shadow-utils
-# Required for configuring systemd
-BuildRequires: systemd
-
-%pre
-# Create `odl` user/group
-# Short circuits if the user/group already exists
-# Home dir must be a valid path for various files to be created in it
-getent passwd odl > /dev/null || useradd odl -M -d $RPM_BUILD_ROOT/opt/%name
-getent group odl > /dev/null || groupadd odl
-
-%description
-OpenDaylight 20160414.221815-224
-
-%prep
-# Extract Source0 (ODL archive)
-%autosetup -n distribution-karaf-0.4.2-20160414.221815-224
-# Extract Source1 (systemd config)
-%autosetup -T -D -b 1 -c -n %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service
-
-%install
-# Create directory in build root for ODL
-mkdir -p $RPM_BUILD_ROOT/opt/%name
-# Copy ODL from archive to its dir in build root
-cp -r ../distribution-karaf-0.4.2-20160414.221815-224/* $RPM_BUILD_ROOT/opt/%name
-# Create directory in build root for systemd .service file
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-# Copy ODL's systemd .service file to correct dir in build root
-cp ../../BUILD/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service $RPM_BUILD_ROOT/%{_unitdir}/%name.service
-
-%postun
-# When the RPM is removed, the subdirs containing new files wouldn't normally
-# be deleted. Manually clean them up.
-# Warning: This does assume there's no data there that should be preserved
-if [ $1 -eq 0 ]; then
- rm -rf $RPM_BUILD_ROOT/opt/%name
-fi
-
-%files
-# ODL will run as odl:odl, set as user:group for ODL dir, don't override mode
-%attr(-,odl,odl) /opt/%name
-# Configure systemd unitfile user/group/mode
-%attr(0644,root,root) %{_unitdir}/%name.service
-
-%changelog
-* Thu Apr 14 2016 Daniel Farrell <dfarrell@redhat.com> - 4.2.0-1.20160414.221815224
-- Create 4.2.0-1.20160414.221815224 RPM
\ No newline at end of file
+++ /dev/null
-# ODL is a noarch package, so this isn't necessary. It's also very slow.
-%define __jar_repack 0
-
-Name: opendaylight
-Version: 4.2.0
-# The Fedora/CentOS packaging guidelines *require* the use of a disttag. ODL's
-# RPM build doesn't do anything Fedora/CentOS specific, so the disttag is
-# unnecessary and unused in our case, but both the docs and the pros (apevec)
-# agree that we should include it.
-# See: https://fedoraproject.org/wiki/Packaging:DistTag
-Release: 1.20160415.165450231.el7
-BuildArch: noarch
-Summary: OpenDaylight SDN Controller
-Group: Applications/Communications
-License: EPL-1.0
-URL: http://www.opendaylight.org
-Source0: https://nexus.opendaylight.org/service/local/repositories/opendaylight.snapshot/content/org/opendaylight/integration/distribution-karaf/0.4.2-SNAPSHOT/distribution-karaf-0.4.2-20160415.165450-231.tar.gz
-Source1: %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service.tar.gz
-Buildroot: /tmp
-# Required for ODL at run time
-Requires: java >= 1:1.7.0
-# Required for creating odl group
-Requires(pre): shadow-utils
-# Required for configuring systemd
-BuildRequires: systemd
-
-%pre
-# Create `odl` user/group
-# Short circuits if the user/group already exists
-# Home dir must be a valid path for various files to be created in it
-getent passwd odl > /dev/null || useradd odl -M -d $RPM_BUILD_ROOT/opt/%name
-getent group odl > /dev/null || groupadd odl
-
-%description
-OpenDaylight 20160415.165450-231
-
-%prep
-# Extract Source0 (ODL archive)
-%autosetup -n distribution-karaf-0.4.2-20160415.165450-231
-# Extract Source1 (systemd config)
-%autosetup -T -D -b 1 -c -n %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service
-
-%install
-# Create directory in build root for ODL
-mkdir -p $RPM_BUILD_ROOT/opt/%name
-# Copy ODL from archive to its dir in build root
-cp -r ../distribution-karaf-0.4.2-20160415.165450-231/* $RPM_BUILD_ROOT/opt/%name
-# Create directory in build root for systemd .service file
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-# Copy ODL's systemd .service file to correct dir in build root
-cp ../../BUILD/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service $RPM_BUILD_ROOT/%{_unitdir}/%name.service
-
-%postun
-# When the RPM is removed, the subdirs containing new files wouldn't normally
-# be deleted. Manually clean them up.
-# Warning: This does assume there's no data there that should be preserved
-if [ $1 -eq 0 ]; then
- rm -rf $RPM_BUILD_ROOT/opt/%name
-fi
-
-%files
-# ODL will run as odl:odl, set as user:group for ODL dir, don't override mode
-%attr(-,odl,odl) /opt/%name
-# Configure systemd unitfile user/group/mode
-%attr(0644,root,root) %{_unitdir}/%name.service
-
-%changelog
-* Fri Apr 15 2016 Daniel Farrell <dfarrell@redhat.com> - 4.2.0-1.20160415.165450231
-- Create 4.2.0-1.20160415.165450231 RPM
\ No newline at end of file
+++ /dev/null
-# ODL is a noarch package, so this isn't necessary. It's also very slow.
-%define __jar_repack 0
-
-Name: opendaylight
-Version: 4.2.0
-# The Fedora/CentOS packaging guidelines *require* the use of a disttag. ODL's
-# RPM build doesn't do anything Fedora/CentOS specific, so the disttag is
-# unnecessary and unused in our case, but both the docs and the pros (apevec)
-# agree that we should include it.
-# See: https://fedoraproject.org/wiki/Packaging:DistTag
-Release: 1.201604190031.el7
-BuildArch: noarch
-Summary: OpenDaylight SDN Controller
-Group: Applications/Communications
-License: EPL-1.0
-URL: http://www.opendaylight.org
-Source0: https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.2-beryllium-daily-v201604190031/distribution-karaf-0.4.2-beryllium-daily-v201604190031.tar.gz
-Source1: %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service.tar.gz
-Buildroot: /tmp
-# Required for ODL at run time
-Requires: java >= 1:1.7.0
-# Required for creating odl group
-Requires(pre): shadow-utils
-# Required for configuring systemd
-BuildRequires: systemd
-
-%pre
-# Create `odl` user/group
-# Short circuits if the user/group already exists
-# Home dir must be a valid path for various files to be created in it
-getent passwd odl > /dev/null || useradd odl -M -d $RPM_BUILD_ROOT/opt/%name
-getent group odl > /dev/null || groupadd odl
-
-%description
-OpenDaylight beryllium-daily-v201604190031
-
-%prep
-# Extract Source0 (ODL archive)
-%autosetup -n distribution-karaf-0.4.2-beryllium-daily-v201604190031
-# Extract Source1 (systemd config)
-%autosetup -T -D -b 1 -c -n %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service
-
-%install
-# Create directory in build root for ODL
-mkdir -p $RPM_BUILD_ROOT/opt/%name
-# Copy ODL from archive to its dir in build root
-cp -r ../distribution-karaf-0.4.2-beryllium-daily-v201604190031/* $RPM_BUILD_ROOT/opt/%name
-# Create directory in build root for systemd .service file
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-# Copy ODL's systemd .service file to correct dir in build root
-cp ../../BUILD/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service $RPM_BUILD_ROOT/%{_unitdir}/%name.service
-
-%postun
-# When the RPM is removed, the subdirs containing new files wouldn't normally
-# be deleted. Manually clean them up.
-# Warning: This does assume there's no data there that should be preserved
-if [ $1 -eq 0 ]; then
- rm -rf $RPM_BUILD_ROOT/opt/%name
-fi
-
-%files
-# ODL will run as odl:odl, set as user:group for ODL dir, don't override mode
-%attr(-,odl,odl) /opt/%name
-# Configure systemd unitfile user/group/mode
-%attr(0644,root,root) %{_unitdir}/%name.service
-
-%changelog
-* Tue Apr 19 2016 Daniel Farrell <dfarrell@redhat.com> - 4.2.0-1.201604190031
-- Create 4.2.0-1.201604190031 RPM
\ No newline at end of file
+++ /dev/null
-# ODL is a noarch package, so this isn't necessary. It's also very slow.
-%define __jar_repack 0
-
-Name: opendaylight
-Version: 4.2.0
-# The Fedora/CentOS packaging guidelines *require* the use of a disttag. ODL's
-# RPM build doesn't do anything Fedora/CentOS specific, so the disttag is
-# unnecessary and unused in our case, but both the docs and the pros (apevec)
-# agree that we should include it.
-# See: https://fedoraproject.org/wiki/Packaging:DistTag
-Release: 1.20160420.023809294.el7
-BuildArch: noarch
-Summary: OpenDaylight SDN Controller
-Group: Applications/Communications
-License: EPL-1.0
-URL: http://www.opendaylight.org
-Source0: https://nexus.opendaylight.org/service/local/repositories/opendaylight.snapshot/content/org/opendaylight/integration/distribution-karaf/0.4.2-SNAPSHOT/distribution-karaf-0.4.2-20160420.023809-294.tar.gz
-Source1: %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service.tar.gz
-Buildroot: /tmp
-# Required for ODL at run time
-Requires: java >= 1:1.7.0
-# Required for creating odl group
-Requires(pre): shadow-utils
-# Required for configuring systemd
-BuildRequires: systemd
-
-%pre
-# Create `odl` user/group
-# Short circuits if the user/group already exists
-# Home dir must be a valid path for various files to be created in it
-getent passwd odl > /dev/null || useradd odl -M -d $RPM_BUILD_ROOT/opt/%name
-getent group odl > /dev/null || groupadd odl
-
-%description
-OpenDaylight 20160420.023809-294
-
-%prep
-# Extract Source0 (ODL archive)
-%autosetup -n distribution-karaf-0.4.2-20160420.023809-294
-# Extract Source1 (systemd config)
-%autosetup -T -D -b 1 -c -n %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service
-
-%install
-# Create directory in build root for ODL
-mkdir -p $RPM_BUILD_ROOT/opt/%name
-# Copy ODL from archive to its dir in build root
-cp -r ../distribution-karaf-0.4.2-20160420.023809-294/* $RPM_BUILD_ROOT/opt/%name
-# Create directory in build root for systemd .service file
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-# Copy ODL's systemd .service file to correct dir in build root
-cp ../../BUILD/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service $RPM_BUILD_ROOT/%{_unitdir}/%name.service
-
-%postun
-# When the RPM is removed, the subdirs containing new files wouldn't normally
-# be deleted. Manually clean them up.
-# Warning: This does assume there's no data there that should be preserved
-if [ $1 -eq 0 ]; then
- rm -rf $RPM_BUILD_ROOT/opt/%name
-fi
-
-%files
-# ODL will run as odl:odl, set as user:group for ODL dir, don't override mode
-%attr(-,odl,odl) /opt/%name
-# Configure systemd unitfile user/group/mode
-%attr(0644,root,root) %{_unitdir}/%name.service
-
-%changelog
-* Wed Apr 20 2016 Daniel Farrell <dfarrell@redhat.com> - 4.2.0-1.20160420.023809294
-- Create 4.2.0-1.20160420.023809294 RPM
\ No newline at end of file
+++ /dev/null
-# ODL is a noarch package, so this isn't necessary. It's also very slow.
-%define __jar_repack 0
-
-Name: opendaylight
-Version: 4.2.0
-# The Fedora/CentOS packaging guidelines *require* the use of a disttag. ODL's
-# RPM build doesn't do anything Fedora/CentOS specific, so the disttag is
-# unnecessary and unused in our case, but both the docs and the pros (apevec)
-# agree that we should include it.
-# See: https://fedoraproject.org/wiki/Packaging:DistTag
-Release: 1.201604200031.el7
-BuildArch: noarch
-Summary: OpenDaylight SDN Controller
-Group: Applications/Communications
-License: EPL-1.0
-URL: http://www.opendaylight.org
-Source0: https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.2-beryllium-daily-v201604200031/distribution-karaf-0.4.2-beryllium-daily-v201604200031.tar.gz
-Source1: %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service.tar.gz
-Buildroot: /tmp
-# Required for ODL at run time
-Requires: java >= 1:1.7.0
-# Required for creating odl group
-Requires(pre): shadow-utils
-# Required for configuring systemd
-BuildRequires: systemd
-
-%pre
-# Create `odl` user/group
-# Short circuits if the user/group already exists
-# Home dir must be a valid path for various files to be created in it
-getent passwd odl > /dev/null || useradd odl -M -d $RPM_BUILD_ROOT/opt/%name
-getent group odl > /dev/null || groupadd odl
-
-%description
-OpenDaylight beryllium-daily-v201604200031
-
-%prep
-# Extract Source0 (ODL archive)
-%autosetup -n distribution-karaf-0.4.2-beryllium-daily-v201604200031
-# Extract Source1 (systemd config)
-%autosetup -T -D -b 1 -c -n %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service
-
-%install
-# Create directory in build root for ODL
-mkdir -p $RPM_BUILD_ROOT/opt/%name
-# Copy ODL from archive to its dir in build root
-cp -r ../distribution-karaf-0.4.2-beryllium-daily-v201604200031/* $RPM_BUILD_ROOT/opt/%name
-# Create directory in build root for systemd .service file
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-# Copy ODL's systemd .service file to correct dir in build root
-cp ../../BUILD/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service $RPM_BUILD_ROOT/%{_unitdir}/%name.service
-
-%postun
-# When the RPM is removed, the subdirs containing new files wouldn't normally
-# be deleted. Manually clean them up.
-# Warning: This does assume there's no data there that should be preserved
-if [ $1 -eq 0 ]; then
- rm -rf $RPM_BUILD_ROOT/opt/%name
-fi
-
-%files
-# ODL will run as odl:odl, set as user:group for ODL dir, don't override mode
-%attr(-,odl,odl) /opt/%name
-# Configure systemd unitfile user/group/mode
-%attr(0644,root,root) %{_unitdir}/%name.service
-
-%changelog
-* Wed Apr 20 2016 Daniel Farrell <dfarrell@redhat.com> - 4.2.0-1.201604200031
-- Create 4.2.0-1.201604200031 RPM
\ No newline at end of file
+++ /dev/null
-# ODL is a noarch package, so this isn't necessary. It's also very slow.
-%define __jar_repack 0
-
-Name: opendaylight
-Version: 5.0.0
-# The Fedora/CentOS packaging guidelines *require* the use of a disttag. ODL's
-# RPM build doesn't do anything Fedora/CentOS specific, so the disttag is
-# unnecessary and unused in our case, but both the docs and the pros (apevec)
-# agree that we should include it.
-# See: https://fedoraproject.org/wiki/Packaging:DistTag
-Release: 1.201604260021.el7
-BuildArch: noarch
-Summary: OpenDaylight SDN Controller
-Group: Applications/Communications
-License: EPL-1.0
-URL: http://www.opendaylight.org
-Source0: https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.5.0-boron-daily-v201604260021/distribution-karaf-0.5.0-boron-daily-v201604260021.tar.gz
-Source1: %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service.tar.gz
-Buildroot: /tmp
-# Required for ODL at run time
-Requires: java >= 1:1.7.0
-# Required for creating odl group
-Requires(pre): shadow-utils
-# Required for configuring systemd
-BuildRequires: systemd
-
-%pre
-# Create `odl` user/group
-# Short circuits if the user/group already exists
-# Home dir must be a valid path for various files to be created in it
-getent passwd odl > /dev/null || useradd odl -M -d $RPM_BUILD_ROOT/opt/%name
-getent group odl > /dev/null || groupadd odl
-
-%description
-OpenDaylight boron-daily-v201604260021
-
-%prep
-# Extract Source0 (ODL archive)
-%autosetup -n distribution-karaf-0.5.0-boron-daily-v201604260021
-# Extract Source1 (systemd config)
-%autosetup -T -D -b 1 -c -n %name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service
-
-%install
-# Create directory in build root for ODL
-mkdir -p $RPM_BUILD_ROOT/opt/%name
-# Copy ODL from archive to its dir in build root
-cp -r ../distribution-karaf-0.5.0-boron-daily-v201604260021/* $RPM_BUILD_ROOT/opt/%name
-# Create directory in build root for systemd .service file
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-# Copy ODL's systemd .service file to correct dir in build root
-cp ../../BUILD/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service/%name-c6d7ee1f21d62ff8ffb741c7a12c3d8d3aa3d6ed.service $RPM_BUILD_ROOT/%{_unitdir}/%name.service
-
-%postun
-# When the RPM is removed, the subdirs containing new files wouldn't normally
-# be deleted. Manually clean them up.
-# Warning: This does assume there's no data there that should be preserved
-if [ $1 -eq 0 ]; then
- rm -rf $RPM_BUILD_ROOT/opt/%name
-fi
-
-%files
-# ODL will run as odl:odl, set as user:group for ODL dir, don't override mode
-%attr(-,odl,odl) /opt/%name
-# Configure systemd unitfile user/group/mode
-%attr(0644,root,root) %{_unitdir}/%name.service
-
-%changelog
-* Tue May 31 2016 Daniel Farrell <dfarrell@redhat.com> - 5.0.0-1.201604260021
-- Create 5.0.0-1.201604260021 RPM
\ No newline at end of file