[subscription-manager] Update subscription-manager to 1.0.7-1

Devan Goodwin dgoodwin at fedoraproject.org
Thu Jun 28 18:22:03 UTC 2012


commit 92d9508940db0eb2ef19059af3e48566f48cd1c6
Author: Devan Goodwin <dgoodwin at redhat.com>
Date:   Thu Jun 28 15:22:03 2012 -0300

    Update subscription-manager to 1.0.7-1

 .gitignore                |    1 +
 sources                   |    2 +-
 subscription-manager.spec |  220 ++++++++++++++++++++++++++++++++++++++++++---
 3 files changed, 211 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 846b7aa..9c5721b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
 /subscription-manager-0.99.13.tar.gz
 /subscription-manager-1.0.2.tar.gz
 /subscription-manager-1.0.3.tar.gz
+/subscription-manager-1.0.7.tar.gz
diff --git a/sources b/sources
index 93fb79c..4a11386 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5cb12ea370aeca37740c2df842fdb12b  subscription-manager-1.0.3.tar.gz
+936418d02b14c269ea0ad672d6356795  subscription-manager-1.0.7.tar.gz
diff --git a/subscription-manager.spec b/subscription-manager.spec
index c0bed08..cb642a7 100644
--- a/subscription-manager.spec
+++ b/subscription-manager.spec
@@ -1,5 +1,7 @@
 # Skip rhsm-icon on Fedora 15+ and RHEL 7+
 %define use_rhsm_icon (0%{?fedora} && 0%{?fedora} < 15) || (0%{?rhel} && 0%{?rhel} < 7)
+# Prefer systemd over sysv on Fedora 17+ and RHEL 7+
+%define use_systemd (0%{?fedora} && 0%{?fedora} >= 17) || (0%{?rhel} && 0%{?rhel} >= 7)
 
 # A couple files are for RHEL 5 only:
 %if 0%{?rhel} == 5
@@ -7,7 +9,7 @@
 %endif
 
 Name: subscription-manager
-Version: 1.0.3
+Version: 1.0.7
 Release: 1%{?dist}
 Summary: Tools and libraries for subscription and repository management
 Group:   System Environment/Base
@@ -40,6 +42,12 @@ Requires(post): chkconfig
 Requires(preun): chkconfig
 Requires(preun): initscripts
 
+%if %use_systemd
+Requires(post): systemd-units
+Requires(preun): systemd-units
+Requires(postun): systemd-units
+%endif
+
 BuildRequires: python-devel
 BuildRequires: gettext
 BuildRequires: intltool
@@ -205,7 +213,6 @@ rm -rf %{buildroot}
 %attr(755,root,root) %{_sbindir}/subscription-manager
 %attr(755,root,root) %{_bindir}/subscription-manager
 %attr(755,root,root) %{_bindir}/rhsmcertd
-%attr(755,root,root) %{_initrddir}/rhsmcertd
 %attr(755,root,root) %{_libexecdir}/rhsmcertd-worker
 %attr(755,root,root) %{_libexecdir}/rhsmd
 %attr(755,root,root) %dir %{_var}/run/rhsm
@@ -216,6 +223,12 @@ rm -rf %{buildroot}
 %{_sysconfdir}/pam.d/subscription-manager
 %{_sysconfdir}/security/console.apps/subscription-manager
 
+%if %use_systemd
+    %attr(644,root,root) %{_unitdir}/rhsmcertd.service
+%else
+    %attr(755,root,root) %{_initrddir}/rhsmcertd
+%endif
+
 %doc
 %{_mandir}/man8/subscription-manager.8*
 %{_mandir}/man8/rhsmcertd.8*
@@ -285,24 +298,209 @@ rm -rf %{buildroot}
 %endif
 
 %post
-chkconfig --add rhsmcertd
+%if %use_systemd
+    /bin/systemctl enable rhsmcertd.service >/dev/null 2>&1 || :
+    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
+    /bin/systemctl try-restart rhsmcertd.service >/dev/null 2>&1 || :
+%else
+    chkconfig --add rhsmcertd
+%endif
+
 if [ -x /bin/dbus-send ] ; then
   dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig > /dev/null 2>&1 || :
 fi
-if [ "$1" -eq "2" ] ; then
-    /sbin/service rhsmcertd condrestart >/dev/null 2>&1 || :
-fi
+
+%if !%use_systemd
+    if [ "$1" -eq "2" ] ; then
+        /sbin/service rhsmcertd condrestart >/dev/null 2>&1 || :
+    fi
+%endif
 
 %preun
 if [ $1 -eq 0 ] ; then
-   /sbin/service rhsmcertd stop >/dev/null 2>&1
-   /sbin/chkconfig --del rhsmcertd
-   if [ -x /bin/dbus-send ] ; then
-     dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig > /dev/null 2>&1 || :
-   fi
+    %if %use_systemd
+        /bin/systemctl --no-reload disable rhsmcertd.service > /dev/null 2>&1 || :
+        /bin/systemctl stop rhsmcertd.service > /dev/null 2>&1 || :
+    %else
+        /sbin/service rhsmcertd stop >/dev/null 2>&1
+        /sbin/chkconfig --del rhsmcertd
+    %endif
+
+    if [ -x /bin/dbus-send ] ; then
+        dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig > /dev/null 2>&1 || :
+    fi
 fi
 
+%postun
+%if %use_systemd
+    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
+    if [ $1 -eq 1 ] ; then
+        /bin/systemctl try-restart rhsmcertd.service >/dev/null 2>&1 || :
+    fi
+%endif
+
 %changelog
+* Thu Jun 28 2012 Alex Wood <awood at redhat.com> 1.0.7-1
+- Revamp choose server screen. (dgoodwin at redhat.com)
+
+* Thu Jun 28 2012 Alex Wood <awood at redhat.com> 1.0.6-1
+- rhsmcertd no longer exits when not registered. (mstead at redhat.com)
+- po file cleanups (alikins at redhat.com)
+- latest strings from zanata (alikins at redhat.com)
+- Free config resources in one place (mstead at redhat.com)
+- rhsmcertd: free GKeyFile when done (jbowes at redhat.com)
+- rhsmcertd: remove studlyCaps (jbowes at redhat.com)
+- "make stylish" should failed on "swapped" in glade files (alikins at redhat.com)
+- Remove 'swapped=on' from glade signal markup. (alikins at redhat.com)
+- add 'fix-glade-swapped' target to de-'swapped' glade files
+  (alikins at redhat.com)
+- make stylish fixups (alikins at redhat.com)
+- Fix at-spi label for "offline_radio" widget (alikins at redhat.com)
+- shorter messages for cases where registered to RHN Classic
+  (alikins at redhat.com)
+- Tighten up the gettext_lint regex (alikins at redhat.com)
+- Fix string that was breaking xgettext (alikins at redhat.com)
+- 810998: Add a button to test a proxy connection. (awood at redhat.com)
+- new messages, and remove checking of rhn serverURL (alikins at redhat.com)
+- remove unused es.po file (bkearney at redhat.com)
+- 829486: Removed untranslated words to force a re-translation
+  (bkearney at redhat.com)
+- Remove unused bn.po file (bkearney at redhat.com)
+- 826856: Add check for service-level command that --org can only be used with
+  --list option (bkearney at redhat.com)
+- 829483: Remove english to english translation to force a re-translations
+  (bkearney at redhat.com)
+- Remove unused de po file (bkearney at redhat.com)
+- 819665: on 'version' display if we are registered to RHN Classic
+  (alikins at redhat.com)
+
+* Tue Jun 26 2012 Alex Wood <awood at redhat.com> 1.0.5-1
+- 804109: Give a specific message when providing invalid credentials.
+  (awood at redhat.com)
+- 810360: update wording in gnome help file (cduryee at redhat.com)
+- use new bin location of files for $STYLEFILES (alikins at redhat.com)
+- add 'debuglint' for checking for leftover debugger imports
+  (alikins at redhat.com)
+- Update make clean target (jbowes at redhat.com)
+- Move py executables to bin/ (jbowes at redhat.com)
+- Put no results text inside the scrolled window (jbowes at redhat.com)
+- 817901: Show text when there are no subscriptions to show.
+  (dgoodwin at redhat.com)
+- Move initd file to etc-conf (jbowes at redhat.com)
+- Move plugins to their own src dir (jbowes at repl.ca)
+- More test cases for utils.parse_url (alikins at redhat.com)
+- 829482: Delete unstranslated strings in order force a retranslation
+  (bkearney at redhat.com)
+- 811602: Fix the help output based on UXD feedback (bkearney at redhat.com)
+- 828867: Removed the extra %%s string from the te translation
+  (bkearney at redhat.com)
+- 829479: Remove unstranslated strings to force a re-translation
+  (bkearney at redhat.com)
+- Delete the unused pt.po file (bkearney at redhat.com)
+- 829476: Remove untranslated strings. (bkearney at redhat.com)
+- 811553: Improve the text for auto subscribe during registration
+  (bkearney at redhat.com)
+- 829471: Fix the translation for usage, and remove a translation for %%org id
+  to force a retranslation (bkearney at redhat.com)
+- Remove an outdated ta.po file (bkearney at redhat.com)
+- 828810: Remove extra %%s in translation (bkearney at redhat.com)
+- Test to ensure that pool id is in the output for list --available
+  (wpoteat at redhat.com)
+- Close registration window even if it failed. (dgoodwin at redhat.com)
+- 825923: Subscription-manager service-level set should say "Service level set
+  to:" (wpoteat at redhat.com)
+- 811594: Default behavior for ReposCommand is --list (wpoteat at redhat.com)
+- 832400: service-level --unset should display proper message for unregistered
+  client. (wpoteat at redhat.com)
+
+* Tue Jun 19 2012 Alex Wood <awood at redhat.com> 1.0.4-1
+- 818978: Use systemd instead of sysv when installing on F17+ and RHEL7+.
+  (mstead at redhat.com)
+- 827035: update identity certificate (jmrodri at gmail.com)
+- registergui: make screens without guis more generic (jbowes at redhat.com)
+- Incorrect field value removed on previous change (wpoteat at redhat.com)
+- 829812: Add an unset command for the release command (bkearney at redhat.com)
+- 823659: Update SLA text in Settings to Service Level (wpoteat at redhat.com)
+- Use a temp file for finding used widgets (jbowes at redhat.com)
+- clean up some unused import warnings (jbowes at redhat.com)
+- default to running style checks on tests (jbowes at redhat.com)
+- Make test cases stylish as well... (alikins at redhat.com)
+- Fix "make stylish" (alikins at redhat.com)
+- 829803: Added an unset command to service level. (bkearney at redhat.com)
+- Remove reference to InstalledProductsTab.product_id_text (alikins at redhat.com)
+- Add a "find-missing-widgets" target to makefile (alikins at redhat.com)
+- 830949: add accessibility locators for registration widgets
+  (alikins at redhat.com)
+- 824979: No message for subscription-manager release --list with no
+  subscriptions. (wpoteat at redhat.com)
+- Added UnRegisterCommand and UnSubscribeCommand nosetests (wpoteat at redhat.com)
+- registergui: get firstboot working with new new code (jbowes at repl.ca)
+- registergui: Create a PreformRegisterScreen class (jbowes at repl.ca)
+- registergui: add a post method for setting data on the parent
+  (jbowes at repl.ca)
+- registergui: create a 'pre' hook for screens (jbowes at repl.ca)
+  (cduryee at redhat.com)
+- 819665: print msg if user is registered to RHN Classic on "identity" command
+  (cduryee at redhat.com)
+  (wpoteat at redhat.com)
+- Add F17 yum repo release target. (dgoodwin at redhat.com)
+- fix make stylish (jbowes at redhat.com)
+- 810352: Disable the expansion of the system name selection in the register
+  dialog (bkearney at redhat.com)
+- 824530: add test case for setting proxy cli for release (alikins at redhat.com)
+- rhsm-icon codestyle cleanups (jbowes at repl.ca)
+- 829900: Use the term 'Subscription Management Service' to refer to SAM, CFSE,
+  etc (root at bkearney.(none))
+- 829898: Make the no service level option a bit clearer as to its meaning
+  (bkearney at redhat.com)
+- Improve the logging so that the user only sees the approved output by default
+  (bkearney at redhat.com)
+- 830193: Modify the output of the yum plugin to be consistent with RHN
+  (bkearney at redhat.com)
+- 824530: "release" command ignoring cli proxy options (alikins at redhat.com)
+- 828042,828068: Make ja_JP's Confirm Subscription unique for firstboot.
+  (mstead at redhat.com)
+- Updating strings from zanata (mstead at redhat.com)
+- 825309: Remove the archiecture field from the table. (bkearney at redhat.com)
+- 823608: Rename the software pane to product (bkearney at redhat.com)
+- 810369: Prefer the term Subscription to Entitlement (bkearney at redhat.com)
+- Add a warning comment about firstboot module titles (alikins at redhat.com)
+- Clean up an option (bkearney at redhat.com)
+- 827208: Fix the xmltag bugs in the or po file (bkearney at redhat.com)
+- 827214: Clean up the XML tags in ta po file. (bkearney at redhat.com)
+- Slight change in the path for the ta po file (bkearney at redhat.com)
+- Slight change in the path for the ta po file (bkearney at redhat.com)
+- Slight change in the path for the ml po file (bkearney at redhat.com)
+- 828583: Add some spacing at the end of the file paths in the ko.po file
+  (bkearney at redhat.com)
+- 828816: the %%prog variable should not be translated (bkearney at redhat.com)
+- 828821: Fix the addition of a new variable in the hi po file
+  (bkearney at redhat.com)
+- 828903: Fix translation of options in the bn po file. (bkearney at redhat.com)
+- Fix part of the mis translated options (bkearney at redhat.com)
+- 828965: Fix a translated option which should not have been translated
+  (bkearney at redhat.com)
+- 828954: fix the --pool option in the translated string (bkearney at redhat.com)
+- 828958: --available should not be translated (bkearney at redhat.com)
+- Add --password as an option, not a string. This cause several strings to be
+  retranslated (bkearney at redhat.com)
+- 828969: Fix the options in the translated string (bkearney at redhat.com)
+- 828985: Fix the url in the translated string (bkearney at redhat.com)
+- 828989: Fix the access url (bkearney at redhat.com)
+- 818205: Release --set command should only accept values from --list.
+  (awood at redhat.com)
+- registergui: extract out a screen superclass (jbowes at repl.ca)
+- registergui: get button label from screen class (jbowes at repl.ca)
+- registergui: keep screens in a list (jbowes at repl.ca)
+- registergui: pull out environment screen into its own class (jbowes at repl.ca)
+- registergui: sensitivity refactor and method move (jbowes at repl.ca)
+- registergui: extract out credentials_entered method (jbowes at repl.ca)
+- registergui: move organization screen to its own class (jbowes at repl.ca)
+- registergui: move credentials screen to its own class (jbowes at repl.ca)
+- registergui: move choose server screen to its own class (jbowes at repl.ca)
+- registergui: switch from GladeWrapper to GladeWidget (jbowes at repl.ca)
+- registergui: Remove some unused globals (jbowes at repl.ca)
+
 * Thu Jun 07 2012 Alex Wood <awood at redhat.com> 1.0.3-1
 - 817938: Add sorting to the contract selection table. (awood at redhat.com)
 - 822706: gtk widget visibility toggle compat for el5 (jbowes at repl.ca)


More information about the scm-commits mailing list