[rubygem-openshift-origin-msg-broker-mcollective] Update to latest upstream (1.0.1) - remove old defunct selinux rules

Adam Miller maxamillion at fedoraproject.org
Tue Nov 6 16:15:42 UTC 2012


commit c8b9b385e34dbbafe9505cee10a7de7dfd1c0c81
Author: Adam Miller <admiller at redhat.com>
Date:   Tue Nov 6 10:15:09 2012 -0600

    Update to latest upstream (1.0.1) - remove old defunct selinux rules

 .gitignore                                         |    1 +
 config-gearchanger-mcollective-plugin.rb           |   20 --
 rubygem-openshift-origin-common.spec               |  142 +++++++++++++++
 ...-origin-msg-broker-mcollective-rename-fix.patch |    7 -
 ...em-openshift-origin-msg-broker-mcollective.spec |  184 --------------------
 sources                                            |    2 +-
 6 files changed, 144 insertions(+), 212 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d38bcef..5ef70e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /openshift-origin-msg-broker-mcollective-0.1.1.gem
+/openshift-origin-common-1.0.1.gem
diff --git a/rubygem-openshift-origin-common.spec b/rubygem-openshift-origin-common.spec
new file mode 100644
index 0000000..d3beaac
--- /dev/null
+++ b/rubygem-openshift-origin-common.spec
@@ -0,0 +1,142 @@
+%global gem_name openshift-origin-common
+
+# Conditionally set required macros for distros without rubygems-devel This can
+# be removed once https://bugzilla.redhat.com/show_bug.cgi?id=788001 is
+# resolved.
+%if 0%{?el6}%{?fc16}
+%global rubyabi 1.8
+%global gem_dir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global gem_cache %{gem_dir}/cache/%{gem_name}-%{version}.gem
+%global gem_docdir %{gem_dir}/doc/%{gem_name}-%{version}
+%global gem_instdir %{gem_dir}/gems/%{gem_name}-%{version}
+%global gem_libdir %{gem_instdir}/lib
+%global gem_spec %{gem_dir}/specifications/%{gem_name}-%{version}.gemspec
+%endif
+
+%global selinux_variants mls strict targeted
+
+Summary:        Common library code for OpenShift subsystem
+Name:           rubygem-%{gem_name}
+Version:        1.0.1
+Release:        1%{?dist}
+Group:          Development/Tools
+License:        ASL 2.0
+URL:            http://openshift.redhat.com
+Source0:        http://mirror.openshift.com/pub/openshift-origin/source/rubygem-%{gem_name}/%{gem_name}-%{version}.gem
+Requires:       ruby(abi) >= 1.8
+Requires:       rubygems
+Requires:       rubygem(activemodel)
+Requires:       rubygem(json)
+Requires:       selinux-policy
+
+BuildRequires:  ruby-devel
+%if 0%{?rhel} == 6
+BuildRequires:  rubygems
+%else
+BuildRequires:  rubygems-devel
+%endif
+BuildArch:      noarch
+Provides:       rubygem(%{gem_name}) = %version
+
+%description
+This packages contains common library code for the OpenShift
+subsystem.
+
+%prep
+gem unpack %{SOURCE0}
+%setup -q -D -T -n  %{gem_name}-%{version}
+
+%build
+mkdir -p .%{gem_dir}
+
+# Create the gem as gem install only works on a gem file
+gem build %{gem_name}.gemspec
+
+export CONFIGURE_ARGS="--with-cflags='%{optflags}'"
+# gem install compiles any C extensions and installs into a directory
+# We set that to be a local directory so that we can move it into the
+# buildroot in %%install
+gem install -V \
+        --local \
+        --install-dir ./%{gem_dir} \
+        --bindir ./%{_bindir} \
+        --force \
+        --rdoc \
+        %{gem_name}-%{version}.gem
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/
+
+%files
+%dir %{gem_instdir}
+%{gem_instdir}/Gemfile
+%{gem_instdir}/Rakefile
+%{gem_instdir}/%{gem_name}.gemspec
+%{gem_spec}
+%{gem_libdir}
+%doc %{gem_instdir}/LICENSE
+%doc %{gem_instdir}/COPYRIGHT
+%doc %{gem_docdir}
+%doc %{gem_instdir}/README.md
+%exclude %{gem_cache}
+%exclude %{gem_instdir}/%{name}.spec
+
+
+%changelog
+* Tue Nov 06 2012 Adam Miller <admiller at redhat.com> 1.0.1-1
+- Updated to latest upstream
+- Removed old SELinux rules, merged into selinux-policy upstream
+
+* Mon Sep 24 2012 Troy Dawson <tdawson at redhat.com> 0.13.3-12
+- Removed extra selinux declarations (#860072)
+
+* Wed Aug 22 2012 Troy Dawson <tdawson at redhat.com> - 0.13.3-11
+- Fixed post scripts to fixfiles the right package
+
+* Wed Aug 22 2012 Troy Dawson <tdawson at redhat.com> - 0.13.3-10
+- Renamed library to correct name
+
+* Tue Aug 21 2012 Brenton Leanhardt <bleanhar at redhat.com> - 0.13.3-9
+- Removed incorrect doc tag usage
+
+* Tue Aug 21 2012 Brenton Leanhardt <bleanhar at redhat.com> - 0.13.3-8
+- Removed incorrect libdir exclude
+
+* Thu Aug 16 2012 Brenton Leanhardt <bleanhar at redhat.com> - 0.13.3-7
+- Using rubygem-devel macros and the exclude macro
+- Removed SELinux dir from package
+
+* Wed Aug 15 2012 Brenton Leanhardt <bleanhar at redhat.com> - 0.13.3-6
+- Keeping the LICENSE and COPYRIGHT file in their original locations
+
+* Fri Aug 10 2012 Brenton Leanhardt <bleanhar at redhat.com> 0.13.3-5
+- Added patch to remove unneeded rubygem-mongo from gemspec and fix project homepage
+- Removed uneeded policycoreutils-python require
+
+* Mon Aug 06 2012 Brenton Leanhardt <bleanhar at redhat.com> 0.13.3-4
+- Removed unneeded rubygem-mongo dependency
+- Removed unneeded make BuildRequire
+- Removed unneeded BuildRoot tag
+- Removed unneeded defattr usage
+- Removed unneeded clean section
+- Removed unneeded cached gem
+- Changed RPM_BUILD_ROOT to buildroot for consistency
+
+* Thu Aug 02 2012 Troy Dawson <tdawson at redhat.com> 0.13.3-1
+- Renamed package to openshift-origin-node
+- Updated to the latest upstream stable release
+- Added LICENSE and COPYRIGHT to doc
+
+* Fri Jul 20 2012 Brenton Leanhardt <bleanhar at redhat.com> 0.13.1-3
+- Switched Source0 to gem
+
+* Wed Jul 18 2012 Brenton Leanhardt <bleanhar at redhat.com> 0.13.1-2
+- Added ruby-devel and rubygem-devel build requires and replaced the
+  ruby_sitelib and geminstdir macros with the standard macros.
+- Renamed %%gemname to %%gem_name so %%geminstdir will work correctly.
+- Fixed several file mode problems with libraries
+
+* Mon Jul 09 2012 Brenton Leanhardt <bleanhar at redhat.com> 0.13.1-1
+- Initial package creation for Fedora
+- Removed rcov
diff --git a/sources b/sources
index 5202615..ceb8fa3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c8d7cb3ce200f59688e4f3ca1501afcf  openshift-origin-msg-broker-mcollective-0.1.1.gem
+330b45dc7e6fc0044d21b9db8c18acb8  openshift-origin-common-1.0.1.gem


More information about the scm-commits mailing list