Browse code

Adding the recycle tool to the specfile

Brenton Leanhardt authored on 2015/11/13 03:43:19
Showing 1 changed files
... ...
@@ -118,6 +118,13 @@ Requires:       %{name} = %{version}-%{release}
118 118
 %description pod
119 119
 %{summary}
120 120
 
121
+%package recycle
122
+Summary:        %{product_name} Recycler
123
+Requires:       %{name} = %{version}-%{release}
124
+
125
+%description recycle
126
+%{summary}
127
+
121 128
 %package sdn-ovs
122 129
 Summary:          %{product_name} SDN Plugin for Open vSwitch
123 130
 Requires:         openvswitch >= %{openvswitch_version}
... ...
@@ -154,7 +161,7 @@ pushd _thirdpartyhacks
154 154
 popd
155 155
 export GOPATH=$(pwd)/_build:$(pwd)/_thirdpartyhacks:%{buildroot}%{gopath}:%{gopath}
156 156
 # Build all linux components we care about
157
-for cmd in oc openshift dockerregistry
157
+for cmd in oc openshift dockerregistry recycle
158 158
 do
159 159
         go install -ldflags "%{ldflags}" %{import_path}/cmd/${cmd}
160 160
 done
... ...
@@ -173,7 +180,7 @@ popd
173 173
 install -d %{buildroot}%{_bindir}
174 174
 
175 175
 # Install linux components
176
-for bin in oc openshift dockerregistry
176
+for bin in oc openshift dockerregistry recycle
177 177
 do
178 178
   echo "+++ INSTALLING ${bin}"
179 179
   install -p -m 755 _build/bin/${bin} %{buildroot}%{_bindir}/${bin}
... ...
@@ -392,6 +399,10 @@ fi
392 392
 %defattr(-,root,root,-)
393 393
 %{_bindir}/pod
394 394
 
395
+%files recycle
396
+%defattr(-,root,root,-)
397
+%{_bindir}/recycle
398
+
395 399
 
396 400
 %changelog
397 401
 * Fri Sep 18 2015 Scott Dodson <sdodson@redhat.com> 0.2-9