Remove loadmof.sh and rmmof.sh scripts
This commit is contained in:
parent
016a100782
commit
68e57003af
@ -39,14 +39,12 @@ Name: cim-schema
|
|||||||
Url: http://www.dmtf.org/
|
Url: http://www.dmtf.org/
|
||||||
Summary: Common Information Model (CIM) Schema
|
Summary: Common Information Model (CIM) Schema
|
||||||
Version: %{major}.%{minor}.%{update}
|
Version: %{major}.%{minor}.%{update}
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: DMTF
|
License: DMTF
|
||||||
Source0: http://www.dmtf.org/standards/cim/cim_schema_v%{major}%{minor}%{update}/cim_schema_%{version}Experimental-MOFs.zip
|
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
|
Source1: http://www.dmtf.org/standards/cim/cim_schema_v%{major}%{minor}%{update}/cim_schema_%{version}Experimental-Doc.zip
|
||||||
Source2: loadmof.sh
|
Source2: LICENSE
|
||||||
Source3: rmmof.sh
|
|
||||||
Source4: LICENSE
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%package docs
|
%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 1 -c -n %{name}-%{version}-docs
|
||||||
%setup -q -T -a 0 -c -n %{name}-%{version}
|
%setup -q -T -a 0 -c -n %{name}-%{version}
|
||||||
# BEWARE, Below statement fails in local builds.
|
# BEWARE, Below statement fails in local builds.
|
||||||
cp -a %{SOURCE4} ..
|
cp -a %{SOURCE2} ..
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%install
|
%install
|
||||||
@ -91,8 +89,6 @@ chmod -R a+rX .
|
|||||||
ln -s cimv%{version} $RPM_BUILD_ROOT/$MOFDIR/cim-current
|
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
|
ln -s cim_schema_%{version}.mof $RPM_BUILD_ROOT/$MOFDIR/cim-current/CIM_Schema.mof
|
||||||
install -d $RPM_BUILD_ROOT/usr/bin
|
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
|
%clean
|
||||||
%__rm -rf $RPM_BUILD_ROOT
|
%__rm -rf $RPM_BUILD_ROOT
|
||||||
@ -102,14 +98,15 @@ install -m 755 %{S:3} $RPM_BUILD_ROOT/usr/bin/
|
|||||||
%dir %{_datarootdir}/mof/cimv%{version}
|
%dir %{_datarootdir}/mof/cimv%{version}
|
||||||
%{_datarootdir}/mof/cimv%{version}/*
|
%{_datarootdir}/mof/cimv%{version}/*
|
||||||
%{_datarootdir}/mof/cim-current
|
%{_datarootdir}/mof/cim-current
|
||||||
%{_bindir}/loadmof.sh
|
|
||||||
%{_bindir}/rmmof.sh
|
|
||||||
%doc ../LICENSE
|
%doc ../LICENSE
|
||||||
|
|
||||||
%files docs
|
%files docs
|
||||||
%doc ../%{name}-%{version}-docs/*
|
%doc ../%{name}-%{version}-docs/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 21 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.33.0-3
|
||||||
|
- Remove loadmof.sh and rmmof.sh scripts
|
||||||
|
|
||||||
* Thu Aug 23 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.33.0-2
|
* Thu Aug 23 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.33.0-2
|
||||||
- Fix issues found by fedora-review utility in the spec file
|
- Fix issues found by fedora-review utility in the spec file
|
||||||
|
|
||||||
|
13
loadmof.sh
13
loadmof.sh
@ -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
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user