Compare commits
No commits in common. "stream-javapackages-tools-201801-rhel-8.9.0" and "c8-stream-201902" have entirely different histories.
stream-jav
...
c8-stream-
1
.beust-jcommander.metadata
Normal file
1
.beust-jcommander.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
13dab46979d9f268d8e2aa1406f84a448096dbde SOURCES/beust-jcommander-1.78.tar.gz
|
15
.gitignore
vendored
15
.gitignore
vendored
@ -1,14 +1 @@
|
|||||||
/beust-jcommander-1.17.tar.xz
|
SOURCES/beust-jcommander-1.78.tar.gz
|
||||||
/jcommander-1.30.tar.gz
|
|
||||||
/jcommander-1.35.tar.gz
|
|
||||||
/jcommander-1.45.tar.gz
|
|
||||||
/jcommander-1.47.tar.gz
|
|
||||||
/jcommander-1.56.tar.gz
|
|
||||||
/1.57.tar.gz
|
|
||||||
/1.58.tar.gz
|
|
||||||
/1.60.tar.gz
|
|
||||||
/1.62.tar.gz
|
|
||||||
/1.65.tar.gz
|
|
||||||
/1.66.tar.gz
|
|
||||||
/1.71.tar.gz
|
|
||||||
/beust-jcommander-1.71.tar.gz
|
|
||||||
|
26
SOURCES/generate-tarball.sh
Executable file
26
SOURCES/generate-tarball.sh
Executable file
@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# This commit refers to the state of the sources when they were published to
|
||||||
|
# Maven Central
|
||||||
|
git_tag='dcf154b6d40dd3865e317de7250b7019044543a9'
|
||||||
|
version="$(sed -n 's/Version:\s*//p' *.spec)"
|
||||||
|
|
||||||
|
# Retrieve and set version
|
||||||
|
git clone https://github.com/cbeust/jcommander.git
|
||||||
|
|
||||||
|
pushd jcommander
|
||||||
|
git reset --hard "${git_tag}"
|
||||||
|
|
||||||
|
# Clean
|
||||||
|
find -name '*.jar' -delete
|
||||||
|
find -name '*.class' -delete
|
||||||
|
rm -rf gradle* kobalt* lib
|
||||||
|
rm -rf .git
|
||||||
|
popd
|
||||||
|
|
||||||
|
# Pack into tarball
|
||||||
|
mv jcommander beust-jcommander-"${version}"
|
||||||
|
tar -cvf beust-jcommander-"${version}".tar.gz beust-jcommander-"${version}"/
|
||||||
|
rm -rf beust-jcommander-"${version}"
|
@ -1,6 +1,6 @@
|
|||||||
Name: beust-jcommander
|
Name: beust-jcommander
|
||||||
Version: 1.71
|
Version: 1.78
|
||||||
Release: 5%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Java framework for parsing command line parameters
|
Summary: Java framework for parsing command line parameters
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://jcommander.org/
|
URL: http://jcommander.org/
|
||||||
@ -10,10 +10,10 @@ BuildArch: noarch
|
|||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
# Adapted from earlier version that still shipped poms. It uses kobalt for building now
|
# Adapted from earlier version that still shipped poms. It uses kobalt for building now
|
||||||
Source1: %{name}.pom
|
Source1: %{name}.pom
|
||||||
# Cleaned up bundled jars hose licensing cannot be easily verified
|
# Cleaned up bundled jars whose licensing cannot be easily verified
|
||||||
Source2: generate-tarball.sh
|
Source2: generate-tarball.sh
|
||||||
|
|
||||||
Patch0: 0001-ParseValues-NullPointerException-patch.patch
|
Patch0: 0001-ParseValues-NullPointerException-patch.patch
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
@ -31,7 +31,7 @@ Summary: API documentation for %{name}
|
|||||||
This package contains the %{summary}.
|
This package contains the %{summary}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n jcommander-%{version}
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
chmod -x license.txt
|
chmod -x license.txt
|
||||||
@ -52,6 +52,18 @@ sed -i 's/@VERSION@/%{version}/g' pom.xml
|
|||||||
%doc license.txt notice.md
|
%doc license.txt notice.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.78-2
|
||||||
|
- Mass rebuild for javapackages-tools 201902
|
||||||
|
|
||||||
|
* Mon Sep 02 2019 Marian Koncek <mkoncek@redhat.com> - 1.78-1
|
||||||
|
- Update to upstream version 1.78
|
||||||
|
|
||||||
|
* Thu Aug 15 2019 Marian Koncek <mkoncek@redhat.com> - 1.75-1
|
||||||
|
- Update to upstream version 1.75
|
||||||
|
|
||||||
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.71-6
|
||||||
|
- Mass rebuild for javapackages-tools 201901
|
||||||
|
|
||||||
* Mon Jul 30 2018 Michael Simacek <msimacek@redhat.com> - 1.71-5
|
* Mon Jul 30 2018 Michael Simacek <msimacek@redhat.com> - 1.71-5
|
||||||
- Repack the tarball without binaries
|
- Repack the tarball without binaries
|
||||||
|
|
@ -1,20 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
name=beust-jcommander
|
|
||||||
version="$(sed -n 's/Version:\s*//p' *.spec)"
|
|
||||||
|
|
||||||
# RETRIEVE
|
|
||||||
wget "https://github.com/cbeust/jcommander/archive/${version}.tar.gz" -O "${name}-${version}.orig.tar.gz"
|
|
||||||
|
|
||||||
rm -rf tarball-tmp
|
|
||||||
mkdir tarball-tmp
|
|
||||||
cd tarball-tmp
|
|
||||||
tar xf "../${name}-${version}.orig.tar.gz"
|
|
||||||
|
|
||||||
# CLEAN TARBALL
|
|
||||||
rm -r */gradle* */kobalt* */lib
|
|
||||||
|
|
||||||
tar cf "../${name}-${version}.tar.gz" *
|
|
||||||
cd ..
|
|
||||||
rm -r tarball-tmp "${name}-${version}.orig.tar.gz"
|
|
Loading…
Reference in New Issue
Block a user