--- rpg.spec.orig 2016-07-31 02:48:53.198919821 +0100 +++ rpg.spec 2016-07-31 03:06:25.968766835 +0100 @@ -1,10 +1,10 @@ Name: rpg Version: 0.0.5 -Release: 1%{?snapshot}%{?dist} +Release: 1.1%{?dist} Summary: RPM Package Generator License: GPLv2 URL: https://github.com/rh-lab-q/rpg -Source0: https://github.com/rh-lab-q/%{name}/archive/%{name}-%{version}-1.tar.gz +Source0: https://github.com/rh-lab-q/%{name}/archive/%{name}-%{version}-1/%{name}-%{version}-1.tar.gz BuildRequires: cmake BuildRequires: python3-qt5 BuildRequires: qt5-qtbase-gui @@ -196,7 +196,7 @@ packaged files. Beginners can get famili advanced users can use our tool for a quick creation of a package. %prep -%setup -q -n rpg-%{version} +%setup -q -n rpg-%{name}-%{version}-1 %build %cmake . -DWITH_MAN=1 -DDISABLE_MOCK_TEST=1 -DDISABLE_CONNECTION_TEST=1