Fix issues found by fedora-review utility in the spec file
This commit is contained in:
parent
b36c62fef5
commit
726381a551
@ -8,10 +8,9 @@ Name: sblim-sfcb
|
||||
Summary: Small Footprint CIM Broker
|
||||
URL: http://www.sblim.org
|
||||
Version: 1.3.15
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Group: Applications/System
|
||||
License: EPL
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
|
||||
Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
|
||||
Patch0: sblim-sfcb-1.3.7-close_logging.patch
|
||||
Patch1: sblim-sfcb-1.3.9-sfcbrepos-schema-location.patch
|
||||
@ -59,8 +58,6 @@ Programming Interface (CMPI).
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
rm $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/sfcb
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
|
||||
@ -85,9 +82,6 @@ echo "%{_libdir}/sfcb/*.so" >> _pkg_list
|
||||
|
||||
cat _pkg_list
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%pre
|
||||
/usr/bin/getent group sfcb >/dev/null || /usr/sbin/groupadd -r sfcb
|
||||
/usr/sbin/usermod -a -G sfcb root > /dev/null 2>&1 || :
|
||||
@ -118,6 +112,9 @@ fi;
|
||||
#%doc COPYING README
|
||||
|
||||
%changelog
|
||||
* Thu Sep 06 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.3.15-4
|
||||
- Fix issues found by fedora-review utility in the spec file
|
||||
|
||||
* Thu Aug 23 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.3.15-3
|
||||
- Use new systemd-rpm macros
|
||||
Resolves: #850307
|
||||
|
Loading…
Reference in New Issue
Block a user