Commit 136b827b authored by Emmanuel Bourg's avatar Emmanuel Bourg

Replaced debian/orig-tar.sh with the File-Excluded field in debian/copyright

parent 5225b7c4
...@@ -5,6 +5,7 @@ libspring-java (4.3.15-1) UNRELEASED; urgency=medium ...@@ -5,6 +5,7 @@ libspring-java (4.3.15-1) UNRELEASED; urgency=medium
- Refreshed the patches - Refreshed the patches
- Updated the Maven rules - Updated the Maven rules
* Fixed the compatibility with the version of SnakeYAML in Debian * Fixed the compatibility with the version of SnakeYAML in Debian
* Replaced debian/orig-tar.sh with the File-Excluded field in debian/copyright
* Standards-Version updated to 4.2.1 * Standards-Version updated to 4.2.1
* Use salsa.debian.org Vcs-* URLs * Use salsa.debian.org Vcs-* URLs
......
...@@ -2,6 +2,10 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ ...@@ -2,6 +2,10 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Spring Framework Upstream-Name: Spring Framework
Upstream-Contact: SpringSource Inc. Upstream-Contact: SpringSource Inc.
Source: http://springframework.org/download Source: http://springframework.org/download
Files-Excluded: *.jar
.settings
gradlew*
gradle/wrapper/*
Files: * Files: *
Copyright: 2002-2011, the original author or authors Copyright: 2002-2011, the original author or authors
......
#!/bin/sh -e
# called by uscan with '--upstream-version' <version> <file>
VERSION=$2
DIR=spring-framework-$VERSION
TAR=../libspring-java_$VERSION.orig.tar.xz
mkdir $DIR
tar -xf $3 --strip-components=1 -C $DIR
rm $3
XZ_OPT=--best tar cJvf $TAR \
--exclude '*.jar' \
--exclude '*.class' \
--exclude '.settings' \
--exclude '.project' \
--exclude '.classpath' \
--exclude 'gradlew*' \
--exclude 'gradle/wrapper/*' \
$DIR
rm -rf $DIR
version=3 version=3
opts=dversionmangle=s/\.RELEASE// \ opts=repack,compression=xz,dversionmangle=s/\.RELEASE// \
https://github.com/spring-projects/spring-framework/tags .*/v([\d\.]+).RELEASE.tar.gz debian debian/orig-tar.sh https://github.com/spring-projects/spring-framework/tags .*/v([\d\.]+).RELEASE.tar.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment