[packages/test/env-test] Test env in build and install

glen glen at pld-linux.org
Thu Feb 23 09:17:52 CET 2023


commit f222a36b6dcdd95760a73f56bd4acb3848d96058
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Feb 23 10:17:30 2023 +0200

    Test env in build and install

 test.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/test.spec b/test.spec
index 5d7108d..61de24d 100644
--- a/test.spec
+++ b/test.spec
@@ -9,10 +9,7 @@ Version:	1
 Release:	7
 License:	GPL
 Group:		Applications/System
-Source0:	http://execve.pl/u/u?r=23#/xxx
-# Source0-md5:	6de9439834c9147569741d3c9c9fc010
 URL:		http://www.pld-linux.org/
-#BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -21,14 +18,17 @@ testing something.
 %prep
 %setup -qcT
 
+%build
+env | sort
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT
-install a $RPM_BUILD_ROOT
+
+env | sort
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-/a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/test.git/commitdiff/f222a36b6dcdd95760a73f56bd4acb3848d96058



More information about the pld-cvs-commit mailing list