]> www.infradead.org Git - users/mchehab/rasdaemon.git/commitdiff
Add a target to build rasdaemon with mock
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 10 Aug 2014 15:51:04 +0000 (12:51 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 10 Aug 2014 16:00:36 +0000 (13:00 -0300)
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Makefile.am

index 6c47ae20101625d05cde48ba18bfd17d95671577..2deb937b432a6012c179115a9957ea7d25ff48f9 100644 (file)
@@ -55,6 +55,9 @@ srpm: dist-bzip2
        cp @PACKAGE@-@PACKAGE_VERSION@.tar.bz2 `rpm --eval %{_topdir}`/SOURCES/
        rpmbuild -bs misc/@PACKAGE@.spec
 
+mock: srpm
+       mock `rpm --eval %{_topdir}`/SRPMS/@PACKAGE@-@PACKAGE_VERSION@*.src.rpm
+
 rpmlint:
        rpmlint misc/@PACKAGE@.spec `rpm --eval %{_topdir}`/SRPMS/@PACKAGE@-@PACKAGE_VERSION@*.src.rpm `rpm --eval %{_topdir}`/RPMS/*/@PACKAGE@-@PACKAGE_VERSION@*.rpm