Skip to content

Commit

Permalink
#3945 the headers are not tied to the python version
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Nov 17, 2023
1 parent fed948d commit 5fb42a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packaging/rpm/pygobject3.spec
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ Requires: %{python3}-gobject-base = %{version}-%{release}
This package provides the non-cairo specific bits of the GObject Introspection
library that are not architecture specific.

%package -n %{python3}-gobject-devel
%package -n python3-gobject-devel
Summary: Development files for embedding PyGObject introspection support
Requires: %{python3}-gobject%{?_isa} = %{version}-%{release}
Requires: gobject-introspection-devel%{?_isa}
# Renamed in F31
Obsoletes: pygobject3-devel < 3.34.0-2
Provides: pygobject3-devel = %{version}-%{release}

%description -n %{python3}-gobject-devel
%description -n python3-gobject-devel
This package contains files required to embed PyGObject

%prep
Expand Down Expand Up @@ -124,7 +124,7 @@ fi
%{python3_sitelib}/gi/repository/
%{python3_sitelib}/pygtkcompat/

%files -n %{python3}-gobject-devel
%files -n python3-gobject-devel
%dir %{_includedir}/pygobject-3.0/
%{_includedir}/pygobject-3.0/pygobject.h
%{_libdir}/pkgconfig/pygobject-3.0.pc
Expand Down
6 changes: 3 additions & 3 deletions packaging/rpm/python3-cairo.spec
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ Requires: %{python3}
%description -n %{python3}-cairo
Python 3 bindings for the cairo library.

%package -n %{python3}-cairo-devel
%package -n python3-cairo-devel
Summary: Libraries and headers for py3cairo
Requires: %{python3}-cairo%{?_isa} = %{version}-%{release}
Requires: %{python3}-devel

%description -n %{python3}-cairo-devel
%description -n python3-cairo-devel
This package contains files required to build wrappers for cairo add-on
libraries so that they interoperate with py3cairo.

Expand All @@ -64,7 +64,7 @@ fi
%{python3_sitearch}/cairo/
%{python3_sitearch}/pycairo*.egg-info

%files -n %{python3}-cairo-devel
%files -n python3-cairo-devel
%dir %{_includedir}/pycairo
%{_includedir}/pycairo/py3cairo.h
%{_libdir}/pkgconfig/py3cairo.pc
Expand Down

0 comments on commit 5fb42a9

Please sign in to comment.