Skip to content

Commit

Permalink
Fix Maven metadata file names
Browse files Browse the repository at this point in the history
  • Loading branch information
edewata committed Jul 3, 2024
1 parent 766d58c commit 0cd47ec
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions pki.spec
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,7 @@ xmlstarlet edit --inplace \
-d "//_:dependency[_:groupId='org.jboss.spec.javax.ws.rs']" \
-d "//_:dependency[_:groupId='org.jboss.logging']" \
-d "//_:dependency[_:groupId='org.jboss.resteasy']" \
%{buildroot}%{_datadir}/maven-metadata/pki.xml
%{buildroot}%{_datadir}/maven-metadata/%{name}.xml
%endif

%if %{with base}
Expand All @@ -1234,7 +1234,7 @@ xmlstarlet edit --inplace \
-d "//_:dependency[_:groupId='org.jboss.spec.javax.ws.rs']" \
-d "//_:dependency[_:groupId='org.jboss.logging']" \
-d "//_:dependency[_:groupId='org.jboss.resteasy']" \
%{buildroot}%{_datadir}/maven-metadata/pki-pki-java.xml
%{buildroot}%{_datadir}/maven-metadata/%{name}-pki-java.xml

echo "Removing RPM deps from %{buildroot}%{_datadir}/maven-metadata/pki-pki-tools.xml"
xmlstarlet edit --inplace \
Expand All @@ -1244,7 +1244,7 @@ xmlstarlet edit --inplace \
-d "//_:dependency[_:groupId='org.jboss.spec.javax.ws.rs']" \
-d "//_:dependency[_:groupId='org.jboss.logging']" \
-d "//_:dependency[_:groupId='org.jboss.resteasy']" \
%{buildroot}%{_datadir}/maven-metadata/pki-pki-tools.xml
%{buildroot}%{_datadir}/maven-metadata/%{name}-pki-tools.xml
%endif

%if %{with server}
Expand All @@ -1260,7 +1260,7 @@ xmlstarlet edit --inplace \
-d "//_:dependency[_:groupId='org.jboss.spec.javax.ws.rs']" \
-d "//_:dependency[_:groupId='org.jboss.logging']" \
-d "//_:dependency[_:groupId='org.jboss.resteasy']" \
%{buildroot}%{_datadir}/maven-metadata/pki-pki-server.xml
%{buildroot}%{_datadir}/maven-metadata/%{name}-pki-server.xml
%endif

%if %{with ca}
Expand All @@ -1272,7 +1272,7 @@ xmlstarlet edit --inplace \
-d "//_:dependency[_:groupId='org.jboss.spec.javax.ws.rs']" \
-d "//_:dependency[_:groupId='org.jboss.logging']" \
-d "//_:dependency[_:groupId='org.jboss.resteasy']" \
%{buildroot}%{_datadir}/maven-metadata/pki-pki-ca.xml
%{buildroot}%{_datadir}/maven-metadata/%{name}-pki-ca.xml
%endif

%if %{with kra}
Expand All @@ -1284,7 +1284,7 @@ xmlstarlet edit --inplace \
-d "//_:dependency[_:groupId='org.jboss.spec.javax.ws.rs']" \
-d "//_:dependency[_:groupId='org.jboss.logging']" \
-d "//_:dependency[_:groupId='org.jboss.resteasy']" \
%{buildroot}%{_datadir}/maven-metadata/pki-pki-kra.xml
%{buildroot}%{_datadir}/maven-metadata/%{name}-pki-kra.xml
%endif

%if %{with ocsp}
Expand All @@ -1296,7 +1296,7 @@ xmlstarlet edit --inplace \
-d "//_:dependency[_:groupId='org.jboss.spec.javax.ws.rs']" \
-d "//_:dependency[_:groupId='org.jboss.logging']" \
-d "//_:dependency[_:groupId='org.jboss.resteasy']" \
%{buildroot}%{_datadir}/maven-metadata/pki-pki-ocsp.xml
%{buildroot}%{_datadir}/maven-metadata/%{name}-pki-ocsp.xml
%endif

%if %{with tks}
Expand All @@ -1308,7 +1308,7 @@ xmlstarlet edit --inplace \
-d "//_:dependency[_:groupId='org.jboss.spec.javax.ws.rs']" \
-d "//_:dependency[_:groupId='org.jboss.logging']" \
-d "//_:dependency[_:groupId='org.jboss.resteasy']" \
%{buildroot}%{_datadir}/maven-metadata/pki-pki-tks.xml
%{buildroot}%{_datadir}/maven-metadata/%{name}-pki-tks.xml
%endif

%if %{with tps}
Expand All @@ -1320,7 +1320,7 @@ xmlstarlet edit --inplace \
-d "//_:dependency[_:groupId='org.jboss.spec.javax.ws.rs']" \
-d "//_:dependency[_:groupId='org.jboss.logging']" \
-d "//_:dependency[_:groupId='org.jboss.resteasy']" \
%{buildroot}%{_datadir}/maven-metadata/pki-pki-tps.xml
%{buildroot}%{_datadir}/maven-metadata/%{name}-pki-tps.xml
%endif

%if %{with acme}
Expand All @@ -1332,7 +1332,7 @@ xmlstarlet edit --inplace \
-d "//_:dependency[_:groupId='org.jboss.spec.javax.ws.rs']" \
-d "//_:dependency[_:groupId='org.jboss.logging']" \
-d "//_:dependency[_:groupId='org.jboss.resteasy']" \
%{buildroot}%{_datadir}/maven-metadata/pki-pki-acme.xml
%{buildroot}%{_datadir}/maven-metadata/%{name}-pki-acme.xml
%endif

%if %{with est}
Expand All @@ -1344,7 +1344,7 @@ xmlstarlet edit --inplace \
-d "//_:dependency[_:groupId='org.jboss.spec.javax.ws.rs']" \
-d "//_:dependency[_:groupId='org.jboss.logging']" \
-d "//_:dependency[_:groupId='org.jboss.resteasy']" \
%{buildroot}%{_datadir}/maven-metadata/pki-pki-est.xml
%{buildroot}%{_datadir}/maven-metadata/%{name}-pki-est.xml
%endif

# with deps
Expand Down

0 comments on commit 0cd47ec

Please sign in to comment.