Accepting request 908357 from home:Andreas_Schwab:Factory

- Remove duplicate %files section

OBS-URL: https://build.opensuse.org/request/show/908357
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=61
This commit is contained in:
Fridrich Strba 2021-07-26 09:05:13 +00:00 committed by Git OBS Bridge
parent 87cc1ae84e
commit a31bab97c6
2 changed files with 5 additions and 21 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 26 08:32:25 UTC 2021 - Andreas Schwab <schwab@suse.de>
- Remove duplicate %files section
-------------------------------------------------------------------
Mon Jul 19 09:38:50 UTC 2021 - Johannes Grassler <johannes.grassler@suse.com>

View File

@ -113,25 +113,4 @@ sed -i 's/-SNAPSHOT//' %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
%license LICENSE
%doc CHANGES README
# -Dcom.mysql.cj.build.jdk.javac=/usr/lib64/jvm/java-1.8.0/bin/javac \
# -Dcom.mysql.cj.build.jdk.java=/usr/lib64/jvm/java-1.8.0/bin/java \
dist
install -d -m 755 %{buildroot}%{_javadir}
install build/%{name}-%{version}-SNAPSHOT/%{name}-%{version}-SNAPSHOT.jar %{buildroot}%{_javadir}/%{name}.jar
rm -rf %{buildroot}%{name}-%{version}/docs/release-test-output
# Install the Maven build information
install -d -m 755 %{buildroot}%{_mavenpomdir}
install -pm 644 build/%{name}-%{version}-SNAPSHOT/pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
sed -i 's/-SNAPSHOT//' %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
%add_maven_depmap JPP-%{name}.pom %{name}.jar
%files -f .mfiles
%license LICENSE
%doc CHANGES README
%changelog