nicer Source0 format

Version: 1.0.0~beta.2-4
This commit is contained in:
Pavel Raiskup 2018-05-22 11:07:59 +02:00
parent 20408d036d
commit b782a31206
3 changed files with 11 additions and 7 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/1.0.0-beta.2.tar.gz
/scram-1.0.0-beta.2.tar.gz

View File

@ -1,10 +1,13 @@
Name: ongres-scram
Version: 1.0.0~beta.2
%global upstream_name scram
%global upstream_version 1.0.0-beta.2
Name: ongres-%upstream_name
Version: %(echo %upstream_version | sed 's/-/~/g')
Release: 4%{?dist}
Summary: Salted Challenge Response Authentication Mechanism (SCRAM) - Java Implementation
License: BSD
URL: https://github.com/ongres/scram
Source0: https://github.com/ongres/scram/archive/1.0.0-beta.2.tar.gz
URL: https://github.com/ongres/%upstream_name
Source0: https://github.com/ongres/%upstream_name/archive/%upstream_version/%upstream_name-%upstream_version.tar.gz
BuildRequires: maven-local
BuildArch: noarch
BuildRequires: mvn(org.apache.maven.plugins:maven-javadoc-plugin)
@ -34,7 +37,7 @@ Summary: Parent POM of %{name}
This package contains the %{name} parent POM.
%prep
%setup -q -n scram-1.0.0-beta.2
%autosetup -p1
find \( -name '*.jar' -o -name '*.class' \) -delete
%pom_remove_plugin :nexus-staging-maven-plugin
%pom_remove_plugin :maven-source-plugin
@ -61,6 +64,7 @@ find \( -name '*.jar' -o -name '*.class' \) -delete
%changelog
* Tue May 22 2018 Pavel Raiskup <praiskup@redhat.com> - 1.0.0~beta.2-4
- BR javadoc maven plugin explicitly
- use nicer Source0 format
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0~beta.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (1.0.0-beta.2.tar.gz) = 85cfad335712e187c41343aa3029074596075e28fa037f6f0965a7b9062d23b807dfc0bd71fdd835babd89699705e9bcf0e1f7dad4bcfd685f0f96debc0fab6d
SHA512 (scram-1.0.0-beta.2.tar.gz) = 85cfad335712e187c41343aa3029074596075e28fa037f6f0965a7b9062d23b807dfc0bd71fdd835babd89699705e9bcf0e1f7dad4bcfd685f0f96debc0fab6d