diff --git a/packaging/centos63/cloud.spec b/packaging/centos63/cloud.spec index f833190fab8..5bba0d1049e 100644 --- a/packaging/centos63/cloud.spec +++ b/packaging/centos63/cloud.spec @@ -178,7 +178,7 @@ Group: System Environment/Libraries %description awsapi Apache Cloudstack AWS API compatibility wrapper -%if "%{_ossnoss}" == "NOREDIST" +%if "%{_ossnoss}" == "noredist" %package mysql-ha Summary: Apache CloudStack Balancing Strategy for MySQL Requires: mysql-connector-java @@ -356,7 +356,7 @@ for name in cloud-bridge.properties commons-logging.properties ec2-service.prope done # MYSQL HA -if [ "x%{_ossnoss}" == "xNOREDIST" ] ; then +if [ "x%{_ossnoss}" == "xnoredist" ] ; then mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/%{name}-mysql-ha/lib cp -r plugins/database/mysql-ha/target/cloud-plugin-database-mysqlha-%{_maventag}.jar ${RPM_BUILD_ROOT}%{_datadir}/%{name}-mysql-ha/lib fi @@ -384,7 +384,7 @@ install -D tools/whisker/LICENSE ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}-awsa install -D tools/whisker/NOTICE ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}-cli-%{version}/NOTICE install -D tools/whisker/LICENSE ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}-cli-%{version}/LICENSE -if [ "x%{_ossnoss}" == "xNOREDIST" ] ; then +if [ "x%{_ossnoss}" == "xnoredist" ] ; then install -D tools/whisker/LICENSE ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}-mysql-ha-%{version}/LICENSE install -D tools/whisker/NOTICE ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}-mysql-ha-%{version}/NOTICE fi @@ -669,7 +669,7 @@ fi %{_defaultdocdir}/%{name}-awsapi-%{version}/LICENSE %{_defaultdocdir}/%{name}-awsapi-%{version}/NOTICE -%if "%{_ossnoss}" == "NOREDIST" +%if "%{_ossnoss}" == "noredist" %files mysql-ha %defattr(0644,cloud,cloud,0755) %attr(0644,root,root) %{_datadir}/%{name}-mysql-ha/lib/*