Apply patch reverting changes that require new Anaconda (#1497677)

This patch was removed by accident in 2.1.11-1
This commit is contained in:
Vojtech Trefny 2017-10-03 07:47:15 +02:00
parent 2ce569c011
commit 0882103f32
1 changed files with 5 additions and 1 deletions

View File

@ -5,13 +5,14 @@ Version: 2.1.11
#%%global prerelease .b1
# prerelease, if defined, should be something like .a1, .b1, .b2.dev1, or .c2
Release: 1%{?prerelease}%{?dist}
Release: 2%{?prerelease}%{?dist}
Epoch: 1
License: LGPLv2+
Group: System Environment/Libraries
%global realname blivet
%global realversion %{version}%{?prerelease}
Source0: http://github.com/storaged-project/blivet/archive/%{realname}-%{realversion}.tar.gz
Patch0: 0001-Revert-Anaconda-unreleased-changes.patch
# Versions of required components (done so we make sure the buildrequires
# match the requires versions of things).
@ -56,11 +57,14 @@ configuration.
%prep
%setup -q -n %{realname}-%{realversion}
%patch0 -p1
rm -rf %{py3dir}
cp -a . %{py3dir}
%build
# don't try to regenerate blivet.pot as part of the rpm build.
touch po/blivet.pot
make
%install