diff --git a/cim-schema.spec b/cim-schema.spec index f37a239..5acd9be 100644 --- a/cim-schema.spec +++ b/cim-schema.spec @@ -39,14 +39,12 @@ Name: cim-schema Url: http://www.dmtf.org/ Summary: Common Information Model (CIM) Schema Version: %{major}.%{minor}.%{update} -Release: 2%{?dist} +Release: 3%{?dist} Group: Development/Libraries License: DMTF Source0: http://www.dmtf.org/standards/cim/cim_schema_v%{major}%{minor}%{update}/cim_schema_%{version}Experimental-MOFs.zip Source1: http://www.dmtf.org/standards/cim/cim_schema_v%{major}%{minor}%{update}/cim_schema_%{version}Experimental-Doc.zip -Source2: loadmof.sh -Source3: rmmof.sh -Source4: LICENSE +Source2: LICENSE BuildArch: noarch %package docs @@ -74,7 +72,7 @@ Common Information Model (CIM) schema documentation. %setup -q -T -a 1 -c -n %{name}-%{version}-docs %setup -q -T -a 0 -c -n %{name}-%{version} # BEWARE, Below statement fails in local builds. -cp -a %{SOURCE4} .. +cp -a %{SOURCE2} .. %build %install @@ -91,8 +89,6 @@ chmod -R a+rX . ln -s cimv%{version} $RPM_BUILD_ROOT/$MOFDIR/cim-current ln -s cim_schema_%{version}.mof $RPM_BUILD_ROOT/$MOFDIR/cim-current/CIM_Schema.mof install -d $RPM_BUILD_ROOT/usr/bin -install -m 755 %{S:2} $RPM_BUILD_ROOT/usr/bin/ -install -m 755 %{S:3} $RPM_BUILD_ROOT/usr/bin/ %clean %__rm -rf $RPM_BUILD_ROOT @@ -102,14 +98,15 @@ install -m 755 %{S:3} $RPM_BUILD_ROOT/usr/bin/ %dir %{_datarootdir}/mof/cimv%{version} %{_datarootdir}/mof/cimv%{version}/* %{_datarootdir}/mof/cim-current -%{_bindir}/loadmof.sh -%{_bindir}/rmmof.sh %doc ../LICENSE %files docs %doc ../%{name}-%{version}-docs/* %changelog +* Wed Nov 21 2012 Vitezslav Crhonek - 2.33.0-3 +- Remove loadmof.sh and rmmof.sh scripts + * Thu Aug 23 2012 Vitezslav Crhonek - 2.33.0-2 - Fix issues found by fedora-review utility in the spec file diff --git a/loadmof.sh b/loadmof.sh deleted file mode 100644 index 7ea10e8..0000000 --- a/loadmof.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -OWLM=/usr/bin/ow-loadmof.sh -PEGLM=/usr/bin/peg-loadmof.sh - -if [ -x $OWLM ]; then - $OWLM $@ -fi - -if [ -x $PEGLM ]; then - $PEGLM $@ -fi - diff --git a/rmmof.sh b/rmmof.sh deleted file mode 100644 index 2ae09ec..0000000 --- a/rmmof.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -OWLM=/usr/bin/ow-rmmof.sh -PEGLM=/usr/bin/peg-rmmof.sh - -if [ -x $OWLM ]; then - $OWLM $@ -fi - -if [ -x $PEGLM ]; then - $PEGLM $@ -fi -