[tntnet] Add missing dependency on cxxtools-devel in tntnet-devel (#896003).

Michael Schwendt mschwendt at fedoraproject.org
Sun Sep 22 17:52:31 UTC 2013


commit 3d495ab7bede39a25addcdaa3fc8894cffb5ecd2
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date:   Sun Sep 22 19:52:19 2013 +0200

    Add missing dependency on cxxtools-devel in tntnet-devel (#896003).
    
    - Add missing /sbin/ldconfig calls in %post and %postun.
    - Using %defattr is not needed anymore.

 clog        |    4 ----
 tntnet.spec |   12 +++++++++---
 2 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/tntnet.spec b/tntnet.spec
index 98f3cd2..9a25b00 100644
--- a/tntnet.spec
+++ b/tntnet.spec
@@ -1,6 +1,6 @@
 Name:             tntnet
 Version:          2.2
-Release:          7%{?dist}
+Release:          8%{?dist}
 Summary:          A web application server for web applications
 
 # GPLv2+: framework/common/gcryptinit.c
@@ -29,6 +29,7 @@ Requires(postun): systemd-units
 Summary:          Development files for %{name}
 Group:            Development/Libraries
 Requires:         %{name}%{?_isa} = %{version}-%{release}
+Requires:         cxxtools-devel%{?_isa} >= 2.2
 
 %description devel
 Development files for %{name}
@@ -63,6 +64,7 @@ getent passwd %{name} > /dev/null || \
 exit 0
 
 %post
+/sbin/ldconfig
 %systemd_post %{name}.service
 
 %preun
@@ -70,9 +72,9 @@ exit 0
 
 %postun
 %systemd_postun_with_restart %{name}.service
+/sbin/ldconfig
 
 %files
-%defattr (-, root, root)
 %doc AUTHORS ChangeLog COPYING README
 %dir %{_sysconfdir}/tntnet
 %config(noreplace) %{_sysconfdir}/%{name}/%{name}.xml
@@ -94,12 +96,16 @@ exit 0
 %{_mandir}/man8/tntnet.8.gz
 
 %files devel
-%defattr (-, root, root)
 %{_bindir}/tntnet-config
 %{_libdir}/libtntnet*.so
 %{_includedir}/tnt/
 
 %changelog
+* Sun Sep 22 2013 Michael Schwendt <mschwendt at fedoraproject.org> - 2.2-8
+- Add missing dependency on cxxtools-devel in tntnet-devel (#896003).
+- Add missing /sbin/ldconfig calls in %%post and %%postun.
+- Using %%defattr is not needed anymore.
+
 * Thu Aug 08 2013 Petr Pisar <ppisar at redhat.com> - 2.2-7
 - Perl 5.18 rebuild
 


More information about the scm-commits mailing list