From 6452532fac07b8ffb8949d9cf90865e371ced80e Mon Sep 17 00:00:00 2001
From: CentOS Sources <bugs@centos.org>
Date: Thu, 07 Jun 2018 06:26:09 +0000
Subject: [PATCH] import rh-dotnet21-2.1-1.el7

---
 .rh-dotnet21.metadata  |    0 
 /dev/null              |    4 --
 .gitignore             |    0 
 SPECS/rh-dotnet21.spec |  102 +++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 102 insertions(+), 4 deletions(-)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.gitignore
diff --git a/.rh-dotnet21.metadata b/.rh-dotnet21.metadata
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.rh-dotnet21.metadata
diff --git a/README.md b/README.md
deleted file mode 100644
index 98f42b4..0000000
--- a/README.md
+++ /dev/null
@@ -1,4 +0,0 @@
-The master branch has no content
-
-Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6
-If you find this file in a distro specific branch, it means that no content has been checked in yet
diff --git a/SPECS/rh-dotnet21.spec b/SPECS/rh-dotnet21.spec
new file mode 100644
index 0000000..54d884e
--- /dev/null
+++ b/SPECS/rh-dotnet21.spec
@@ -0,0 +1,102 @@
+%global scl_name_prefix rh-
+%global scl_name_base dotnet
+%global scl_name_version 21
+
+%global scl %{scl_name_prefix}%{scl_name_base}%{scl_name_version}
+%scl_package %scl
+
+%global nfsmoutnable 1
+
+# For testing this RPM by itself.
+%global install_scl 1
+
+# Do not produce empty debuginfo package
+%global debug_package %{nil}
+
+Name: %scl_name
+Version: 2.1
+Release: 1%{?dist}
+Summary: Package that installs %scl
+License: MIT
+
+BuildRequires:  scl-utils-build
+%if 0%{?install_scl}
+Requires:       %{scl_prefix}dotnet
+%endif
+
+%description
+This is the main package for %scl Software Collection.
+
+
+%package runtime
+Summary: Package that handles %scl Software Collection.
+Requires: scl-utils
+
+%description runtime
+Package shipping essential scripts to work with %scl Software Collection.
+
+
+%package build
+Summary: Package shipping basic build configuration
+Requires: scl-utils-build
+
+%description build
+Package shipping essential configuration macros to build %scl Software Collection.
+
+
+%prep
+%setup -c -T
+
+%build
+# Nothing to do
+
+%install
+%scl_install
+
+cat >> %{buildroot}%{_scl_scripts}/enable << EOF
+export PATH="%{_bindir}:%{_sbindir}\${PATH:+:\${PATH}}"
+export CPATH="%{_includedir}\${CPATH:+:\${CPATH}}"
+export LD_LIBRARY_PATH="%{_libdir}\${LD_LIBRARY_PATH:+:\${LD_LIBRARY_PATH}}"
+export MANPATH="%{_mandir}:\${MANPATH:-}"
+export PKG_CONFIG_PATH="%{_libdir}/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}"
+export PYTHONPATH=%{_scl_root}%{python_sitelib}\${PYTHONPATH:+:\${PYTHONPATH}}
+export XDG_DATA_DIRS=%{_datadir}:\${XDG_DATA_DIRS:-/usr/local/share:/usr/share}
+
+# Opt out of telemetry collection by default
+export DOTNET_CLI_TELEMETRY_OPTOUT=true
+EOF
+
+
+%files
+
+%files runtime -f filelist
+%scl_files
+
+%files build
+%{_root_sysconfdir}/rpm/macros.%{scl}-config
+
+
+%changelog
+* Thu May 17 2018 Omair Majid <omajid@redhat.com> - 2.1-1
+- Update to 2.1
+
+* Tue Jun 20 2017 Omair Majid <omajid@redhat.com> - 2.0-6
+- Add XDG_DATA_DIRS
+
+* Thu Jun 8 2017 Omair Majid <omajid@redhat.com> - 2.0-5
+- Add requires on main dotnet package
+
+* Wed Apr 19 2017 Omair Majid <omajid@redhat.com> - 2.0-4
+- Add CPATH
+
+* Tue Apr 18 2017 Omair Majid <omajid@redhat.com> - 2.0-3
+- Add PYTHONPATH
+- Opt out of telemetry collection
+
+* Mon Apr 17 2017 Omair Majid <omajid@redhat.com> - 2.0-2
+- Remove unprintable characters from build section
+- Do not require rest of SCL
+- Do not install man page
+
+* Thu Apr 13 2017 Omair Majid <omajid@redhat.com> 2.0-1
+- Initial package

--
Gitblit v1.8.0