aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2018-10-24 13:40:54 -0400
committerB Stack <bgstack15@gmail.com>2018-10-24 13:40:54 -0400
commit845c2788d6e2272cb2c632cf261af02ff534afd9 (patch)
tree19a4cb8eb79bf293f4bc4781fa285d66b0bedf4f
parentinitial commit and release of v0.0.1 (diff)
downloadlaps-845c2788d6e2272cb2c632cf261af02ff534afd9.tar.gz
laps-845c2788d6e2272cb2c632cf261af02ff534afd9.tar.bz2
laps-845c2788d6e2272cb2c632cf261af02ff534afd9.zip
rpm spec %install uses %{name}*/ dir
-rw-r--r--laps.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/laps.spec b/laps.spec
index 6b6417d..ef59c20 100644
--- a/laps.spec
+++ b/laps.spec
@@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: laps
Version: 0.0.1
-Release: 1
+Release: 2
Summary: local administrator password solution
Group: system
@@ -34,7 +34,8 @@ laps provides the GNU/Linux client for the LAPS (Local Administrator Password So
%install
#make install DESTDIR=%{buildroot}
-cp -pr %{name}/src/* "%{buildroot}"
+# the %%name* allows for either laps-0.0.0/ or laps/ dirname.
+cp -pr %{name}*/src/* "%{buildroot}"
%files
%doc %{_docdir}/%{name}/*
bgstack15