Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:michals
vertest
vertest.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vertest.spec of Package vertest
# # spec file for package vertest # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # needssslcertforbuild # %include .rpmmacros Name: vertest Version: 0 Release: 0 Group: Development/Tools/Other License: MIT Summary: print suse version during build BuildRequires: openssl %if "@BUILD_FLAVOR@" == "foo" ExclusiveArch: ppc64le %endif %if "@BUILD_FLAVOR@" == "bar" ExclusiveArch: noarch ppc64le BuildArch: noarch %endif %if "@BUILD_FLAVOR@" == "baz" ExclusiveArch: noarch x86_64 BuildArch: noarch %endif %description %dump %prep %build cc -dumpmachine echo ------------------------------------------------------------------------- cat ~/.rpmmacros echo ------------------------------------------------------------------------- cat %_specfile | awk "/^%%changelog/ { exit } { print }" echo ------------------------------------------------------------------------- rpmspec -P %_specfile | awk "/^%%changelog/ { exit } { print }" echo ------------------------------------------------------------------------- uname -a openssl x509 -inform PEM -text -noout -in %_sourcedir/_projectcert.crt echo "%%{optflags}=%{optflags}" echo OPTFLAGS="$OPTFLAGS" echo CFLAGS="$CFLAGS" echo CPPFLAGS="$CPPFLAGS" echo Flavor: @BUILD_FLAVOR@ echo suse_version %{?suse_version} echo leap_version %{?leap_version} echo sles_version %{?sles_version} echo sle_version %{?sle_version} echo is_opensuse %{?is_opensuse} echo _project %{_project} echo _repo %{_repo} echo _repository %{_repository} echo _is_tumbling %{_is_tumbling} echo _is_not_tumbling %{_is_not_tumbling} echo _spec %{_spec} echo _specfile %{_specfile} %install mkdir -p %{buildroot}%{_docdir}/%{name} touch %{buildroot}%{_docdir}/%{name}/built %files %defattr(-,root,root) %{_docdir}/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor