Add create-tarball.sh script to SRPM

This commit is contained in:
Michal Srb 2013-08-02 10:16:32 +02:00
parent 60f37cc8cb
commit e19d1e045c
2 changed files with 7 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
if [ $# -ne 1 ]; then if [ $# -ne 1 ]; then
echo "Usage: ./clean-tarball VERSION" echo "Usage: ./create-tarball.sh VERSION"
exit 1 exit 1
fi fi

View File

@ -30,7 +30,7 @@
Name: junit Name: junit
Version: 4.11 Version: 4.11
Release: 4%{?dist} Release: 5%{?dist}
Epoch: 0 Epoch: 0
Summary: Java regression test package Summary: Java regression test package
License: CPL License: CPL
@ -41,6 +41,8 @@ BuildArch: noarch
# ./clean-tarball.sh %{version} # ./clean-tarball.sh %{version}
Source0: %{name}-%{version}-clean.tar.gz Source0: %{name}-%{version}-clean.tar.gz
Source2: junit-OSGi-MANIFEST.MF Source2: junit-OSGi-MANIFEST.MF
Source3: create-tarball.sh
# Removing hamcrest source jar references (not available and/or necessary) # Removing hamcrest source jar references (not available and/or necessary)
Patch0: %{name}-no-hamcrest-src.patch Patch0: %{name}-no-hamcrest-src.patch
@ -149,6 +151,9 @@ cp -pr %{name}%{version}-SNAPSHOT/%{name}/* %{buildroot}%{_datadir}/%{name}/demo
%doc junit%{version}-SNAPSHOT/doc/* %doc junit%{version}-SNAPSHOT/doc/*
%changelog %changelog
* Fri Aug 02 2013 Michal Srb <msrb@redhat.com> - 0:4.11-5
- Add create-tarball.sh script to SRPM
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:4.11-4 * Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:4.11-4
- Rebuild to regenerate API documentation - Rebuild to regenerate API documentation
- Resolves: CVE-2013-1571 - Resolves: CVE-2013-1571