Hello community,

here is the log from the commit of package extra166y for openSUSE:Factory 
checked in at 2019-11-13 13:28:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/extra166y (Old)
 and      /work/SRC/openSUSE:Factory/.extra166y.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "extra166y"

Wed Nov 13 13:28:36 2019 rev:1 rq:747923 version:1.7.0

Changes:
--------
New Changes file:

--- /dev/null   2019-10-24 10:19:07.066239389 +0200
+++ /work/SRC/openSUSE:Factory/.extra166y.new.2990/extra166y.changes    
2019-11-13 13:28:39.535718410 +0100
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------
+Tue Nov 12 17:18:46 UTC 2019 - Fridrich Strba <[email protected]>
+
+- Initial packaging of extra166y 1.7.0

New:
----
  extra166y-1.7.0.pom
  extra166y-OSGi.bnd
  extra166y-osgi-manifest.patch
  extra166y.changes
  extra166y.spec
  generate-tarball.sh
  jsr166-1.7.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ extra166y.spec ++++++
#
# spec file for package extra166y
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           extra166y
Version:        1.7.0
Release:        0
Summary:        Concurrency JSR-166 - Collections supporting parallel operations
License:        SUSE-Public-Domain
Group:          Development/Libraries/Java
URL:            http://gee.cs.oswego.edu/dl/concurrency-interest
# generate-tarball.spec
Source0:        jsr166-%{version}.tar.xz
Source1:        
http://central.maven.org/maven2/org/codehaus/jsr166-mirror/%{name}/%{version}/%{name}-%{version}.pom
Source2:        extra166y-OSGi.bnd
Source100:      generate-tarball.sh
Patch0:         extra166y-osgi-manifest.patch
BuildRequires:  ant
BuildRequires:  aqute-bnd >= 3.2.0-2
BuildRequires:  fdupes
BuildRequires:  javapackages-local
BuildRequires:  junit
BuildRequires:  xmvn-install
BuildRequires:  xmvn-resolve
BuildArch:      noarch

%description
Implementation of Java collections supporting parallel operations using
Fork-Join concurrent framework provided by JSR-166.

%package javadoc
Summary:        Javadoc for %{name}
Group:          Documentation/HTML

%description javadoc
This package contains javadoc for %{name}.

%prep
%setup -q -n jsr166
%patch0

# Use JVM jsr166
for s in $(find . -name "*.java");do
  sed -i "s|jsr166y.|java.util.concurrent.|" ${s}
done
sed -i '/configure-compiler, jsr166ycompile/d' build.xml

sed -i '/<compilerarg line="${build.args}"/d' build.xml

sed -i '/ootclasspath/d' build.xml

cp -p %{SOURCE2} extra166y.bnd
sed -i "s|@VERSION@|%{version}|" extra166y.bnd

rm -f src/test/extra166y/ParallelArrayAsListTest.java

%build

%{mvn_file} org.codehaus.jsr166-mirror:%{name} %{name}
export CLASSPATH=$(build-classpath junit)
%ant \
  -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \
  extra166yjar extra166ydist-docs
%{mvn_artifact} %{SOURCE1} build/%{name}lib/%{name}.jar

%install
%mvn_install -J dist/%{name}docs
%fdupes -s %{buildroot}%{_javadocdir}

%files -f .mfiles
%doc src/main/intro.html src/main/readme

%files javadoc -f .mfiles-javadoc
%doc src/main/intro.html src/main/readme

%changelog
++++++ extra166y-1.7.0.pom ++++++
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd"; 
xmlns="http://maven.apache.org/POM/4.0.0";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.codehaus.jsr166-mirror</groupId>
  <artifactId>extra166y</artifactId>
  <version>1.7.0</version>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.8.2</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>
++++++ extra166y-OSGi.bnd ++++++
Export-Package: extra166y;uses:="sun.misc";version="@VERSION@"
Implementation-Title: Extra166y
Implementation-Version: @VERSION@
Built-By: ${user.name}
Specification-Vendor: Doug Lea
Bundle-Name: extra166y
Created-By: ${java.version} (${java.vendor})
Implementation-Vendor: Doug Lea
Bundle-Vendor: Doug Lea
Bundle-Version: @VERSION@
Bundle-ManifestVersion: 2
Specification-Title: Extra166y
Bundle-Description: build
Bundle-DocURL: http://jsr166.codehaus.org
Bundle-SymbolicName: extra166y
Import-Package: 
extra166y;resolution:=optional;version="@VERSION@",sun.misc;resolution:=optional
Specification-Version: @VERSION@
Extension-Name: extra166y
++++++ extra166y-osgi-manifest.patch ++++++
--- build.xml   2010-11-25 13:48:45.000000000 +0100
+++ build.xml-gil       2014-11-03 19:10:50.375388995 +0100
@@ -716,7 +716,7 @@
 
   </target>
 
-
+  <taskdef resource="aQute/bnd/ant/taskdef.properties"/>
 
   <target name="extra166yjar"
           depends="extra166ycompile"
@@ -724,10 +728,12 @@
 
     <mkdir dir="${build.extra166ylib.dir}"/>
 
-    <jar destfile="${extra166yproduct.jar}" index="true">
-      <fileset dir="${build.extra166y.dir}"/>
-    </jar>
-
+    <bnd
+         classpath="${build.extra166y.dir}"
+         failok="false"
+         exceptions="false"
+         files="extra166y.bnd"
+         output="${extra166yproduct.jar}"/>
   </target>
 
 
++++++ generate-tarball.sh ++++++
#!/bin/bash
cvs -d :pserver:anonymous:[email protected]/home/jsr166/jsr166 login
cvs -d :pserver:[email protected]/home/jsr166/jsr166 export -r 
release-1_7_0 jsr166
rm -r jsr166/src/main/java
rm -r jsr166/src/jsr166x jsr166/.cvsignore
rm -r jsr166/src/jsr166y
rm -r jsr166/src/loops
rm -r jsr166/src/test/jtreg
rm -r jsr166/src/test/loops
rm -r jsr166/src/test/tck
find jsr166 -type f -name "*.jar" -delete
find jsr166 -type f -name "*.class" -delete
tar cJf jsr166-1.7.0.tar.xz jsr166

Reply via email to