[PATCH] - Makefile: fixed a problem during a "make install_hardest".

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



      That generates the rpm file:
        Wrote: /home/m011640/func/rpm-build/func-0.26-2.fc12.noarch.rpm
      And wants to upgrade like this:
        rpm -Uvh rpm-build/func-0.26-1.fc12.noarch.rpm
        error: open of rpm-build/func-0.26-1.fc12.noarch.rpm failed: No such file or directory
        make: [install_rpm] Error 1 (ignored)
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index de40d2d..1ffff55 100644
--- a/Makefile
+++ b/Makefile
@@ -69,7 +69,7 @@ install_harder: clean_harder install
 install_hardest: clean_harder clean_rpms rpms install_rpm restart
 
 install_rpm:
-	-rpm -Uvh rpm-build/func-$(VERSION)-$(RELEASE)$(shell rpm -E "%{?dist}").noarch.rpm
+	-rpm -Uvh rpm-build/func-$(VERSION)-$(NEWRELEASE)$(shell rpm -E "%{?dist}").noarch.rpm
 
 restart:
 	-/etc/init.d/certmaster restart
-- 
1.6.6.1

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux