Fix issues found by fedora-review utility in the spec file

This commit is contained in:
Vitezslav Crhonek 2012-09-06 15:37:37 +02:00
parent 0792e0710d
commit 8450df1788

View File

@ -7,7 +7,7 @@
Summary: Small Footprint CIM Client Library Summary: Small Footprint CIM Client Library
Name: sblim-sfcc Name: sblim-sfcc
Version: 2.2.4 Version: 2.2.4
Release: 2%{?dist} Release: 3%{?dist}
Group: Applications/System Group: Applications/System
License: EPL License: EPL
URL: http://www.sblim.org URL: http://www.sblim.org
@ -37,14 +37,9 @@ chmod a-x backend/cimxml/*.[ch]
make %{?_smp_flags} make %{?_smp_flags}
%install %install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install
# remove unused libtool files # remove unused libtool files
rm -rf %{buildroot}/%{_libdir}/*a rm -rf %{buildroot}/%{_libdir}/*a
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -52,18 +47,19 @@ rm -rf %{buildroot}
%files %files
%defattr(-,root,root)
%{_libdir}/*.so.* %{_libdir}/*.so.*
%{_mandir}/man3/*.3.gz %{_mandir}/man3/*.3.gz
%{_docdir}/* %{_docdir}/*
%files devel %files devel
%defattr(-,root,root)
%{_includedir}/CimClientLib/* %{_includedir}/CimClientLib/*
%{_includedir}/cimc/* %{_includedir}/cimc/*
%{_libdir}/*.so %{_libdir}/*.so
%changelog %changelog
* Thu Sep 06 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.2.4-3
- Fix issues found by fedora-review utility in the spec file
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.4-2 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild