commit
2d99712e9f
@ -1,21 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
name=jsoup
|
|
||||||
version="$(sed -n 's/Version:\s*//p' *.spec)"
|
|
||||||
|
|
||||||
# RETRIEVE
|
|
||||||
wget "https://github.com/jhy/${name}/archive/${name}-${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
|
|
||||||
# contains scraped news articles (non-free)
|
|
||||||
rm -r */src/test/resources
|
|
||||||
|
|
||||||
tar cf "../${name}-${version}.tar.gz" *
|
|
||||||
cd ..
|
|
||||||
rm -r tarball-tmp "${name}-${version}.orig.tar.gz"
|
|
||||||
Binary file not shown.
@ -1,11 +1,10 @@
|
|||||||
Name: jsoup
|
Name: jsoup
|
||||||
Version: 1.11.3
|
Version: 1.11.3
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Java HTML Parser
|
Summary: Java HTML Parser
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://jsoup.org/
|
URL: http://jsoup.org/
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: https://github.com/jhy/jsoup/archive/jsoup-%{version}.tar.gz
|
||||||
Source1: generate-tarball.sh
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: maven-local, mvn(org.apache.felix:maven-bundle-plugin)
|
BuildRequires: maven-local, mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
@ -34,5 +33,8 @@ for extracting and manipulating data, using the best of DOM, CSS, and jquery-lik
|
|||||||
%{_javadocdir}/%{name}/*
|
%{_javadocdir}/%{name}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 4 2020 chenli <chenli147@huawei.com> - 1.11.3-5
|
||||||
|
- Modify Spec.
|
||||||
|
|
||||||
* Tue Dec 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.11.3-4
|
* Tue Dec 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.11.3-4
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user