port to commons-lang3
This commit is contained in:
parent
715182ee5f
commit
98693179e1
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,6 @@
|
||||
/results_*
|
||||
/*.src.rpm
|
||||
|
||||
/replacer-1.5.2-src-svn.tar.gz
|
||||
/replacer-1.5.3.tar.xz
|
||||
/1.6.tar.gz
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: replacer
|
||||
Version: 1.6
|
||||
Release: 16%{?dist}
|
||||
Release: 17%{?dist}
|
||||
Summary: Replacer Maven Mojo
|
||||
License: MIT
|
||||
URL: https://github.com/beiliubei/maven-replacer-plugin
|
||||
@ -9,8 +9,8 @@ Source0: https://github.com/beiliubei/maven-replacer-plugin/archive/%{vers
|
||||
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(commons-io:commons-io)
|
||||
BuildRequires: mvn(commons-lang:commons-lang)
|
||||
BuildRequires: mvn(org.apache.ant:ant)
|
||||
BuildRequires: mvn(org.apache.commons:commons-lang3)
|
||||
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
||||
BuildRequires: mvn(xerces:xercesImpl)
|
||||
@ -46,6 +46,13 @@ This package contains javadoc for %{name}.
|
||||
<configuration><source>\${maven.compiler.source}</source><detectJavaApiLink>false</detectJavaApiLink></configuration>
|
||||
</plugin>"
|
||||
|
||||
# trivial port to commons-lang3
|
||||
%pom_change_dep :commons-lang org.apache.commons:commons-lang3:3.8.1
|
||||
|
||||
for i in $(find -name "*.java"); do
|
||||
sed -i "s/org.apache.commons.lang./org.apache.commons.lang3./g" $i;
|
||||
done
|
||||
|
||||
%mvn_file :%{name} %{name}
|
||||
%mvn_alias :%{name} com.google.code.maven-replacer-plugin:maven-replacer-plugin
|
||||
|
||||
@ -63,6 +70,9 @@ This package contains javadoc for %{name}.
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Thu Jul 30 2020 Fabio Valentini <decathorpe@gmail.com> - 1.6-17
|
||||
- Port to commons-lang3.
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user