[RPM (6.0)] jmdns-3.4.1-2.jpp6

Ralph Apel <[email protected]> Mon, 14 Jul 2014 19:37:42 +0200
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : jmdns                        Relocations: (not relocatable)
Version     : 3.4.1                             Vendor: JPackage Project
Release     : 2.jpp6                        Build Date: Mon 14 Jul 2014 07:25:51 PM CEST
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Development/Libraries/Java    Source RPM: (none)
Size        : 720739                           License: Apache Software License 2.0
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : http://jmdns.sourceforge.net/
Summary     : JmDNS multicast extensions for DNS
Description :
JmDNS is a java implementation of the IETF draft RFP
multicast extensions for DNS. This project contains
the needed elements for service discovery and service
registration. It is compatible with Apple\'s Rendezvous
service.

---------------
Ralph Apel <r.apel at r-apel.de> 0:3.4.1-2jpp
- Fix tabs
- Add missing post/postun
---------------

---------------
Index: jmdns.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/jmdns/jmdns.spec,v
retrieving revision 1.2
diff -u -r1.2 jmdns.spec
--- jmdns.spec	14 Jul 2014 08:29:47 -0000	1.2
+++ jmdns.spec	14 Jul 2014 17:37:41 -0000
@@ -28,20 +28,20 @@
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
-%define	section		free
+%define section free
 
 
-Name:		jmdns
-Summary:	JmDNS multicast extensions for DNS
-Url:		http://jmdns.sourceforge.net/
-Version:	3.4.1
-Release:	1%{?dist}
-Epoch:		0
-License:	Apache Software License 2.0
-Group:		Development/Libraries/Java
-Source0:	jmdns-3.4.1.tgz
+Name:           jmdns
+Summary:        JmDNS multicast extensions for DNS
+Url:            http://jmdns.sourceforge.net/
+Version:        3.4.1
+Release:        2%{?dist}
+Epoch:          0
+License:        Apache Software License 2.0
+Group:          Development/Libraries/Java
+Source0:        jmdns-3.4.1.tgz
 # svn export https://svn.code.sf.net/p/jmdns/code/tags/jmdns-3.4.1
-Source1:	jmdns-jpp-depmap.xml
+Source1:        jmdns-jpp-depmap.xml
 
 BuildArch:      noarch
 BuildRequires:  maven3
@@ -49,7 +49,7 @@
 BuildRequires:  mojo-buildnumber-maven-plugin
 BuildRequires:  maven-surefire-provider-junit4
 
-BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot
+BuildRoot:      %{_tmppath}/%{name}-%{version}-buildroot
 
 %description
 JmDNS is a java implementation of the IETF draft RFP 
@@ -59,8 +59,8 @@
 service.
 
 %package javadoc
-Summary:	Javadoc for %{name}
-Group:		Development/Documentation
+Summary:        Javadoc for %{name}
+Group:          Development/Documentation
 
 %description javadoc
 Javadoc for %{name}.
@@ -100,6 +100,12 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_maven_depmap
+
+%postun
+%update_maven_depmap
+
 %files
 %defattr(-,root,root)
 %doc *.txt
@@ -114,6 +120,10 @@
 %ghost %doc %{_javadocdir}/%{name}
 
 %changelog
+* Mon Jul 14 2014 Ralph Apel <r.apel at r-apel.de> 0:3.4.1-2jpp
+- Fix tabs
+- Add missing post/postun
+
 * Mon Jul 14 2014 Ralph Apel <r.apel at r-apel.de> 0:3.4.1-1jpp
 - 3.4.1 with maven3