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/
|
||||
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 <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
|
||||
- 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