Skip to content

Commit

Permalink
Drop A2JS RPM package from CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
reznikmm committed Jun 27, 2021
1 parent 5815e7a commit da701dc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 57 deletions.
13 changes: 1 addition & 12 deletions matreshka/.github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,6 @@ jobs:
- uses: actions/checkout@v2
with:
path: matreshka
- uses: reznikmm/fedora-ada-action@v3
- uses: reznikmm/fedora-ada-action@master
with:
spec: matreshka/packages/travis/matreshka.spec
- name: Upload tar-ball to Bintray
uses: reznikmm/upload-bintray-action@v3
with:
subject: reznikmm
repository: matreshka
package: matreshka
version: head-fc33
sourcePath: x86_64/*
override: 1
username: reznikmm
apiKey: ${{secrets.BINTRAY_API_KEY}}
26 changes: 3 additions & 23 deletions matreshka/packages/copr/matreshka.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ BuildRequires: chrpath
BuildRequires: gprbuild valgrind
BuildRequires: postgresql-devel sqlite-devel mariadb-devel
BuildRequires: aws-devel
BuildRequires: asis-devel
# We need node.js for testing a2js
BuildRequires: nodejs
BuildRequires: npm

# gprbuild only available on these:
ExclusiveArch: %GPRbuild_arches
Expand Down Expand Up @@ -442,16 +438,6 @@ Requires: fedora-gnat-project-common >= 2
%description servlet-devel
%{summary}

%package a2js
Summary: Ada to JavaScript translator and WebAPI binding
License: BSD
Group: Development/Libraries
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Requires: asis%{?_isa}

%description a2js
%{summary}

%prep
{{{ git_dir_setup_macro }}}
%define rtl_version %(gcc -v 2>&1 | grep -P 'gcc version' | awk '{print $3}' | cut -d '.' -f 1-2)
Expand Down Expand Up @@ -807,16 +793,10 @@ chrpath --delete %{buildroot}%{_libdir}/lib*
%{_libdir}/%{name}/servlet/libmatreshka-servlet-%{rtl_version}.so.%{ver}
%{_libdir}/libmatreshka-servlet-%{rtl_version}.so.%{ver}

%files a2js
%{_bindir}/a2js
%{_includedir}/%{name}/webapi
%{_libdir}/%{name}/webapi
%{_datadir}/%{name}/a2js
%{_datadir}/gprconfig/*.xml
%{_gprdir}/%{name}_webapi.gpr
%{_gprdir}/manifests/webapi

%changelog
* Sun Jun 27 2021 Maxim Reznik <[email protected]> - 20.0-2
- Drop a2js package

* Sat Jul 18 2020 Maxim Reznik <[email protected]> - 20.0-1
- Update to 20.0 version

Expand Down
25 changes: 3 additions & 22 deletions matreshka/packages/travis/matreshka.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ BuildRequires: chrpath
BuildRequires: gprbuild valgrind
BuildRequires: postgresql-devel sqlite-devel mariadb-devel
BuildRequires: aws-devel
BuildRequires: asis-devel
# We need node.js for testing a2js
BuildRequires: nodejs

# gprbuild only available on these:
ExclusiveArch: %GPRbuild_arches
Expand Down Expand Up @@ -436,16 +433,6 @@ Requires: fedora-gnat-project-common >= 2
%description servlet-devel
%{summary}

%package a2js
Summary: Ada to JavaScript translator and WebAPI binding
License: BSD
Group: Development/Libraries
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Requires: asis%{?_isa}

%description a2js
%{summary}

%prep
%setup -q -n %{name}
%define rtl_version %(gcc -v 2>&1 | grep -P 'gcc version' | awk '{print $3}' | cut -d '.' -f 1-2)
Expand Down Expand Up @@ -801,16 +788,10 @@ chrpath --delete %{buildroot}%{_libdir}/lib*
%{_libdir}/%{name}/servlet/libmatreshka-servlet-%{rtl_version}.so.%{version}
%{_libdir}/libmatreshka-servlet-%{rtl_version}.so.%{version}

%files a2js
%{_bindir}/a2js
%{_includedir}/%{name}/webapi
%{_libdir}/%{name}/webapi
%{_datadir}/%{name}/a2js
%{_datadir}/gprconfig/*.xml
%{_gprdir}/%{name}_webapi.gpr
%{_gprdir}/manifests/webapi

%changelog
* Sun Jun 27 2021 Maxim Reznik <[email protected]> - 20.0-2
- Drop a2js package

* Sat Jul 18 2020 Maxim Reznik <[email protected]> - 20.0-1
- Update to 20.0 version

Expand Down

0 comments on commit da701dc

Please sign in to comment.