From 1328b3471524e34cfbf9ac0fa05c13780757c17f602f24b1e17740cfb35ce016 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Sun, 23 May 2021 06:31:37 +0000 Subject: [PATCH 1/3] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jlfgr?expand=0&rev=8 --- jlfgr.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/jlfgr.spec b/jlfgr.spec index c05c330..b3b1c4a 100644 --- a/jlfgr.spec +++ b/jlfgr.spec @@ -25,6 +25,7 @@ Release: 0 Url: http://java.sun.com/developer/techDocs/hi/repository/ Source0: %{name}-%{version}.tar.bz2 BuildRequires: fastjar +BuildRequiers: javapackages-filesystem BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch From 76f7c6644ee0039454096d9298312a103b16002ad74fb351c9be4e6e72bc95ee Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Sun, 23 May 2021 06:32:51 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jlfgr?expand=0&rev=9 --- jlfgr.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jlfgr.spec b/jlfgr.spec index b3b1c4a..6d846af 100644 --- a/jlfgr.spec +++ b/jlfgr.spec @@ -25,7 +25,7 @@ Release: 0 Url: http://java.sun.com/developer/techDocs/hi/repository/ Source0: %{name}-%{version}.tar.bz2 BuildRequires: fastjar -BuildRequiers: javapackages-filesystem +BuildRequires: javapackages-filesystem BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch From f22d4f0f0bb5ee0a69d95a623ba69796cd2fd0f0724def041d7eeaa7e4245a53 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 7 Jun 2021 08:40:11 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jlfgr?expand=0&rev=10 --- jlfgr.changes | 7 +++++++ jlfgr.spec | 24 ++++++++---------------- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/jlfgr.changes b/jlfgr.changes index 7adf101..8512aa5 100644 --- a/jlfgr.changes +++ b/jlfgr.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jun 7 08:39:08 UTC 2021 - Fridrich Strba + +- A new cleanup of the spec file along with added + javapackages-filesystem dependency in order to avoid unowned + directories + ------------------------------------------------------------------- Thu Feb 7 08:04:56 UTC 2019 - Fridrich Strba diff --git a/jlfgr.spec b/jlfgr.spec index 6d846af..d65ce5e 100644 --- a/jlfgr.spec +++ b/jlfgr.spec @@ -1,7 +1,7 @@ # # spec file for package jlfgr # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,16 +17,15 @@ Name: jlfgr +Version: 1.0 +Release: 0 Summary: Java look and feel Graphics Repository License: SUSE-Redistributable-Content Group: Development/Languages/Java -Version: 1.0 -Release: 0 -Url: http://java.sun.com/developer/techDocs/hi/repository/ +URL: https://java.sun.com/developer/techDocs/hi/repository/ Source0: %{name}-%{version}.tar.bz2 BuildRequires: fastjar BuildRequires: javapackages-filesystem -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description @@ -45,25 +44,18 @@ terminology across different Java look and feel applications. To provide feedback about the graphics repository, send email to the Java look and feel Design Team (jlfdesign (at) sun (dot) com). - - -Authors: --------- - Java look and feel Design Team (jlfdesign@sun.com) - %prep -%setup -q +%setup -q %build # NOP %install -install -d -m 755 $RPM_BUILD_ROOT/%{_javadir} -install -m 644 *jar $RPM_BUILD_ROOT/%{_javadir} -(cd $RPM_BUILD_ROOT/%{_javadir}; ln -sf jlfgr-1_0.jar jlfgr-%{version}.jar; ln -sf jlfgr-1_0.jar jlfgr.jar) +install -d -m 755 %{buildroot}/%{_javadir} +install -m 644 *jar %{buildroot}/%{_javadir} +(cd %{buildroot}/%{_javadir}; ln -sf jlfgr-1_0.jar jlfgr-%{version}.jar; ln -sf jlfgr-1_0.jar jlfgr.jar) %files -%defattr(-,root,root) %{_javadir}/*.jar %changelog