Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package jakarta-commons-discovery for openSUSE:Factory checked in at 2022-03-04 00:17:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jakarta-commons-discovery (Old) and /work/SRC/openSUSE:Factory/.jakarta-commons-discovery.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jakarta-commons-discovery" Fri Mar 4 00:17:34 2022 rev:24 rq:958690 version:0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/jakarta-commons-discovery/jakarta-commons-discovery.changes 2021-09-16 23:17:00.395943338 +0200 +++ /work/SRC/openSUSE:Factory/.jakarta-commons-discovery.new.1958/jakarta-commons-discovery.changes 2022-03-04 00:18:06.576291154 +0100 @@ -1,0 +2,5 @@ +Tue Mar 1 17:30:31 UTC 2022 - Fridrich Strba <fst...@suse.com> + +- Distribute commons-discovery as maven artifact + +------------------------------------------------------------------- New: ---- commons-discovery-0.4.pom ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jakarta-commons-discovery.spec ++++++ --- /var/tmp/diff_new_pack.0CPARC/_old 2022-03-04 00:18:07.032291249 +0100 +++ /var/tmp/diff_new_pack.0CPARC/_new 2022-03-04 00:18:07.036291250 +0100 @@ -1,7 +1,7 @@ # -# spec file for package jakarta-commons-discovery +# spec file # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,33 +12,26 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define short_name commons-discovery -Name: jakarta-commons-discovery +Name: jakarta-%{short_name} Version: 0.4 Release: 0 Summary: Jakarta Commons Discovery License: Apache-2.0 Group: Development/Libraries/Java -Url: http://jakarta.apache.org/commons/discovery.html -Source0: http://www.apache.org/dist/jakarta/commons/discovery/source/commons-discovery-0.4-src.tar.gz +URL: http://jakarta.apache.org/commons/discovery.html +Source0: https://archive.apache.org/dist/commons/discovery/source/%{short_name}-%{version}-src.tar.gz +Source1: https://repo1.maven.org/maven2/%{short_name}/%{short_name}/%{version}/%{short_name}-%{version}.pom BuildRequires: ant -%if 0%{?rhel} -BuildRequires: apache-commons-logging >= 1.0.4 -%else BuildRequires: commons-logging >= 1.0.4 -%endif BuildRequires: java-devel -BuildRequires: javapackages-tools +BuildRequires: javapackages-local BuildRequires: junit >= 3.7 -%if 0%{?rhel} -Requires: apache-commons-logging >= 1.0.4 -%else Requires: commons-logging >= 1.0.4 -%endif Provides: %{short_name} = %{version} Obsoletes: %{short_name} < %{version} #XXX: temporary fix to make axis auto dependencies work, need to revork package @@ -55,23 +48,14 @@ for lifecycle management of singleton (factory) classes. %package javadoc -Summary: Javadoc for jakarta-commons-discovery +Summary: Javadoc for %{name} Group: Development/Libraries/Java -Requires(pre): coreutils %description javadoc -The Discovery component is about discovering, or finding, -implementations for pluggable interfaces. Pluggable interfaces are -specified with the intent that multiple implementations are, or will -be, available to provide the service described by the interface. -Discovery provides facilities for finding and instantiating classes, -and for lifecycle management of singleton (factory) classes. - -This package contains the javadoc documentation for the Jakarta Commons -Discovery Package. +This package contains the javadoc documentation for %{name}. %prep -%setup -q -n commons-discovery-%{version}-src +%setup -q -n %{short_name}-%{version}-src chmod u+w . %build @@ -83,17 +67,21 @@ %install # jar -mkdir -p %{buildroot}%{_javadir} -cp -p dist/%{short_name}.jar %{buildroot}%{_javadir}/%{short_name}.jar +install -d -m 0755 %{buildroot}%{_javadir} +install -m 644 dist/%{short_name}.jar %{buildroot}%{_javadir}/%{short_name}.jar (cd %{buildroot}%{_javadir} && ln -s %{short_name}.jar %{name}.jar) + +install -d -m 0755 %{buildroot}%{_mavenpomdir} +install -p -m 0644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{short_name}.pom +%add_maven_depmap %{short_name}.pom %{short_name}.jar + # javadoc -mkdir -p %{buildroot}%{_javadocdir}/%{name} +install -d -m 0755 %{buildroot}%{_javadocdir}/%{name} cp -pr dist/docs/api/* %{buildroot}%{_javadocdir}/%{name} -%files -%defattr(0644,root,root,0755) +%files -f .mfiles %doc LICENSE.txt -%{_javadir}/* +%{_javadir}/%{name}.jar %files javadoc %defattr(0644,root,root,0755) ++++++ commons-discovery-0.4.pom ++++++ <?xml version="1.0" encoding="UTF-8"?><project> <modelVersion>4.0.0</modelVersion> <groupId>commons-discovery</groupId> <artifactId>commons-discovery</artifactId> <name>Discovery</name> <version>0.4</version> <description>Commons Discovery</description> <url>http://jakarta.apache.org/commons/${pom.artifactId.substring(8)}/</url> <issueManagement> <url>http://issues.apache.org/jira/</url> </issueManagement> <ciManagement> <notifiers> <notifier> <configuration> <address>commons-...@jakarta.apache.org</address> </configuration> </notifier> </notifiers> </ciManagement> <inceptionYear>2002</inceptionYear> <mailingLists> <mailingList> <name>Commons Dev List</name> <subscribe>commons-dev-subscr...@jakarta.apache.org</subscribe> <unsubscribe>commons-dev-unsubscr...@jakarta.apache.org</unsubscribe> <archive>http://mail-archives.apache.org/mod_mbox/jakarta-commons-dev/</archive> </mailingList> <mailingList> <name>Commons User List</name> <subscribe>commons-user-subscr...@jakarta.apache.org</subscribe> <unsubscribe>commons-user-unsubscr...@jakarta.apache.org</unsubscribe> <archive>http://mail-archives.apache.org/mod_mbox/jakarta-commons-user/</archive> </mailingList> </mailingLists> <developers> <developer> <id>rsitze</id> <name>Richard Sitze</name> <email></email> <organization></organization> </developer> <developer> <id>craigmcc</id> <name>Craig R. McClanahan</name> <email></email> <organization></organization> </developer> <developer> <id>costin</id> <name>Costin Manolache</name> <email></email> <organization></organization> </developer> <developer> <id>jstrachan</id> <name>James Strachan</name> <email>jstrac...@apache.org</email> <organization>SpiritSoft, Inc.</organization> </developer> <developer> <id>matth</id> <name>Matthew Hawthorne</name> <email>ma...@apache.org</email> </developer> <developer> <id>dims</id> <name>Davanum Srinivas</name> <email>d...@apache.org</email> </developer> <developer> <id>rwinston</id> <name>Rory Winston</name> <email>rwins...@eircom.net</email> </developer> <developer> <id>rdonkin</id> <name>Robert Burrell Donkin</name> <email>rdon...@apache.org</email> </developer> </developers> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>/LICENSE.txt</url> </license> </licenses> <scm> <connection>scm:svn:http://svn.apache.org/repos/asf/jakarta/commons/proper/${pom.artifactId.substring(8)}/trunk</connection> <url>http://svn.apache.org/repos/asf/jakarta/commons/proper/${pom.artifactId.substring(8)}/trunk</url> </scm> <organization> <name>The Apache Software Foundation</name> <url>http://jakarta.apache.org</url> </organization> <build> <sourceDirectory>src/java</sourceDirectory> <testSourceDirectory>src/test</testSourceDirectory> <resources> <resource> <targetPath>META-INF</targetPath> <directory>${basedir}</directory> <includes> <include>NOTICE.txt</include> </includes> </resource> </resources> <testResources> <testResource> <directory>${basedir}/src</directory> <includes> <include>**/testResource</include> </includes> </testResource> <testResource> <directory>${basedir}/src/test</directory> <includes> <include>**/*.properties</include> <include>META-INF/**</include> </includes> </testResource> </testResources> <plugins> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <includes> <include>**/TestAll.java</include> </includes> </configuration> </plugin> <plugin> <artifactId>maven-xdoc-plugin</artifactId> <version>1.9.2</version> <configuration> <comment><strong>Site Only</strong> - v1.9.2 (minimum) required for building the Site documentation.</comment> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.0.4</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.7</version> <scope>test</scope> </dependency> </dependencies> <distributionManagement> <repository> <id>default</id> <name>Default Repository</name> <url>file:///www/jakarta.apache.org/builds/jakarta-commons/${pom.artifactId.substring(8)}/</url> </repository> <site> <id>default</id> <name>Default Site</name> <url>scp://people.apache.org//www/jakarta.apache.org/commons/${pom.artifactId.substring(8)}/</url> </site> <status>converted</status> </distributionManagement> </project> (No newline at EOF)