[pegdown] update to 1.4.2

gil gil at fedoraproject.org
Thu Mar 27 11:00:12 UTC 2014


commit 11fd67654d45830baca6f79a56aec7692b4bb3de
Author: gil <puntogil at libero.it>
Date:   Thu Mar 27 12:00:10 2014 +0100

    update to 1.4.2

 .gitignore        |    2 +
 pegdown-1.4.1.pom |   52 ---------------------------------------------
 pegdown.spec      |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++--
 sources           |    3 +-
 4 files changed, 61 insertions(+), 56 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8634347..77c9c02 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
 /pegdown-1.1.0-src-git.tar.xz
 /1.1.0.tar.gz
 /1.4.1.tar.gz
+/1.4.2.tar.gz
+/pegdown-1.4.2.pom
diff --git a/pegdown.spec b/pegdown.spec
index 4bd32bc..f82ed6e 100644
--- a/pegdown.spec
+++ b/pegdown.spec
@@ -1,5 +1,5 @@
 Name:          pegdown
-Version:       1.4.1
+Version:       1.4.2
 Release:       1%{?dist}
 Summary:       Java library for Markdown processing
 License:       ASL 2.0
@@ -13,7 +13,7 @@ BuildRequires: mvn(org.parboiled:parboiled-java)
 # test deps
 BuildRequires: mvn(net.sf.jtidy:jtidy)
 %if 0
-BuildRequires: mvn(org.specs2:specs2_2.9.3)
+BuildRequires: mvn(mvn(org.specs2:specs2_2.9.3)
 %endif
 BuildRequires: maven-local
 
@@ -36,6 +36,57 @@ find . -name "*.jar" -delete
 
 cp -p %{SOURCE1} pom.xml
 
+%pom_xpath_inject "pom:project" "
+<build>
+  <plugins>
+
+  </plugins>
+</build>"
+
+%pom_xpath_inject "pom:build" "
+<resources>
+  <resource>
+    <directory>.</directory>
+    <targetPath>\${project.build.outputDirectory}/META-INF</targetPath>
+    <includes>
+      <include>LICENSE</include>
+      <include>NOTICE</include>
+    </includes>
+  </resource>
+</resources>"
+
+%pom_add_plugin org.apache.maven.plugins:maven-jar-plugin . "
+<configuration>
+  <archive>
+    <manifestFile>\${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+    <manifest>
+      <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+      <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+    </manifest>
+  </archive>
+</configuration>"
+
+%pom_add_plugin org.apache.felix:maven-bundle-plugin . "
+<extensions>true</extensions>
+<configuration>
+  <instructions>
+    <Built-By>\${user.name}</Built-By>
+    <Bundle-SymbolicName>org.pegdown</Bundle-SymbolicName>
+    <Bundle-Name>pegdown</Bundle-Name>
+    <Bundle-Vendor>pegdown.org</Bundle-Vendor>
+    <Bundle-Version>\${project.version}</Bundle-Version>
+  </instructions>
+</configuration>
+<executions>
+  <execution>
+    <id>bundle-manifest</id>
+    <phase>process-classes</phase>
+    <goals>
+      <goal>manifest</goal>
+    </goals>
+  </execution>
+</executions>"
+
 rm -r src/test/scala/*
 %pom_remove_dep org.specs2:specs2_2.9.3
 
@@ -54,8 +105,11 @@ rm -r src/test/scala/*
 %doc LICENSE NOTICE
 
 %changelog
+* Thu Mar 20 2014 gil cattaneo <puntogil at libero.it> 1.4.2-1
+- update to 1.4.2
+
 * Tue Nov 26 2013 gil cattaneo <puntogil at libero.it> 1.4.1-1
-- update to 1.4.1 rhbz#1034825
+- update to 1.4.1
 
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.0-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 8579adf..c450f1d 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-a1f155cc52224e90627c9764b16d4165  1.4.1.tar.gz
+109c823b9578b371ee992b5a36d6a6d6  1.4.2.tar.gz
+04db220cae2819896054961d4c66dbc0  pegdown-1.4.2.pom


More information about the scm-commits mailing list