diff --git a/README.md b/README.md index 68cae33..28ce8d7 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,11 @@ -Packaging for Fedora 40 +Packaging for Fedora 40/41 ```shell cd ~/rpmbuild +sudo dnf install rpmdevtools sudo dnf builddep ./SPECS/.spec spectool -gR ./SPECS/.spec rpmbuild -ba ./SPECS/.spec diff --git a/SOURCES/.kyact b/SOURCES/.kyact deleted file mode 100644 index 5af4b92..0000000 --- a/SOURCES/.kyact +++ /dev/null @@ -1,5 +0,0 @@ -systemuuid=25ef0280-ec82-42b0-8fb6-10adccc67c02 -netmac=00:07:3e:9c:2e:43 -registernum=WCYU-3AS2-Q7LP-HWH6-SJPZ -serialnum=27734012 -harddisk=WDC-PC-SN530-SDBPNPZ-512G_204485805972 diff --git a/SOURCES/LICENSE b/SOURCES/LICENSE deleted file mode 100644 index b795523..0000000 --- a/SOURCES/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -TO:麒麟软件内部版本 -SERIAL:100000 -TERM:2021-08-29 -CLASS:desktop -VERSION:Desktop -PLATFORM:x86_64 -OSNAME:Kylin V10 SP1 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) - -iJwEAQECAAYFAmEDwk8ACgkQLRr+uL6cqPu6xAP/QRty0END7q0VxbbwgoKYefHk -VJF9F7SFSU5FGVUyR0pLmKzAMAmi+9xhbGw5tGp2XLIBOJHayK6TGhdpgvP+wT6s -0QLrh3c7HZhM0maoo6ZNR07bYzXXPcrMt6qTgaSRQnV+zfARn9+e2Ub5xfBfphtk -KHL1Nd4NRj0aICyjlys= -=6SEp ------END PGP SIGNATURE----- diff --git a/SOURCES/libactivation.so b/SOURCES/libactivation.so deleted file mode 100644 index 258e70d..0000000 Binary files a/SOURCES/libactivation.so and /dev/null differ diff --git a/SOURCES/lsb-release b/SOURCES/lsb-release deleted file mode 100644 index 25aaa17..0000000 --- a/SOURCES/lsb-release +++ /dev/null @@ -1,7 +0,0 @@ -DISTRIB_ID=Kylin -DISTRIB_RELEASE=V10 -DISTRIB_CODENAME=kylin -DISTRIB_DESCRIPTION="Kylin V10 SP1" -DISTRIB_KYLIN_RELEASE=V10 -DISTRIB_VERSION_TYPE=enterprise -DISTRIB_VERSION_MODE=normal diff --git a/SPECS/wechat.spec b/SPECS/wechat.spec index 75a9e11..3a51617 100644 --- a/SPECS/wechat.spec +++ b/SPECS/wechat.spec @@ -4,19 +4,15 @@ %undefine __arch_install_post Name: wechat -Version: 1.0.0.241 +Version: 4.0.0.21 Release: 1%{?dist} Summary: WeChat License: Proprietary URL: https://weixin.qq.com -Source0: https://archive2.kylinos.cn/deb/kylin/production/PART-V10-SP1/custom/partner/V10-SP1/pool/all/wechat-beta_%{version}_amd64.deb +Source0: https://archive2.kylinos.cn/DEB/KYLIN_DEB/pool/main/deb/wechat/wechat-beta_%{version}_amd64.deb Source1: wechat.desktop Source2: wechat.svg Source3: wechat -Source4: libactivation.so -Source5: .kyact -Source6: LICENSE -Source7: lsb-release AutoReqProv: no BuildRequires: dpkg @@ -39,21 +35,16 @@ install -Dm644 %{S:1} -t %{buildroot}%{_datarootdir}/applications/ # Icon From: https://github.com/vinceliuice/WhiteSur-icon-theme install -Dm644 %{S:2} -t %{buildroot}%{_datarootdir}/icons/hicolor/scalable/apps/ install -Dm755 %{S:3} -t %{buildroot}%{_bindir} -install -d %{buildroot}/usr/lib/ -install -Dm755 %{S:4} -t %{buildroot}/usr/lib/ -install -d %{buildroot}%{_sysconfdir} -cp %{S:5} %{S:6} %{S:7} %{buildroot}%{_sysconfdir} %files %{_datarootdir}/applications/wechat.desktop %{_datarootdir}/icons/hicolor/scalable/apps/wechat.svg %{_bindir}/wechat -%{_sysconfdir}/.kyact -%{_sysconfdir}/LICENSE -%{_sysconfdir}/lsb-release -/usr/lib/libactivation.so /opt/wechat/ %changelog +* Mon Nov 4 2024 nobody - 4.0.0.21 + - new version + * Thu May 23 2024 nobody - 1.0.0.241 - new version