Skip to content

Commit

Permalink
build with tar.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
akhila-guruju committed Jan 9, 2025
1 parent 5fdfe68 commit b6daa51
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"pkg-config-1.5.7.gem": "713671c6af034325dc7e7c12026b02570fbb1358d9f3a023d3a001ce0159b1c7"
"rubygem-pkg-config-1.5.7.tar.gz": "06fbbe133becb56bb440123792235d2558123ffb181745bc651c306d6b5edb42"
}
}
11 changes: 4 additions & 7 deletions SPECS-EXTENDED/rubygem-pkg-config/rubygem-pkg-config.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ Release: 2%{?dist}
License: LGPL-2.0-or-later
Vendor: Microsoft Corporation
Distribution: Azure Linux
URL: http://github.com/rcairo/pkg-config
URL: https://github.com/rcairo/pkg-config

Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
Source0: https://github.com/ruby-gnome/%{gem_name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
# Observe test failure on test_cflags test_cflags_only_I
# with pkgconf 1.4.2
Patch0: rubygem-pkg-config-1.4.4-cflags-result-sort.patch
Patch0: rubygem-pkg-config-1.4.4-cflags-result-sort.patch

Requires: ruby(release)
BuildRequires: ruby(release)
Expand All @@ -27,7 +27,6 @@ BuildRequires: rubygem(test-unit)
BuildRequires: ruby-devel
BuildRequires: cairo-devel
Requires: rubygems

BuildArch: noarch
Provides: rubygem(%{gem_name}) = %{version}-%{release}

Expand All @@ -43,12 +42,10 @@ This package contains documentation for %{name}.

%prep
%setup -q -n %{gem_name}-%{version}
mv ../%{gem_name}-%{version}.gemspec .

%patch -P0 -p1

%build
gem build ./%{gem_name}-%{version}.gemspec
gem build %{gem_name}
%gem_install

%install
Expand Down
2 changes: 1 addition & 1 deletion cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -26675,7 +26675,7 @@
"other": {
"name": "rubygem-pkg-config",
"version": "1.5.7",
"downloadUrl": "https://rubygems.org/downloads/pkg-config-1.5.7.gem"
"downloadUrl": "https://github.com/ruby-gnome/pkg-config/archive/refs/tags/1.5.7.tar.gz"
}
}
},
Expand Down

0 comments on commit b6daa51

Please sign in to comment.