public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/treelayout] epel10: update to 1.0.3
@ 2026-07-22 19:40 gil
  0 siblings, 0 replies; only message in thread
From: gil @ 2026-07-22 19:40 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/treelayout
Branch : epel10
Commit : 82aab48a4a578ed6fd120b37cb56429f1ed3c403
Author : gil <puntogil@libero.it>
Date   : 2015-12-05T10:38:41+01:00
Stats  : +37/-40 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/treelayout/c/82aab48a4a578ed6fd120b37cb56429f1ed3c403?branch=epel10

Log:
update to 1.0.3

---
diff --git a/.gitignore b/.gitignore
index 2da4cbb..9f6154c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /treelayout-1.0.2.tar.xz
 /v1.0.2.tar.gz
+/v1.0.3.tar.gz

diff --git a/sources b/sources
index a4731f5..e94c13e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e4269b4bece8bab373852438bf1640f3  v1.0.2.tar.gz
+1e5cf46b7488b0b27a876abd20c593f8  v1.0.3.tar.gz

diff --git a/treelayout-project-pom.xml b/treelayout-project-pom.xml
deleted file mode 100644
index 1865766..0000000
--- a/treelayout-project-pom.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- This is a dummy POM added just to ease building in the RPM platforms: -->
-
-<project
-  xmlns="http://maven.apache.org/POM/4.0.0"
-  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.abego.treelayout</groupId>
-  <artifactId>org.abego.treelayout.project</artifactId>
-  <packaging>pom</packaging>
-  <version>@VERSION@</version>
-
-  <modules>
-    <!-- These are not all the modules, only those that we can currently build: -->
-    <module>org.abego.treelayout</module>
-    <module>org.abego.treelayout.demo</module>
-    <module>org.abego.treelayout.netbeans</module>
-    <module>org.abego.treelayout.netbeans.demo</module>
-  </modules>
-
-</project>

diff --git a/treelayout.spec b/treelayout.spec
index 03c11b7..f755316 100644
--- a/treelayout.spec
+++ b/treelayout.spec
@@ -1,15 +1,15 @@
 %global core org.abego.treelayout
 Name:          treelayout
-Version:       1.0.2
-Release:       3%{?dist}
+Version:       1.0.3
+Release:       1%{?dist}
 Summary:       Efficient and customizable Tree Layout Algorithm in Java
 License:       BSD
 URL:           http://treelayout.sourceforge.net/
 Source0:       https://github.com/abego/treelayout/archive/v%{version}.tar.gz
-Source1:       %{name}-project-pom.xml
 
 BuildRequires: maven-local
 BuildRequires: mvn(junit:junit)
+BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
 BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
 
 BuildArch:     noarch
@@ -35,15 +35,32 @@ This package contains javadoc for %{name}.
 %prep
 %setup -q -n %{name}-%{version}
 
-cp -p %{SOURCE1} pom.xml
-sed -i "s|@VERSION@|%{version}|" pom.xml
-# Use org.netbeans.api:org-netbeans-api-visual:RELEASE67
-%pom_disable_module %{core}.netbeans
-%pom_disable_module %{core}.netbeans.demo
-
-cp -p %{core}/CHANGES.txt .
-cp -p %{core}/src/LICENSE.TXT .
-
+# This is a dummy POM added just to ease building in the RPM platforms:
+cat > pom.xml << EOF
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+  xmlns="http://maven.apache.org/POM/4.0.0"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.abego.treelayout</groupId>
+  <artifactId>org.abego.treelayout.project</artifactId>
+  <packaging>pom</packaging>
+  <version>%{version}</version>
+
+  <modules>
+    <module>org.abego.treelayout</module>
+    <module>org.abego.treelayout.demo</module>
+    <!-- Use org.netbeans.api:org-netbeans-api-visual:RELEASE67: -->
+    <!--module>org.abego.treelayout.netbeans</module-->
+    <!--module>org.abego.treelayout.netbeans.demo</module-->
+  </modules>
+
+</project>
+EOF
+
+# fix non ASCII chars
 native2ascii -encoding UTF8 %{core}/src/main/java/org/abego/treelayout/package-info.java \
  %{core}/src/main/java/org/abego/treelayout/package-info.java
 
@@ -57,17 +74,20 @@ native2ascii -encoding UTF8 %{core}/src/main/java/org/abego/treelayout/package-i
 %mvn_install
 
 %files -f .mfiles-%{core}.core
-%doc CHANGES.txt
-%license LICENSE.TXT
+%doc %{core}/CHANGES.txt README.md
+%license %{core}/src/LICENSE.TXT
 
 %files demo -f .mfiles-%{core}.demo
 %doc %{core}.demo/CHANGES.txt
 %license %{core}.demo/src/LICENSE.TXT
 
 %files javadoc -f .mfiles-javadoc
-%license LICENSE.TXT
+%license %{core}/src/LICENSE.TXT
 
 %changelog
+* Wed Oct 21 2015 gil cattaneo <puntogil@libero.it> 1.0.3-1
+- update to 1.0.3
+
 * Wed Oct 21 2015 gil cattaneo <puntogil@libero.it> 1.0.2-3
 - use upstream source archive
 - remove duplicate file

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-22 19:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-22 19:40 [rpms/treelayout] epel10: update to 1.0.3 gil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox