Hello community, here is the log from the commit of package laf-plugin for openSUSE:Factory checked in at 2014-07-11 20:05:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/laf-plugin (Old) and /work/SRC/openSUSE:Factory/.laf-plugin.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "laf-plugin" Changes: -------- --- /work/SRC/openSUSE:Factory/laf-plugin/laf-plugin.changes 2014-05-06 17:40:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.laf-plugin.new/laf-plugin.changes 2014-07-11 20:05:55.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Jul 8 10:12:53 UTC 2014 - [email protected] + +- Cleanup with spec-cleaner and make it build properly with sle11 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ laf-plugin.spec ++++++ --- /var/tmp/diff_new_pack.uznt66/_old 2014-07-11 20:05:56.000000000 +0200 +++ /var/tmp/diff_new_pack.uznt66/_new 2014-07-11 20:05:56.000000000 +0200 @@ -17,29 +17,27 @@ Name: laf-plugin +Version: 1.0 +Release: 0 Summary: Generic plugin framework for Java look-and-feels License: BSD-3-Clause and Zlib Group: Development/Libraries/Java # nanoxml distributed with laf-plugin is licensed under Zlib license while laf-plugin itself is BSD-3-Clause Url: https://java.net/projects/laf-plugin -Version: 1.0 -Release: 0 +# Upstream download URL https://laf-plugin.dev.java.net/files/documents/4261/50297/%{name}-all.zip seems dead +Source0: %{name}-all.zip +Source1: %{name}-build.xml BuildRequires: ant BuildRequires: dos2unix BuildRequires: java-devel BuildRequires: jpackage-utils BuildRequires: unzip BuildRequires: update-alternatives -# BuildRequires: xerces-j2 BuildRequires: xmlbeans Requires: java >= 1.5 Requires: jpackage-utils -# Requires: nanoxml-lite -BuildArch: noarch -# Upstream download URL https://laf-plugin.dev.java.net/files/documents/4261/50297/%{name}-all.zip seems dead -Source0: %{name}-all.zip -Source1: %{name}-build.xml BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %description The goal of this project is to provide a small infrastructure that @@ -49,7 +47,6 @@ %package javadoc Summary: Javadoc for laf-plugin Group: Documentation/HTML -PreReq: coreutils Recommends: %{name} = %{version} %description javadoc @@ -64,12 +61,12 @@ cp %{SOURCE1} build.xml rm -rf drop/* dos2unix src/org/jvnet/lafplugin/*.license -%__chmod 644 src/org/jvnet/lafplugin/*.license +chmod 644 src/org/jvnet/lafplugin/*.license %build -%ant all +ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 all -%javadoc -quiet \ +javadoc -quiet \ -d doc \ -classpath ./build/classes50 \ -public \ @@ -78,7 +75,7 @@ %install export NO_BRP_CHECK_BYTECODE_VERSION="true" # jars -%__install -Dm 644 drop/%{name}-50.jar %{buildroot}%{_javadir}/%{name}-50-%{version}.jar +install -Dm 644 drop/%{name}-50.jar %{buildroot}%{_javadir}/%{name}-50-%{version}.jar pushd %{buildroot}%{_javadir} 1>/dev/null for jar in *-%{version}*; do ln -sf ${jar} $(echo $jar| sed "s|-%{version}||g") @@ -87,16 +84,8 @@ popd 1>/dev/null # javadoc -%__install -dm 755 %{buildroot}%{_javadocdir}/%{name}-%{version} -%__cp -pr doc/* %{buildroot}%{_javadocdir}/%{name}-%{version}/ -ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name} # ghost symlink - -%clean -[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}" - -%post javadoc -%__rm -f %{_javadocdir}/%{name} -ln -s %{name}-%{version} %{_javadocdir}/%{name} +install -dm 755 %{buildroot}%{_javadocdir}/%{name}-%{version} +cp -pr doc/* %{buildroot}%{_javadocdir}/%{name}-%{version}/ %files %defattr(-,root,root) @@ -106,6 +95,5 @@ %files javadoc %defattr(0644,root,root,0755) %doc %{_javadocdir}/%{name}-%{version} -%ghost %doc %{_javadocdir}/%{name} %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
