From e85475b41db13e40c18fc53d210a5af7274eeacf Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: May 26 2022 12:20:32 +0000 Subject: Orphaned for 6+ weeks --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 319018d..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/forbiddenapis-1.7-sources.jar -/forbidden-apis-2.5.tar.gz -/*.src.rpm -/3.2.tar.gz diff --git a/avoid-jarjar-bundling.patch b/avoid-jarjar-bundling.patch deleted file mode 100644 index 4dc3454..0000000 --- a/avoid-jarjar-bundling.patch +++ /dev/null @@ -1,84 +0,0 @@ ---- ivy.xml.orig 2018-04-18 12:50:14.434879557 +0100 -+++ ivy.xml 2018-04-18 12:50:41.064751141 +0100 -@@ -18,16 +18,14 @@ - - - -- - ]> - - -- -+ - - - - -- - - - -@@ -58,10 +56,6 @@ - - - -- -- -- -- - - - ---- build.xml.orig 2018-04-18 12:53:28.583943322 +0100 -+++ build.xml 2018-04-18 12:59:08.082561554 +0100 -@@ -183,7 +183,6 @@ - - - -- - - - -@@ -212,7 +211,6 @@ - - - -- - - - -@@ -368,31 +366,17 @@ - - - -- - -- -+ - -- -- -- -- -- -- -- -- -- -- -- -- -- - - - - - - -- -- -+ -+ - - - diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/fix-gradle-maven-build.patch b/fix-gradle-maven-build.patch deleted file mode 100644 index 6a495ce..0000000 --- a/fix-gradle-maven-build.patch +++ /dev/null @@ -1,55 +0,0 @@ ---- build.xml -+++ build.xml -@@ -212,7 +212,6 @@ - - - -- - - - -@@ -613,7 +612,6 @@ - - - -- - - - ---- ivy.xml.orig 2018-04-18 14:00:02.327714780 +0100 -+++ ivy.xml 2018-04-18 14:01:58.665183881 +0100 -@@ -32,14 +32,10 @@ - - - -+ -+ - -- -- -- -- - -- -- - - - ---- src/main/java/de/thetaphi/forbiddenapis/gradle/CheckForbiddenApis.java.orig 2018-04-18 13:57:53.359303320 +0100 -+++ src/main/java/de/thetaphi/forbiddenapis/gradle/CheckForbiddenApis.java 2018-04-18 13:57:59.455275501 +0100 -@@ -45,7 +45,6 @@ - import org.gradle.api.tasks.InputFiles; - import org.gradle.api.tasks.Internal; - import org.gradle.api.tasks.Optional; --import org.gradle.api.tasks.ParallelizableTask; - import org.gradle.api.tasks.SkipWhenEmpty; - import org.gradle.api.tasks.TaskAction; - import org.gradle.api.tasks.VerificationTask; -@@ -103,7 +102,6 @@ - * - * @since 2.0 - */ --@ParallelizableTask - public class CheckForbiddenApis extends DefaultTask implements PatternFilterable,VerificationTask,Constants { - - private static final String NL = System.getProperty("line.separator", "\n"); diff --git a/forbidden-apis.spec b/forbidden-apis.spec deleted file mode 100644 index 4c83747..0000000 --- a/forbidden-apis.spec +++ /dev/null @@ -1,162 +0,0 @@ -Name: forbidden-apis -Version: 3.2 -Release: 3%{?dist} -Summary: Policeman's Forbidden API Checker -License: ASL 2.0 -URL: https://github.com/policeman-tools/forbidden-apis -Source0: https://github.com/policeman-tools/%{name}/archive/refs/tags/%{version}.tar.gz - -# Avoid bundling deps -Patch0: avoid-jarjar-bundling.patch - -# Port to latest versions of gradle and maven in Fedora -Patch1: fix-gradle-maven-build.patch - -BuildArch: noarch - -BuildRequires: ivy-local -BuildRequires: maven-local -BuildRequires: ant -BuildRequires: ant-antunit -BuildRequires: ant-contrib -BuildRequires: ant-junit -BuildRequires: objectweb-asm -BuildRequires: plexus-utils -BuildRequires: maven-plugin-plugin - -%description -Allows to parse Java byte code to find invocations of method/class/field -signatures and fail build (Apache Ant, Apache Maven, or Gradle). - -%package javadoc -Summary: Javadoc for %{name} - -%description javadoc -This package contains API documentation for %{name}. - -%prep -%setup -q -%patch0 -%patch1 - -find . -name "*.jar" -print -delete -find . -name "*.class" -print -delete - -# Use system ivy settings -sed -i -e '/ivy:configure/d' build.xml - -# Can't use missing maven-ant-tasks -%pom_xpath_remove "target/artifact:pom" build.xml -%pom_xpath_remove "target/artifact:mvn" build.xml -%pom_xpath_remove "target/artifact:install" build.xml -%pom_xpath_inject "target[@name='maven-descriptor']" \ -" - - - - - - - - - - -" build.xml -sed -i -e '/maven-ant-tasks/d' ivy.xml -sed -i -e '/uri="antlib:org.apache.maven.artifact.ant/d' build.xml - -# Don't need to run RAT for RPM builds -sed -i -e '/apache-rat/d' ivy.xml -sed -i -e '/uri="antlib:org.apache.rat.anttasks/d' build.xml -rm -rf src/main/java/de/thetaphi/forbiddenapis/gradle src/test/gradle - -%build -ant -Divy.mode=local jar - -%install -# Add deps on unbundled jars, taken from ivy.xml -%pom_add_dep org.apache.ant:ant:1.7.0:provided build/maven/pom-deploy.xml -%pom_add_dep org.ow2.asm:asm:6.1.1 build/maven/pom-deploy.xml -%pom_add_dep org.ow2.asm:asm-commons:6.1.1 build/maven/pom-deploy.xml -%pom_add_dep org.codehaus.plexus:plexus-utils:1.1 build/maven/pom-deploy.xml -%pom_add_dep commons-cli:commons-cli:1.3.1 build/maven/pom-deploy.xml - -# remove unnecessary dependency on parent POM -%pom_remove_parent build/maven/pom-deploy.xml - -# Install maven artifacts -%mvn_artifact build/maven/pom-deploy.xml dist/forbiddenapis-2.5.jar -%mvn_install -J build/docs - -# Install ant configuration -mkdir -p %{buildroot}%{_sysconfdir}/ant.d -echo "%{name} ant apache-commons-cli objectweb-asm/asm objectweb-asm/asm-commons plexus/utils" > %{name}-ant -install -pm 644 %{name}-ant %{buildroot}%{_sysconfdir}/ant.d/%{name} - -%files -f .mfiles -%config(noreplace) %{_sysconfdir}/ant.d/%{name} -%license LICENSE.txt NOTICE.txt -%doc README.md - - -%changelog -* Sat Feb 05 2022 Jiri Vanek - 3.2-3 -- Rebuilt for java-17-openjdk as system jdk - -* Thu Jan 20 2022 Fedora Release Engineering - 3.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Wed Jul 21 2021 Fedora Release Engineering - 2.5-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Jan 26 2021 Fedora Release Engineering - 2.5-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Sun Aug 30 2020 Fabio Valentini - 2.5-9 -- Remove unnecessary dependency on parent POM. - -* Mon Jul 27 2020 Fedora Release Engineering - 2.5-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jul 10 2020 Jiri Vanek - 2.5-7 -- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 - -* Thu Apr 02 2020 Jiri VAnek - 2.5-6 -- resurrected without gradle and docs. Not sure if it still does what it should - -* Tue Jan 28 2020 Fedora Release Engineering - 2.5-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Jul 25 2019 Fedora Release Engineering - 2.5-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu Jan 31 2019 Fedora Release Engineering - 2.5-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering - 2.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Apr 18 2018 Mat Booth - 2.5-1 -- Update to latest upstream release - -* Wed Feb 07 2018 Fedora Release Engineering - 1.7-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 1.7-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 1.7-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Feb 03 2016 Fedora Release Engineering - 1.7-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jun 17 2015 Fedora Release Engineering - 1.7-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Tue Feb 03 2015 Zdenek Zambersky 1.7-1 -- updated to version 1.7 -- version tag in custom pom.xml is now generated automaticaly - -* Fri Oct 11 2013 gil cattaneo 1.3-1 -- initial rpm diff --git a/sources b/sources deleted file mode 100644 index 4d59dcf..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (3.2.tar.gz) = 236e2b210b44ea812918145966cfec8947d672415088f2961a98a8d1251989e5711ff787734a756c7e4710bcb384087bb40bcc48ead4b3da8139b4db4112eb1d