Skip to content

Commit

Permalink
cpuset.spec: Revert the %{realver} workaround
Browse files Browse the repository at this point in the history
Use RPM compatible repo tags in the future.

Signed-off-by: Libor Pechacek <lpechacek@suse.com>
  • Loading branch information
Libor Pechacek committed Dec 3, 2018
1 parent 4b527a0 commit e278a0b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cpuset.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#


%define realver 1.6pre1
%if 0%{?suse_version} < 1315
%define pyver python
%else
Expand All @@ -29,13 +28,13 @@
BuildArch: noarch
%endif
Name: cpuset
Version: 1.6~pre1
Version: 1.6
Release: 0
Summary: Allows manipulation of cpusets on system and provides higher level functions
License: GPL-2.0-only
Group: System/Management
URL: https://github.com/lpechacek/cpuset
Source: https://github.com/lpechacek/cpuset/archive/v%{realver}.tar.gz
Source: https://github.com/lpechacek/cpuset/archive/v%{version}.tar.gz
BuildRequires: %{pyver}-setuptools
Requires: %{pyver}-future

Expand All @@ -47,7 +46,7 @@ level functions such as implementation and control of a basic CPU
shielding setup.

%prep
%setup -q -n %{name}-%{realver}
%setup -q -n %{name}-%{version}

%build
%{pyver} setup.py build
Expand Down

0 comments on commit e278a0b

Please sign in to comment.