Update to 1.7

This commit is contained in:
Michal Srb 2015-06-29 13:03:36 +02:00
commit db42e10267
3 changed files with 9 additions and 14 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
/access-modifier-1.4.tar.gz
/LICENSE.txt
/access-modifier-1.7.tar.gz

View file

@ -1,8 +1,8 @@
%global shortname access-modifier
Name: access-modifier-annotation
Version: 1.4
Release: 7%{?dist}
Version: 1.7
Release: 1%{?dist}
Summary: Java annotation for custom access modifiers
# License is specified in pom file
@ -15,15 +15,13 @@ Source1: LICENSE.txt
BuildArch: noarch
BuildRequires: maven-local
BuildRequires: mvn(org.apache.maven.plugins:maven-compiler-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-release-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-scm-plugin)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
BuildRequires: mvn(org.apache.maven:maven-project)
BuildRequires: mvn(org.jenkins-ci:annotation-indexer)
BuildRequires: mvn(org.kohsuke.metainf-services:metainf-services)
BuildRequires: mvn(org.kohsuke:pom:pom:)
BuildRequires: objectweb-asm3
BuildRequires: mvn(org.ow2.asm:asm-debug-all)
%description
Allows applications to define custom access modifiers programmatically,
@ -51,21 +49,14 @@ This package contains the API documentation for %{name}.
cp %{SOURCE1} LICENSE
%pom_xpath_remove "pom:extension[pom:artifactId[text()='wagon-svn']]"
%mvn_package :access-modifier-checker access-modifier-checker
# We don't have asm-debug-all artifact,
# so we'll use the one without debugging information
%pom_change_dep :asm-debug-all asm:asm-all access-modifier-checker
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc LICENSE
%files -n access-modifier-checker -f .mfiles-access-modifier-checker
@ -73,6 +64,9 @@ cp %{SOURCE1} LICENSE
%doc LICENSE
%changelog
* Mon Jun 29 2015 Michal Srb <msrb@redhat.com> - 1.7-1
- Update to 1.7
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

View file

@ -1,2 +1,2 @@
f9fc17916189a9ccd77ea911f5e8d729 access-modifier-1.4.tar.gz
7d5b03b556811d959a94d9336ba04fe5 LICENSE.txt
2176c61d1aaa6ca10e1d9776aa4b5007 access-modifier-1.7.tar.gz