[packages/libreport] - cosmetics - added post scriptlets - rel 1
baggins
baggins at pld-linux.org
Mon Oct 15 15:40:17 CEST 2012
commit 9548a96ed3779dbed5f03a3c76dedbed5350f1bc
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Oct 15 15:40:02 2012 +0200
- cosmetics
- added post scriptlets
- rel 1
libreport.spec | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/libreport.spec b/libreport.spec
index 347648b..f82fe38 100644
--- a/libreport.spec
+++ b/libreport.spec
@@ -1,7 +1,7 @@
Summary: Generic library for reporting various problems
Name: libreport
Version: 2.0.16
-Release: 0.1
+Release: 1
License: GPL v2
Group: Libraries
Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
@@ -186,14 +186,11 @@ ticketing system.
%patch0 -p1
%build
-%configure \
- %{!?with_static_libs:--disable-static}
+%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-# create directories if necessary
-#install -d $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
@@ -208,6 +205,12 @@ rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
+%post web -p /sbin/ldconfig
+%postun web -p /sbin/ldconfig
+
+%post gtk -p /sbin/ldconfig
+%postun gtk -p /sbin/ldconfig
+
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc README
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libreport.git/commitdiff/9548a96ed3779dbed5f03a3c76dedbed5350f1bc
More information about the pld-cvs-commit
mailing list