Hello community,

here is the log from the commit of package spotify-easyrpm for openSUSE:Factory 
checked in at 2020-11-29 12:27:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spotify-easyrpm (Old)
 and      /work/SRC/openSUSE:Factory/.spotify-easyrpm.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spotify-easyrpm"

Sun Nov 29 12:27:57 2020 rev:4 rq:851166 version:2.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/spotify-easyrpm/spotify-easyrpm.changes  
2020-04-04 12:26:12.127975715 +0200
+++ 
/work/SRC/openSUSE:Factory/.spotify-easyrpm.new.5913/spotify-easyrpm.changes    
    2020-11-29 12:27:57.609973772 +0100
@@ -1,0 +2,5 @@
+Thu Nov 26 16:24:45 UTC 2020 - da...@macemail.co.uk
+
+- Support custom %_topdir macro
+
+-------------------------------------------------------------------

Old:
----
  spotify-easyrpm-2.1.1.tar.gz

New:
----
  spotify-easyrpm-2.1.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ spotify-easyrpm.spec ++++++
--- /var/tmp/diff_new_pack.zvQJ1J/_old  2020-11-29 12:27:58.097974266 +0100
+++ /var/tmp/diff_new_pack.zvQJ1J/_new  2020-11-29 12:27:58.101974269 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           spotify-easyrpm
-Version:        2.1.1
+Version:        2.1.2
 Release:        0
 Summary:        Tool to download, convert and install the Spotify for Linux 
package
 License:        GPL-3.0-only

++++++ spotify-easyrpm-2.1.1.tar.gz -> spotify-easyrpm-2.1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spotify-easyrpm-2.1.1/README.md 
new/spotify-easyrpm-2.1.2/README.md
--- old/spotify-easyrpm-2.1.1/README.md 2020-04-02 23:58:32.000000000 +0200
+++ new/spotify-easyrpm-2.1.2/README.md 2020-11-26 17:15:20.000000000 +0100
@@ -7,7 +7,7 @@
 the Spotify RPMs in a local filesystem repo for installing Spotify updates 
alongside regular system updates
 
 
- Features
+ ### Features
 
  * Set up a build enviornment on your PC and install rpm-build
  * Auto download the latest version of Spotify
@@ -18,45 +18,54 @@
  * Fully unattended quiet mode
 
 
- News
+ ### News
 
   * 13/09/19 - We got accepted into openSUSE:Factory! We are now in the 
official Tumbleweed oss repo
   * 08/05/19 - We got accepted into multimedia:apps repo on the Open Build 
Service! I'm using their
     one click install links below where possible
 
  
- Howto
-
-  spotify-easyrpm
+ ### Howto
 
+```bash
+$> spotify-easyrpm
+```
   - Regular prompt based mode to create an RPM and optionally install and 
create an update schedule
 
-  spotify-easyrpm --quiet
+```bash
+$> spotify-easyrpm --quiet
+```
 
   - Create the RPM
   - Install the Spotify RPM
   - Set up a update timer job
   - Set up a local filesystem repo
 
-  spotify-easyrpm --create-schedule
+```bash
+$> spotify-easyrpm --create-schedule
+```
 
   - If you previously opted out creating an automated update schedule but now 
desire it
 
-  spotify-easyrpm --remove-schedule
+```bash
+$> spotify-easyrpm --remove-schedule
+```
 
   - Removes the schedule and local repo if present
 
-  spotify-easyrpm --clean-repo
+```bash
+$> spotify-easyrpm --clean-repo
+```
 
   - Cleans up the local filesystem repo
 
 
- Requirements
+ ### Requirements
 
  * openSUSE Leap / SLE (x86_64), or Tumbleweed (x86_64 or i586)
 
 
- Auto Updates
+ ### Auto Updates
 
     spotify-easyrpm can create a systemd user timer job which will run daily 
and 5 minutes after user login. 
     This will call the script to do a light check against the Spotify debian 
repo for a new release.
@@ -77,15 +86,9 @@
     journalctl --user-unit spotify-easyrpm
 
 
- Download links (One Click Install)
+ ### Download links (One Click Install)
 
- * SLE 15 
- 
https://software.opensuse.org/ymp/home:megamaced:spotify-easyrpm/SLE_15/spotify-easyrpm.ymp?base=SUSE%3ASLE-15%3AGA&query=spotify-easyrpm
- * openSUSE 42.3 
- 
https://software.opensuse.org/ymp/multimedia:apps/openSUSE_Leap_42.3/spotify-easyrpm.ymp?base=openSUSE%3ALeap%3A42.3&query=spotify-easyrpm
- * openSUSE 15.0 
- 
https://software.opensuse.org/ymp/multimedia:apps/openSUSE_Leap_15.0/spotify-easyrpm.ymp?base=openSUSE%3ALeap%3A15.0&query=spotify-easyrpm
- * openSUSE 15.1 
- 
https://software.opensuse.org/ymp/multimedia:apps/openSUSE_Leap_15.1/spotify-easyrpm.ymp?base=openSUSE%3ALeap%3A15.1&query=spotify-easyrpm
- * openSUSE Tumbleweed 
- We are included in Tumbleweed. Just a `zypper in spotify-easyrpm` away
+ * [SLE 
15](https://software.opensuse.org/ymp/home:megamaced:spotify-easyrpm/SLE_15/spotify-easyrpm.ymp?base=SUSE%3ASLE-15%3AGA&query=spotify-easyrpm)
+ * [openSUSE 
15.1](https://software.opensuse.org/ymp/multimedia:apps/openSUSE_Leap_15.1/spotify-easyrpm.ymp?base=openSUSE%3ALeap%3A15.1&query=spotify-easyrpm)
+ * [openSUSE 
15.2](https://software.opensuse.org/ymp/multimedia:apps/openSUSE_Leap_15.2/spotify-easyrpm.ymp?base=openSUSE%3ALeap%3A15.2&query=spotify-easyrpm)
+ * openSUSE Tumbleweed: We are included in Tumbleweed. Just a `zypper install 
spotify-easyrpm` to install
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spotify-easyrpm-2.1.1/spotify-easyrpm 
new/spotify-easyrpm-2.1.2/spotify-easyrpm
--- old/spotify-easyrpm-2.1.1/spotify-easyrpm   2020-04-02 23:58:32.000000000 
+0200
+++ new/spotify-easyrpm-2.1.2/spotify-easyrpm   2020-11-26 17:15:20.000000000 
+0100
@@ -18,10 +18,11 @@
 V_PKGNAME="spotify-client"
 V_HTTP_REPO="http://repository.spotify.com/pool/non-free/s/${V_PKGNAME}/";
 
-V_SOURCES_DIR="${HOME}/rpmbuild/SOURCES"
-V_SPECS_DIR="${HOME}/rpmbuild/SPECS"
-V_RPMS_DIR="${HOME}/rpmbuild/RPMS"
-V_BUILDROOT_DIR="${HOME}/rpmbuild/BUILDROOT"
+V_TOPDIR=$(rpm --eval '%{_topdir}')
+V_SOURCES_DIR="${V_TOPDIR}/SOURCES"
+V_SPECS_DIR="${V_TOPDIR}/SPECS"
+V_RPMS_DIR="${V_TOPDIR}/RPMS"
+V_BUILDROOT_DIR="${V_TOPDIR}/BUILDROOT"
 
 SYSTEMD_UNIT_DIR="${HOME}/.local/share/systemd/user"
 SYSTEMD_UNIT="${SYSTEMD_UNIT_DIR}/${V_PRG_NAME}.service"
@@ -40,7 +41,7 @@
 EOF
 sleep 2
 cat <<EOF
-VERSION: 2.1.1
+VERSION: 2.1.2
 SUPPORT: https://github.com/megamaced/spotify-easyrpm/issues
 The latest openSUSE Leap, Tumbleweed or SLE are supported only
 
@@ -88,6 +89,7 @@
 
 f_error() {
 echo "$1" 1>&2
+echo "Please submit bug report to 
https://github.com/megamaced/spotify-easyrpm/issues";
 f_cleanup
 exit 1
 }
@@ -151,11 +153,11 @@
 
 
 f_create_rpmbuild_dirs() {
-echo "Creating build dirs in ${HOME}/rpmbuild"
-if ! mkdir -p 
"${HOME}"/rpmbuild/{BUILD,BUILDROOT,OTHER,RPMS,SOURCES,SPECS,SRPMS}; then
+echo "Creating build dirs in ${V_TOPDIR}"
+if ! mkdir -p "${V_TOPDIR}"/{BUILD,BUILDROOT,OTHER,RPMS,SOURCES,SPECS,SRPMS}; 
then
 f_error "Failed to create rpmbuild root. Aborting"
 fi
-V_RPMBUILD_OWNER_CHECK="$(find "${HOME}"/rpmbuild -not -user "$(id -u)")"
+V_RPMBUILD_OWNER_CHECK="$(find "${V_TOPDIR}" -not -user "$(id -u)")"
 if [[ ! -z "${V_RPMBUILD_OWNER_CHECK}" ]]; then
   echo "Detected some directories / files not owned by you. Fixing 
${V_RPMBUILD_OWNER_CHECK}"
   for i in ${V_RPMBUILD_OWNER_CHECK}; do
@@ -166,7 +168,7 @@
  echo "Creating ${HOME}/.rpmmacros"
  cat << EOF >> "${HOME}"/.rpmmacros
 # Generated by ${V_PRG_NAME}
-%_topdir ${HOME}/rpmbuild
+%_topdir ${V_TOPDIR}
 EOF
 fi
 }
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to