Skip to content

Commit

Permalink
build: Remove uses of Obsoletes and python provide script.
Browse files Browse the repository at this point in the history
When packaging for the first time Obsoletes is not required.

Also remove the Fedora %python_provides python2 to python3 migration
macro use.
  • Loading branch information
LaakkonenJussi committed Oct 16, 2018
1 parent 49d0347 commit bdf1519
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rpm/libselinux.spec
Expand Up @@ -74,11 +74,8 @@ The libselinux-utils package contains the utilities
Summary: SELinux python 3 bindings for libselinux
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%{?python_provide:%python_provide python3-libselinux}
# Remove before F30
Provides: %{name}-python3 = %{version}-%{release}
Provides: %{name}-python3 = %{version}-%{release}
Obsoletes: %{name}-python3 < %{version}-%{release}

%description -n python3-libselinux
The libselinux-python3 package contains python 3 bindings for developing
Expand Down

0 comments on commit bdf1519

Please sign in to comment.