!2 modify spec

Merge pull request !2 from chenholmes/cl
This commit is contained in:
openeuler-ci-bot 2020-03-04 15:13:13 +08:00 committed by Gitee
commit 2d99712e9f
3 changed files with 5 additions and 24 deletions

View File

@ -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.

View File

@ -1,11 +1,10 @@
Name: jsoup
Version: 1.11.3
Release: 4
Release: 5
Summary: Java HTML Parser
License: MIT
URL: http://jsoup.org/
Source0: %{name}-%{version}.tar.gz
Source1: generate-tarball.sh
Source0: https://github.com/jhy/jsoup/archive/jsoup-%{version}.tar.gz
BuildArch: noarch
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}/*
%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
- Package init