diff --git a/cproto.spec b/cproto.spec index f214af6..3f0d077 100644 --- a/cproto.spec +++ b/cproto.spec @@ -6,6 +6,7 @@ License: Public Domain Group: Development/Tools Source: ftp://invisible-island.net/cproto/cproto-%{version}.tgz URL: http://invisible-island.net/ +BuildRequires: gcc-c++ BuildRequires: byacc, flex %description @@ -22,18 +23,18 @@ definitions as much as other prototype generators. %build %configure -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install %check -make %{?_smp_mflags} check +%make_build check %files %doc AUTHORS CHANGES MANIFEST README -%{_prefix}/bin/cproto -%{_mandir}/man1/cproto.* +%{_bindir}/cproto +%{_mandir}/man1/cproto.1* %changelog * Thu Jul 12 2018 Fedora Release Engineering - 4.7m-7